summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp
AgeCommit message (Collapse)Author
2016-03-19ppp: fix bug introduced by "call ap_session_finished before actual interface ↵Dmitry Kozlov
destroing"
2016-03-18ppp: call ap_session_finished before actual interface destroingDmitry Kozlov
2016-03-04ppp_auth: fixed possible use after freeDmitry Kozlov
2015-12-25ppp_auth: fixed broken noauth modeDmitry Kozlov
2015-12-04preparation for DPDK intergation (part 5)Dmitry Kozlov
2015-12-04preparation for DPDK intergation (part 3)Dmitry Kozlov
2015-12-04preparation for DPDK intergation (part 2)Dmitry Kozlov
2015-11-23ppp: do not send double ConfAck when LCP is startedDmitry Kozlov
2015-11-18ipoe: do not send immediate Accounting Stop in soft terminate modeDmitry Kozlov
2015-03-05ppp: fix mtu/mru set if not negotiated on any end plus cleanupVladislav Grishenko
2015-02-27ppp: set interface's ifndex after unit creatingDmitry Kozlov
2015-02-22Small IPv6 fixes for PPPCesar Fazan
2015-02-20ppp: set unit_idx from NAS_Port attribute if presentFrançois Cachereul
Signed-off-by: François Cachereul <f.cachereul@alphalink.fr>
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>
2015-02-20ppp: set mtu and mru after unit creationFrançois Cachereul
In the following patch PPP unit will be created after MRU negotation. 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-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