summaryrefslogtreecommitdiff
path: root/accel-pppd/radius/acct.c
AgeCommit message (Collapse)Author
2023-01-27radius: implemented accounting delay option (acct-delay-start)Dmitry Kozlov
2022-11-01Remove unused variable.Stephan Brunner
2022-11-01Use 64-bit interface statistics rather than doing custom 32-bit overflow ↵Stephan Brunner
handling. When a link has a relatively high throughput, the 32-bit packet and byte counters could overflow multiple times between accounting runs. To accommodate this limitation, directly use 64-bit interface statistics. This also gets rid of the internal giga-word counters.
2020-01-20radius: implement jitter of accounting update intervalVladislav Grishenko
2019-08-26[Fix] - Increment Accounting-Request id for Acct-Status-Type Stoproot
2019-05-10Fix bug after radius server recoveryroot
2017-10-09radius: split request queue to 2 subqueuesDmitry Kozlov
1 - is high priority queue for Access-Request and Account-Request(Start) 2 - is low priority queue for Account-Request(Alive) and Account-Request(Stop) This patch intended to prioritize sessions connecting requests over disconnects and interim updates.
2016-04-30radius: add Delegated-IPv6-Prefix to accounting packetsDmitry Kozlov
2014-11-22remove trailing whitespacesDmitry Kozlov
2014-11-10radius: disable read handler when put req into wait queue (fixes race ↵Dmitry Kozlov
conditions)
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-22radius: check for previous request was finished in interim update timerDmitry Kozlov
2014-10-04radius: various bug fixesDmitry Kozlov
2014-10-03get rid of time(), use clock_gettime(CLOCK_MONOTONIC) insteadDmitry 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-08-25radius: delete timeout timer if request sending fails (fixes double server ↵Dmitry Kozlov
release)
2014-08-04radius: terminate session if read interfaces statistics failsDmitry Kozlov
2014-08-01radius: close socket after receiving accounting responseDmitry Kozlov
2014-07-24radius: exit from active interim request when termination event occuresDmitry Kozlov
2014-07-17radius: check for reply id is equal request id in interim requestsDmitry Kozlov
2014-07-11radius: fixed handling socket errors during interim updatesDmitry Kozlov
2014-05-12radius: close socket after receiving accounting replyDmitry Kozlov
2014-05-12triton: improved epoll events handlingDmitry Kozlov
2013-10-14radius: properly handle send failuresDmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-08-15radius: implemented sending Account-Request with ↵Dmitry Kozlov
Acct-Status-Type=Accounting-On on startup and Acct-Status-Type=Accounting-Off on shutdown
2013-01-25Do not segfault on RADIUS failures during interimAleksey Zhukov
2012-09-05generalize interface statistics gatheringKozlov Dmitry
2012-07-19radius: implemented Idle-TimeoutKozlov Dmitry
2012-07-11radius: fetch interface statistics via netlinkKozlov Dmitry
2012-07-10initial session backup implementationKozlov Dmitry
2012-06-19general preparation for IPoE integrationKozlov Dmitry
2011-12-27radius: implemented simultaneous requests limitingKozlov Dmitry
2011-09-20radius: restore timeout timer value on each Interim-UpdateKozlov Dmitry
2011-09-05radius: use clock_gettime(CLOCK_MONOTONIC) instead of gettimeofdayKozlov Dmitry
2011-09-05radius: per-server statisticsKozlov Dmitry
2011-09-03implemented crypto library selection: -DCRYPTO=OPENSSL|TOMCRYPT|INTERNAL ↵Kozlov Dmitry
(default OPENSSL)
2011-08-30radius: fix incorrect 'out of memory' messageKozlov Dmitry
2011-08-24radius: load balancing improvementKozlov Dmitry
2011-08-24radius: better radius server fails handlingKozlov Dmitry
2011-08-16multiple radius support (testing)Kozlov Dmitry
2011-08-16multi-radius supportKozlov Dmitry
2011-06-22tempKozlov Dmitry
2011-05-31radius: Acct-Delay-Time attribute becomes optional and disabled by defaultKozlov Dmitry
2011-05-25radius: fix incorrect reading acct-timeout optionKozlov Dmitry
2011-03-01radius: fixed operation without accounting serverDmitry Kozlov
2011-01-27radius: extended statistics calculationDmitry Kozlov
2011-01-26ppp, radius: Acct-Terminate-Cause=Lost-Carrier when ppp terminates by lcp ↵Dmitry Kozlov
reply absence
2011-01-10radius: don't send interim-update if time to session timeout is less than 10 s.Dmitry Kozlov
2011-01-05rename accel-pptp to accel-pppDmitry Kozlov