summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2014-09-13ipv6: randomize router adverts as per rfc4861 and add tunable ↵Vladislav Grishenko
MaxInitialRtrAdvCount, MaxInitialRtrAdvInterval parameters
2014-09-13ipv6: announce non-/64 prefixes as not usable for stateless address ↵Vladislav Grishenko
configuration
2014-09-13pptp: use predefined named framing/bearer values, cosmeticsVladislav Grishenko
2014-09-13pptp: don't delay control connection msg on EINTRVladislav Grishenko
2014-09-13pppoe, pptp: fix socket type for checkingVladislav Grishenko
2014-09-13ppp: update channel MRU as pppd doesVladislav Grishenko
2014-09-13ppp: improve LCP magic number negotiationVladislav Grishenko
2014-09-13shaper: implemented fq_codel leaf qdiscDmitry Kozlov
Parameters are same as for tc: [shaper] leaf-qdisc=fq_codel [ limit PACKETS ] [flows NUMBER ] [ target TIME ] [ interval TIME ] [ quantum BYTES ] [ [no]ecn ]
2014-09-09Merge branch 'master' of ssh://git.code.sf.net/p/accel-ppp/codeDmitry Kozlov
2014-09-09pppoe: improved AC-Cookie mechanismDmitry Kozlov
2014-09-09updated procedure to check double sessionsDmitry Kozlov
drop existing sessions immediately and continue rather than wait full session termination
2014-09-09ppp: fsm: do not reinitialize restart counter after Configure-Ack (fixes ↵Dmitry Kozlov
some infinite configure loops)