summaryrefslogtreecommitdiff
path: root/accel-pppd/session.c
AgeCommit message (Collapse)Author
2016-07-11implemented support for network namespaceDmitry Kozlov
This is done using radius attribute NAS-Port-Id. The new format of this attribute is NAS-Port-Id=[ns/][name]. Namespaces must be created malually by "ip netns add ..." command
2016-04-02for single-session=deny make early check for duplicate username (before ↵Dmitry Kozlov
calling radius)
2016-03-18make termination caused by SIGTERM softDmitry Kozlov
2016-03-04ppp_auth: fixed possible use after freeDmitry Kozlov
2015-12-04preparation for DPDK intergation (part 2)Dmitry Kozlov
2015-11-20consider only rx interface counter for idle timeout calculationDmitry Kozlov
2015-11-18ipoe: do not send immediate Accounting Stop in soft terminate modeDmitry Kozlov
2015-02-21session: implemented idle and timeout timersDmitry Kozlov
2015-02-20ppp: set unit_idx from NAS_Port attribute if presentFrançois Cachereul
Signed-off-by: François Cachereul <f.cachereul@alphalink.fr>
2014-11-22remove trailing whitespacesDmitry Kozlov
2014-11-06release IP addresses before fire EV_SESSION_FINISHED (fixes segfault when ↵Dmitry Kozlov
using IPoE)
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