summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp
AgeCommit message (Collapse)Author
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-29ppp: replace ppp_chan_send by ppp_unit_send in ppp_ccp.cFrançois Cachereul
ppp compression is for now only handle on the bundle, thus should not use ppp_chan_send Signed-off-by: François Cachereul <f.cachereul@alphalink.fr> Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2014-10-29ppp: improve establish_ppp() exit on errorFrançois Cachereul
Signed-off-by: François Cachereul <f.cachereul@alphalink.fr> Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2014-10-29ppp: fix indent and remove unnecessary tabs and braces in ppp.cFrançois Cachereul
Signed-off-by: François Cachereul <f.cachereul@alphalink.fr> Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2014-10-29ppp: cleanning of ppp.hFrançois Cachereul
removes no longer used structures and prototypes. Signed-off-by: François Cachereul <f.cachereul@alphalink.fr> Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: Dmitry Kozlov <xeb@mail.ru>
2014-10-23ppp: rename interface back when put it into unit cacheDmitry 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-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-09-13ppp: implement address/control and protocol field compressionVladislav Grishenko
2014-09-13ppp: update channel MRU as pppd doesVladislav Grishenko
2014-09-13ppp: improve LCP magic number negotiationVladislav Grishenko
2014-09-09ppp: fsm: do not reinitialize restart counter after Configure-Ack (fixes ↵Dmitry Kozlov
some infinite configure loops)
2014-08-26ppp: make LCP magic number negotiation not mandatoryDmitry 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.
2014-05-12triton: improved epoll events handlingDmitry Kozlov
2014-03-19ppp: fixed magic endiannessDmitry Kozlov
2013-07-24ppp: Use link local IPv6 prefix by default during IPv6CPGuillaume Nault
When no ipdb backend can assign IPv6 addresses during IPv6CP negociation, generate an ipv6db item with an empty address list. This allows IPv6CP negociation to continue and assign a link-local IPv6 address, without the need for an IPv6 pool or special Radius configuration. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2013-07-24ipoe: add missing EV_SES_AUTHORIZED event firingDmitry Kozlov
2013-06-07ppp: handle LCP DiscardReqKozlov Dmitry
2013-01-25Proper logging of LCP Magic-NumbersAleksey Zhukov
2013-01-25Fix boolean options parsing in configuration fileGuillaume Nault
Explicitely interpret zero values when parsing boolean options. This allows to unset boolean parameters such as "verbose" when reloading the configuration. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
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-24backport 1.7Kozlov Dmitry
* l2tp: Fix allocation checking when adding octets AVP * cli, tcp: Fix non-NULL terminated string reception * Fix va_end() missing calls * chap-secrets: implemented encryption * auth_pap: make messages like other auth modules * cli: check xmit_buf is not null at enter to write function * pppoe: implemented regular expression support * chap-secrets: implemented encryption * ippool: fixed initialization order * optional shaper compiling * ppp: dns/wins code cleanup
2013-01-24generalize single-session checkingKozlov Dmitry
2013-01-24add missing filesKozlov Dmitry
2013-01-24merge upstreamKozlov Dmitry
2013-01-24move 'comp' field from struct ppp_t to struct ap_sessionroot
Conflicts: accel-pppd/ctrl/openvpn/openvpn.c
2012-09-05generalize interface statistics gatheringKozlov Dmitry
2012-09-05Fix format string errorsGuillaume Nault
Fix several errors and compiler warnings in format string arguments. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-08-29fix various typosKozlov Dmitry
2012-08-29fix typo (successed -> succeeded)Kozlov Dmitry
Conflicts: accel-pppd/ppp/ppp_auth.c
2012-08-29add 'ppp' filed to CTRL to identify ppp sessionsKozlov Dmitry
2012-08-03ppp: don't drop connection when mppe=prefer and user rejects ccpKozlov Dmitry
Conflicts: accel-pppd/ppp/ppp_ccp.c
2012-08-03fixed complilation for 3.4 kernelKozlov Dmitry
2012-07-11Merge commit 1c11bdd4467dcd7a2266994eda344b546f962aaaKozlov Dmitry
2012-07-11Merge commit '8e46d2416a2e7ab563f6b3b1ff761799ccbcf0f4'Kozlov Dmitry
2012-07-06ppp: drop compressor settings on session initiationKozlov Dmitry
2012-06-21ppp: fixed unexpected lcp timer startKozlov Dmitry
2012-06-19general preparation for IPoE integrationKozlov Dmitry
2012-06-19ppp: drop compressor settings on session terminationKozlov 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-06-04Revert "implemented delayed fd close (speeds up session termination process)"Kozlov Dmitry
Low interface creation/deletion rate is kernel issue and should be fixed in 3.5. This reverts commit 9ae4a0151805229face3385e6c966de90c7fec29.
2012-05-31ppp: if signle-session=replace down first session's interface before second ↵Kozlov Dmitry
comes up (should fix unexpected ospf routes deletion)