summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-22remove trailing whitespacesDmitry Kozlov
2014-11-22shaper: fixed installing fw filterDmitry Kozlov
2014-11-17shaper: simplified parsing Cisco-AVPairDmitry Kozlov
2014-11-17shaper: introduce "fwmark" optionDmitry Kozlov
If specified then fwmark filters will be installed to bypass shaper
2014-11-17triton: lock pending calls list in triton_cancel_call()Guillaume Nault
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>
2014-11-17accel-cmd: improve help messageGuillaume Nault
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>
2014-11-11radius: add missing log_switchDmitry Kozlov
2014-11-10radius: disable read handler when put req into wait queue (fixes race ↵Dmitry Kozlov
conditions)
2014-11-10radius: fixed bugDmitry Kozlov
2014-11-10shaper: fixed passing quantum parameter to kernelDmitry Kozlov
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.
2014-11-06release IP addresses before fire EV_SESSION_FINISHED (fixes segfault when ↵Dmitry Kozlov
using IPoE)
2014-11-05shaper: set filter priority 100 for ifbDmitry Kozlov
2014-11-05pppd_compat: pass IPV6_PREFIX and IPV6_DELEGATED_PREFIX to ip-up/ip-down scriptsDmitry Kozlov
2014-11-05radius: early ipv6_dp assignmentDmitry Kozlov
2014-11-05ipv6: move ipv6_dp from dhcpv6 private data to ap_sessionDmitry Kozlov
2014-10-29Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/codeDmitry Kozlov
2014-10-29ipoe: implemneted ability to send L4 redirect table/L4 redirect ipset via ↵Dmitry Kozlov
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
2014-10-29radius: fix call to memset on rdp->auth_ctxFrançois Cachereul
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>
2014-10-29ppp: replace ppp_chan_send by ppp_unit_send in ppp_ccp.cFrançois Cachereul
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>
2014-10-29ppp: improve establish_ppp() exit on errorFrançois Cachereul
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>
2014-10-29ppp: fix indent and remove unnecessary tabs and braces in ppp.cFrançois Cachereul
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>
2014-10-29ppp: cleanning of ppp.hFrançois Cachereul
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>
2014-10-28Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/codeDmitry Kozlov
2014-10-28ipoe: implemented "L4 redirect on reject" for DHCP sessionsDmitry Kozlov
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.
2014-10-28ipoe: implemented "L4 redirect on reject" for DHCP sessionsDmitry Kozlov
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.
2014-10-28radius: fixed server reallocation for timed out requestsDmitry Kozlov
2014-10-28libnetlink: fixed bug introduced by previous commitDmitry Kozlov
2014-10-27ipoe: implemented handling relayed DHCP clientsDmitry Kozlov
2014-10-23radius: fixed stuck during shutdown when radius server does not respondDmitry Kozlov
2014-10-23radius: introduced max-fail optionDmitry Kozlov
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)
2014-10-23radius: fixed backup radius selectionDmitry Kozlov
2014-10-23radius: fixed server reallocation for queued requests if current server does ↵Dmitry Kozlov
not respond
2014-10-23ppp: rename interface back when put it into unit cacheDmitry Kozlov
2014-10-22radius: check for previous request was finished in interim update timerDmitry Kozlov
2014-10-22ppp: implemented delayed unit close via unit cacheDmitry Kozlov
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.
2014-10-22cli: introduced verbose optionDmitry Kozlov
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
2014-10-20ipoe: handle dhcp requests in session context if existsDmitry Kozlov
2014-10-20Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/codeDmitry Kozlov
2014-10-20pppoe: stop server if interface down detectedDmitry Kozlov
2014-10-17ipoe: initialize before_switch function for server contextsDmitry Kozlov
2014-10-10ipoe: driver: fixed forwarning pakets after kernel natDmitry Kozlov
2014-10-09ipoe: driver: add rtnl locking to vlan monitor initializationDmitry Kozlov
2014-10-08ipoe: fixed handling of mac address changeDmitry Kozlov
2014-10-06radius: fixed Accounting-On/Accounting-Off functionalityDmitry Kozlov
2014-10-04radius: various bug fixesDmitry Kozlov
2014-10-04add include <sys/time.h> to triton.h (fixes complilation issue)Dmitry Kozlov
2014-10-03get rid of time(), use clock_gettime(CLOCK_MONOTONIC) insteadDmitry Kozlov
2014-09-30shaper: fixed parsing leaf-qdiscDmitry Kozlov
2014-09-30radius: fixed handling deferred requestsDmitry Kozlov
2014-09-26radius: cancel starting accounting request if session terminated before ↵Dmitry Kozlov
server replied