Age | Commit message (Collapse) | Author |
|
* radius: major improvments
* radius: use NAS-Port-Id in Access-Accept for interface renaming
* radius: introduced "weight" and "backup" per-server options
* radius: introduced "attr-tunnel-type" option
* radius: introduced "max-fail" option
* ipoe: introduced "ip-unnumbered" option
* ipoe: improved vlan monitor
* ipoe: introduced "attr-dhcp-lease-time" option
* ipoe: send option 82 from DHCP request to radius
* ipoe: fixed passing packets in 'redirect on reject' mode
* ipoe: implemented handling relayed DHCP clients
* ipoe: implemented "L4 redirect on reject" for DHCP sessions
* ipoe: implemneted ability to send L4 redirect table/L4 redirect ipset via radius attributes
* pppoe: introduced "called-sid" option
* pppoe: improved AC-Cookie mechanism
* ippool: introduced "shuffle" option
* core: improved "single-session=replace" handling
* shaper: apply rate multiplier to integer values
* shaper: implemented fq_codel leaf qdisc
* shaper: fixed passing quantum parameter to kernel
* shaper: introduced "moderate-quantum" option
* shaper: introduced "fwmark" option
* ipv6: add support for prefixes greater than 64
* ppp: make LCP magic number negotiation not mandatory
* ppp: implement address/control and protocol field compression
* ppp: implemented delayed unit close via unit cache
* pppd_compat: pass IPV6_PREFIX and IPV6_DELEGATED_PREFIX to ip-up/ip-down scripts
* cli: introduced verbose option
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If specified then fwmark filters will be installed to bypass shaper
|
|
The pending_calls field of struct _triton_context_t can be concurrently
used by other contexts. So it must only be accessed or modified under
protection of the context's lock (like in triton_context_call() or
ctx_thread()).
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
New users typically use the -h or --help parameters to figure out how
to use accel-cmd. But this only displays accel-cmd options, so users
have no way to learn which accel-ppp commands are available.
This patch improves the help message to introduce the "help" command
which users can use to learn about other accel-ppp commands.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
|
|
|
|
conditions)
|
|
|
|
shaper: introduced moderate-quantum option
If fixed quantum is not specified and moderate-quantum is specified then shaper module
will check for quantum value to be in valid range (1000-200000).
This suppresses annoying kernel messages.
Remark: quantum is rate/r2q, rate is in bytes/sec.
|
|
using IPoE)
|
|
|
|
|
|
|
|
|
|
|
|
radius attributes
Introduced following options:
attr-l4-redirect-table (type integer)
attr-l4-redirect-ipset (type string)
Please note, to enable L4 redirect attr-l4-redirect must be specified and sent
|
|
The mistake was revealed by gcc 4.9.0
Signed-off-by: François Cachereul <f.cachereul@alphalink.fr>
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
|
|
ppp compression is for now only handle on the bundle, thus should not
use ppp_chan_send
Signed-off-by: François Cachereul <f.cachereul@alphalink.fr>
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
|
|
Signed-off-by: François Cachereul <f.cachereul@alphalink.fr>
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
|
|
Signed-off-by: François Cachereul <f.cachereul@alphalink.fr>
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
|
|
removes no longer used structures and prototypes.
Signed-off-by: François Cachereul <f.cachereul@alphalink.fr>
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
|
|
|
|
If authentication rejects session, but l4-redirect-on-reject is specified in config then
temporary session will be created and l4 redirect rule will be applied to IP of that session.
Session will be terminated after specified number of seconds.
Also if l4-redirect-ip-pool option is specified then IP will be allocated from that special pool.
|
|
If authentication rejects session, but l4-redirect-on-reject is specified in config then
temporary session will be created and l4 redirect rule will be applied to IP of that session.
Session will be terminated after specified number of seconds.
Also if l4-redirect-ip-pool option is specified then IP will be allocated from that special pool.
|
|
|
|
|
|
|
|
|
|
Before this patch any single fail (no responce for max_try requests) caused radius server to enter "fail" state,
which may be unwanted behaviour, because radius may not respond for interim Accounting-Request by some reasons.
This patch introduces "max-fail" option which specifies number of unreplied requests in a row after which server enters into "fail" state.
(Actual only for multi-server configurations)
|
|
|
|
not respond
|
|
|
|
|
|
Due to kernel slowly destroys interfaces closing unit file descriptor blocks working threads which causes overall stuck.
Thus (if unit-cache option is not zero) do not close unit file descriptor immediatly, but put it into unit cache.
Additional helper thread was introduced which closes descriptors from unit cache which overruns configured unit cache size.
|
|
If verbose=0 then cli won't produce any logging
if verbose=1 then log only connections
if verbose=2 then log also executed commands
|
|
|
|
|
|
|
|
|
|
|
|
|