summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2014-09-26fixed counting of starting sessionsDmitry Kozlov
2014-09-23radius: fixed counting of active requestsDmitry Kozlov
2014-09-22triton: make level triggered events oneshot (EPOLLONESHOT)Dmitry Kozlov
2014-09-22conf file: implemented ability to add suboptions into options in {} bracketsDmitry Kozlov
2014-09-22fixed compilation warningsDmitry Kozlov
2014-09-20rewrite of authentication/accounting proceduresDmitry Kozlov
This patch gets rid of synchronuos style of authentication/accounting. Synchronous style of authentication/accounting produced sleeping threads which becomes a problem when lots of sessions started/stopped and all they want authorization/accounting.
2014-09-20Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/codeDmitry Kozlov
2014-09-16shaper: conditionally compile fq_codel supportDmitry Kozlov
2014-09-13pppoe: start interfaces asynchronouslyDmitry Kozlov
When there are many interfaces to start accel-ppp stucks on startup because kernel slowly creates raw sockets. So starting this proccess asynchronous improves accel-ppp responsiveness
2014-09-13pppoe: improved session id allocation procedure (optimizes memory usage)Dmitry Kozlov
2014-09-13ppp: implement address/control and protocol field compressionVladislav Grishenko