summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp/ppp_auth.c
AgeCommit message (Collapse)Author
2016-03-04ppp_auth: fixed possible use after freeDmitry Kozlov
2015-12-25ppp_auth: fixed broken noauth modeDmitry Kozlov
2015-02-20ppp: create ppp units after authenticationFrançois Cachereul
This avaid allocating a ppp unit when authentication failed Split establish_ppp in two functions estabish_ppp and connect_ppp_channel. The fist one connect the channel on an instance of /dev/ppp, allocate channel resources and start first ppp layer. The second functions create ppp unit and connect the channel to this unit. It is called after authentication. destablish_ppp is also split in two function for symmetry and ppp_terminate is adapted to handle the case when the unit is not created. Signed-off-by: François Cachereul <f.cachereul@alphalink.fr>
2014-11-22remove trailing whitespacesDmitry Kozlov
2014-07-17improved 'single session' mechanismDmitry Kozlov
2014-05-18improved single-session=replace handlingDmitry Kozlov
Wait for previous session completely terminated before continuing authorization new session.
2013-07-24ipoe: add missing EV_SES_AUTHORIZED event firingDmitry Kozlov
2013-01-24generalize single-session checkingKozlov Dmitry
2012-08-29fix typo (successed -> succeeded)Kozlov Dmitry
Conflicts: accel-pppd/ppp/ppp_auth.c
2012-06-19general preparation for IPoE integrationKozlov Dmitry
2012-06-05ppp: implemented unit cacheKozlov Dmitry
If enabled accel-pppd will not destroy interface immediately after corresponding session is terminated, instead interface will be brought down and placed to cache for later use for new sessions. It should reduce kernel interface creation/deletion rate lack and increase responsibility of daemon
2012-05-31ppp: if signle-session=replace down first session's interface before second ↵Kozlov Dmitry
comes up (should fix unexpected ospf routes deletion)
2011-12-09ppp: don't accept lcp ConfReq and similar packets after lcp was startedKozlov Dmitry
2011-09-20auth: implemented noauth optionKozlov Dmitry
2011-09-08ppp: check if session is in terminating phase before marking auth layer startedKozlov Dmitry
2011-09-02ppp: drop route of previous session before bringing up new if ↵Kozlov Dmitry
single-session=replace (make ospf happy)
2011-08-24ppp: reworked layer startup procedureKozlov Dmitry
ppp: make IPCP and IPV6CP optional depends on configuration
2011-07-16ppp: cleanup delayed works on terminationDmitry Kozlov
2011-06-02ppp: if single-session=replace check for all session to matchKozlov Dmitry
2011-06-02ppp: make auth layer started after authentication acknowledge packet sentKozlov Dmitry
2011-05-30rewrited initialization procedure (fix gcc-4.6 builds)Kozlov Dmitry
2011-04-29ppp,log_file: create per-user log file even if client was not successfuly ↵Kozlov Dmitry
authorized
2011-04-29ppp: write authentication failed message to general log tooKozlov Dmitry
2011-04-20ppp: introduced new option 'single-session' to control single session per userKozlov Dmitry
2011-01-05rename accel-pptp to accel-pppDmitry Kozlov