提交 c553a7bb 编写于 作者: K Kozlov Dmitry

1.7.0 release

* implemented per CTRL mppe config
* implemented vendor/attr options to specify which radius attribute containes ip pool name
* implemented adaptive lcp echo functionality
* implemented leaf qdisc attachment (only sfq at present)
* implemented Challenge attribute handling (l2tp)
* implemented unit(interface) cache
* fixed ip-pre-up script result handling
* fixed time range start detection on startup/config reload
* fixed reading of req-limit option (radius)
* fixed unexpected radattr file removal
上级 fa315a7a
...@@ -21,7 +21,7 @@ Features ...@@ -21,7 +21,7 @@ Features
11. Extensible user/password database, implemented Radius, pppd compatible chap-secrets sources 11. Extensible user/password database, implemented Radius, pppd compatible chap-secrets sources
12. Extensible IP pool, implemented Radius, chap-secrets and static pools 12. Extensible IP pool, implemented Radius, chap-secrets and static pools
13. Supported pppd compatible ip-up/ip-down scripts 13. Supported pppd compatible ip-up/ip-down scripts
14. Builtin tbf shaper manager 14. Builtin tbf/htb shaper manager
15. Command line interface via telnet 15. Command line interface via telnet
16. SNMP support (master or subagent via AgentX) 16. SNMP support (master or subagent via AgentX)
...@@ -66,23 +66,23 @@ read man accel-ppp.conf ...@@ -66,23 +66,23 @@ read man accel-ppp.conf
Built-in shaper Built-in shaper
-------------- --------------
accel-ppp supports tbf based shaper manager. accel-ppp supports tbf and htb based shaper manager.
To enable it uncomment shaper_tbf in [modules] section. To enable it uncomment shaper in [modules] section.
It accepts radius attributes in various formats: rate, down-rate/up-rate and cisco-like. Values have to be in kilobits except cisco-like. It accepts radius attributes in various formats: rate, down-rate/up-rate and cisco-like. Values have to be in kilobits except cisco-like.
For example: For example:
Filter-Id=1000 (means 1000Kbit both up-stream and down-stream rate) Filter-Id=1000 (means 1000Kbit both up-stream and down-stream rate)
Filter-Id=2000/3000 (means 2000Kbit down-stream rate and 3000Kbit up-stream rate) Filter-Id=2000/3000 (means 2000Kbit down-stream rate and 3000Kbit up-stream rate)
To change radius attribute which containes rate information use 'attr' option, for example: To change radius attribute which containes rate information use 'attr' option, for example:
[tbf] [shaper]
attr=My-Custom-Rate-Attribute attr=My-Custom-Rate-Attribute
of course this attribute have to be in radius dictionary. of course this attribute have to be in radius dictionary.
To specify different attributes for down-stream and up-stream rates use 'attr-down' and 'attr-up' options, for example: To specify different attributes for down-stream and up-stream rates use 'attr-down' and 'attr-up' options, for example:
[tbf] [shaper]
attr-down=PPPD-Downstream-Speed attr-down=PPPD-Downstream-Speed
attr-up=PPPD-Upstream-Speed attr-up=PPPD-Upstream-Speed
If you want to use cisco-like format configure accel-ppp as following: If you want to use cisco-like format configure accel-ppp as following:
[tbf] [shaper]
vendor=Cisco vendor=Cisco
attr=Cisco-AVPair attr=Cisco-AVPair
and send two attributes: and send two attributes:
...@@ -95,15 +95,15 @@ Advanced shaper using ...@@ -95,15 +95,15 @@ Advanced shaper using
1. Burst configuration. 1. Burst configuration.
If you not using cisco-like format then burst calculates from rate and specified burst factors. If you not using cisco-like format then burst calculates from rate and specified burst factors.
To specify burst factors use 'down-burst-factor' and 'up-burst-factor' options, for example: To specify burst factors use 'down-burst-factor' and 'up-burst-factor' options, for example:
[tbf] [shaper]
down-burst-factor=1.0 down-burst-factor=1.0
up-burst-factor=10.0 up-burst-factor=10.0
which means that burst for tbf qdisc will be calculated as down-stream rate multiply to 1.0 and burst for policer will be calculated as up-stream rate multiply to 10.0. which means that burst for tbf/htb qdisc will be calculated as down-stream rate multiply to 1.0 and burst for policer/htb will be calculated as up-stream rate multiply to 10.0.
2. Time ranges. 2. Time ranges.
You can specify time ranges to authomatic rate reconfiguration. You can specify time ranges to authomatic rate reconfiguration.
To specify time ranges use following sample configuration: To specify time ranges use following sample configuration:
[tbf] [shaper]
time-range=1,1:00-3:00 time-range=1,1:00-3:00
time-range=2,3:00-5:00 time-range=2,3:00-5:00
time-range=3,5:00-7:00 time-range=3,5:00-7:00
...@@ -162,14 +162,9 @@ Warning !!! ...@@ -162,14 +162,9 @@ Warning !!!
of pptpd exists. of pptpd exists.
Thanks
------
Thanks to Kirill Yushkov for debug support and donations.
Contacts Contacts
-------- --------
http://accel-pptp.sourceforge.net/ http://accel-ppp.sourceforge.net/
mail: xeb@mail.ru mail: xeb@mail.ru
ICQ: 337258064 ICQ: 337258064
Jabber: xeb@xeb.homelinux.net Jabber: xeb@xeb.homelinux.net
...@@ -10,7 +10,7 @@ IF (EXISTS ${CMAKE_HOME_DIRECTORY}/.git AND NOT DEFINED IGNORE_GIT) ...@@ -10,7 +10,7 @@ IF (EXISTS ${CMAKE_HOME_DIRECTORY}/.git AND NOT DEFINED IGNORE_GIT)
) )
STRING(STRIP ${ACCEL_PPP_VERSION} ACCEL_PPP_VERSION) STRING(STRIP ${ACCEL_PPP_VERSION} ACCEL_PPP_VERSION)
ELSE (EXISTS ${CMAKE_HOME_DIRECTORY}/.git AND NOT DEFINED IGNORE_GIT) ELSE (EXISTS ${CMAKE_HOME_DIRECTORY}/.git AND NOT DEFINED IGNORE_GIT)
SET (ACCEL_PPP_VERSION 1.6.1) SET (ACCEL_PPP_VERSION 1.7.0)
ENDIF (EXISTS ${CMAKE_HOME_DIRECTORY}/.git AND NOT DEFINED IGNORE_GIT) ENDIF (EXISTS ${CMAKE_HOME_DIRECTORY}/.git AND NOT DEFINED IGNORE_GIT)
ADD_DEFINITIONS(-DACCEL_PPP_VERSION="${ACCEL_PPP_VERSION}") ADD_DEFINITIONS(-DACCEL_PPP_VERSION="${ACCEL_PPP_VERSION}")
......
INCLUDE(InstallRequiredSystemLibraries) INCLUDE(InstallRequiredSystemLibraries)
SET(CPACK_PACKAGE_VERSION_MAJOR "1") SET(CPACK_PACKAGE_VERSION_MAJOR "1")
SET(CPACK_PACKAGE_VERSION_MINOR "6") SET(CPACK_PACKAGE_VERSION_MINOR "7")
SET(CPACK_PACKAGE_VERSION_PATCH "1") SET(CPACK_PACKAGE_VERSION_PATCH "0")
SET(CPACK_PACKAGE_NAME "accel-ppp") SET(CPACK_PACKAGE_NAME "accel-ppp")
SET(CPACK_PACKAGE_CONTACT "Dmitry Kozlov <xeb@mail.ru>") SET(CPACK_PACKAGE_CONTACT "Dmitry Kozlov <xeb@mail.ru>")
...@@ -18,7 +18,7 @@ IF(CPACK_TYPE STREQUAL Debian5) ...@@ -18,7 +18,7 @@ IF(CPACK_TYPE STREQUAL Debian5)
ENDIF(CPACK_TYPE STREQUAL Debian5) ENDIF(CPACK_TYPE STREQUAL Debian5)
IF(CPACK_TYPE STREQUAL Debian6) IF(CPACK_TYPE STREQUAL Debian6)
SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.11.2), libssl0.9.8 (>= 0.9.8), libpcre3 (>= 8.02), libnl2 (>= 1.99)") SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.11.2), libssl0.9.8 (>= 0.9.8), libpcre3 (>= 8.02)")
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/debian/debian.cmake) INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/debian/debian.cmake)
ENDIF(CPACK_TYPE STREQUAL Debian6) ENDIF(CPACK_TYPE STREQUAL Debian6)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册