summaryrefslogtreecommitdiff
path: root/accel-pppd/session.c
AgeCommit message (Collapse)Author
2014-10-03get rid of time(), use clock_gettime(CLOCK_MONOTONIC) insteadDmitry Kozlov
2014-09-26fixed counting of starting sessionsDmitry 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-09updated procedure to check double sessionsDmitry Kozlov
drop existing sessions immediately and continue rather than wait full session termination
2014-07-17improved 'single session' mechanismDmitry Kozlov
2014-06-03get out of SPINLOCK_INITIALIZER as it is not cross-platform compatibleDmitry Kozlov
2014-05-182-way interface renamingDmitry Kozlov
First try to rename interface immediately and if it fails then do second try later just before bring interface up. In case single-session=replace first try to rename interface may fail because first session may be active
2014-05-18improved single-session=replace handlingDmitry Kozlov
Wait for previous session completely terminated before continuing authorization new session.
2013-12-12fixed missing spinlock initialized (fixes stuck)Dmitry Kozlov
Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2013-06-29session: Remove unused call to time()Guillaume Nault
't' is set using time() but never used afterwards. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2013-06-21remove unnecessary read interface statistics during session terminationDmitry Kozlov
2013-06-11ipoe: fixed mask calculation for gw-ip-addressDmitry Kozlov
ipoe: pass router=siaddr if router was not configured by other way
2013-06-04use /var/lib/accel-ppp instead /var/run/accel-pppKozlov Dmitry
2013-03-18ipoe: fixed username=ifname, shared=0 modeDmitry Kozlov
2013-03-16ipoe: fixed shared=1 modeKozlov Dmitry
2013-01-25session: read final interface statistics on terminationKozlov Dmitry
2013-01-25Revert "session: read final interface statistics on termination"Kozlov Dmitry
This reverts commit 3bff891eac97037c633be960b822c688e8629165.
2013-01-25session: read final interface statistics on terminationKozlov Dmitry
2013-01-25Revert "altered session finishing procedure"Kozlov Dmitry
This reverts commit 9f4f36169f03857b6910402028717210270a0339.
2013-01-24altered session finishing procedureKozlov Dmitry
2013-01-24session: fire EV_PRE_FINISHEDKozlov Dmitry
session: don't accept new sessions in shutdown mode
2013-01-24implemented different sessionid length and urandom sourceDmitry Kozlov
2013-01-24generalize single-session checkingKozlov Dmitry
2012-09-05generalize interface statistics gatheringKozlov Dmitry
2012-07-11futher session backup implementationKozlov Dmitry
cli: introduced 'restart' command to restrat daemon
2012-07-10initial session backup implementationKozlov Dmitry
2012-07-05ipoe: futher workKozlov Dmitry
2012-06-19general preparation for IPoE integrationKozlov Dmitry