Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-03-04 | ppp_chan_read: check unit_hnd avoiding proto rej | Gabriel Jeanneau | |
When receiving IPCP packet on channel handler, check unit handler to avoid sending a LCP Protocol Reject because ppp unit has not been created yet. This patch allows accel-ppp to handle higher pressure (handle 300 connections per second). Signed-off-by: Gabriel Jeanneau <gabriel.jeanneau@6wind.com> | |||
2020-03-18 | ppp: reset the ifindex when moving back to the default namespace | Simon Chopin | |
If you move an interface into a namespace where there is alreay an interface with the same index, the moved interface will get a new index assigned to it. We need to update our data structure accordingly. Signed-off-by: Simon Chopin <s.chopin@alphalink.fr> | |||
2018-01-31 | ppp: fix mtu/mru negotiation in preallocate/unit-cache modes | Vladislav Grishenko | |
2018-01-24 | ppp: fixed bug in ppp_terminate | Dmitry Kozlov | |
2016-07-14 | ppp: code simplification | Dmitry Kozlov | |
2016-07-14 | ppp: fix bug when using unit cache with interfaces in another netns | François Cachereul | |
Signed-off-by: François Cachereul <f.cachereul@alphalink.fr> | |||
2016-07-14 | Revert "ppp: futher improvement of distablish_ppp function" | François Cachereul | |
This reverts commit 07ca3acb40df7668cfd0c6abbdcefc21d944d993. Signed-off-by: François Cachereul <f.cachereul@alphalink.fr> | |||
2016-07-09 | ppp: ignore zero read on chan fd | Dmitry Kozlov | |
2016-07-04 | ppp: ignore zero read on unit fd | Dmitry Kozlov | |
2016-06-25 | ppp: introduced unit-preallocate option | Dmitry Kozlov | |
If set to 1 then allocate unit (interface) before authorization, so Nas-Port and Nas-Port-Id would be defined in Access-Request phase | |||
2016-04-17 | preparation for DPDK intergation (part 7) | Dmitry Kozlov | |
2016-04-13 | ppp: increase input buffer size | Dmitry Kozlov | |
2016-03-19 | ppp: futher improvement of distablish_ppp function | Dmitry Kozlov | |
2016-03-19 | ppp: fix bug introduced by d392ccd024f9243bf5df8e242a5b0cb6a85876ba | Dmitry Kozlov | |
2016-03-19 | ppp: fix bug introduced by "call ap_session_finished before actual interface ↵ | Dmitry Kozlov | |
destroing" | |||
2016-03-18 | ppp: call ap_session_finished before actual interface destroing | Dmitry Kozlov | |
2015-12-04 | preparation for DPDK intergation (part 5) | Dmitry Kozlov | |
2015-12-04 | preparation for DPDK intergation (part 2) | Dmitry Kozlov | |
2015-11-18 | ipoe: do not send immediate Accounting Stop in soft terminate mode | Dmitry Kozlov | |
2015-03-05 | ppp: fix mtu/mru set if not negotiated on any end plus cleanup | Vladislav Grishenko | |
2015-02-27 | ppp: set interface's ifndex after unit creating | Dmitry Kozlov | |
2015-02-20 | ppp: set unit_idx from NAS_Port attribute if present | François Cachereul | |
Signed-off-by: François Cachereul <f.cachereul@alphalink.fr> | |||
2015-02-20 | ppp: create ppp units after authentication | Franç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-20 | ppp: set mtu and mru after unit creation | Franç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-10-29 | ppp: improve establish_ppp() exit on error | Franç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-29 | ppp: fix indent and remove unnecessary tabs and braces in ppp.c | Franç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-23 | ppp: rename interface back when put it into unit cache | Dmitry Kozlov | |
2014-10-22 | ppp: implemented delayed unit close via unit cache | Dmitry 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-09-20 | rewrite of authentication/accounting procedures | Dmitry 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-05-12 | triton: improved epoll events handling | Dmitry Kozlov | |
2013-01-25 | Fix boolean options parsing in configuration file | Guillaume 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-25 | session: read final interface statistics on termination | Kozlov Dmitry | |
2013-01-25 | Revert "session: read final interface statistics on termination" | Kozlov Dmitry | |
This reverts commit 3bff891eac97037c633be960b822c688e8629165. | |||
2013-01-25 | session: read final interface statistics on termination | Kozlov Dmitry | |
2013-01-25 | Revert "altered session finishing procedure" | Kozlov Dmitry | |
This reverts commit 9f4f36169f03857b6910402028717210270a0339. | |||
2013-01-24 | altered session finishing procedure | Kozlov Dmitry | |
2013-01-24 | generalize single-session checking | Kozlov Dmitry | |
2012-08-29 | fix various typos | Kozlov Dmitry | |
2012-06-19 | general preparation for IPoE integration | Kozlov Dmitry | |
2012-06-05 | ppp: implemented unit cache | Kozlov 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-04 | Revert "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-28 | implemented delayed fd close (speeds up session termination process) | Kozlov Dmitry | |
2012-05-14 | pppd_compat: use EV_PPP_PRE_FINISHED event to start ip-down script (fixes ↵ | Kozlov Dmitry | |
unexpected radattr file removal) | |||
2012-03-15 | Revert "ppp: move ip address release to proper place" | Kozlov Dmitry | |
This reverts commit d77729c3d6d4e646e0eb629a81faca90d61eea0c. | |||
2012-03-14 | ppp: move ip address release to proper place | Kozlov Dmitry | |
2012-01-13 | set FD_CLOEXEC on opened file descriptors | Kozlov Dmitry | |
2011-12-27 | radius, ippool: implemented Framed-Pool attribute | Kozlov Dmitry | |
2011-09-10 | ppp: don't start ccp after ipcp was started | Kozlov Dmitry | |
2011-09-03 | implemented crypto library selection: -DCRYPTO=OPENSSL|TOMCRYPT|INTERNAL ↵ | Kozlov Dmitry | |
(default OPENSSL) | |||
2011-08-29 | fix incorrect ppp_terminate calls | Kozlov Dmitry | |