Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-10-09 | ppp: changed behaviour of lcp-echo-timeout | Dmitry Kozlov | |
Now, if lcp-echo-timeout is specified this is considered as idle timeout. So if link is idling (no any packet was received) in specified interval accel-ppp starts to send LCP Echo-Request with lcp-echo-interval period. If peer responds to echo request new idle period is being started. If peer does not responds to lcp-echo-failure attempts accel-ppp terminates session with Acct-Terminate-Cause Lost-Carrier. If lcp-echo-timeout is not specified or equals zero accel-ppp works in old behaviour (unconditionally sends LCP Echo-Request with lcp-echo-interval period). This patch intended to prevent unexpected sessions termination due to lcp echo loses. | |||
2017-10-09 | ppp_lcp: fixed missing braces (possible bug) | Dmitry Kozlov | |
2017-08-08 | Merge branch 'master' of github.com:xebd/accel-ppp | Dmitry Kozlov | |
2017-07-26 | fix: connection problem with clients having nomru option | rabhis | |
Fixed problem while connecting with clients in which mru not negotiating lcp option is set | |||
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-06-02 | ppp: remove obsolete files | Guillaume Nault | |
This files aren't used (and aren't even compiled) anymore. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> | |||
2016-05-14 | lcp: fix Protocol-Field-Compression setting | Guillaume Nault | |
The kernel flag used for setting PFC is SC_COMP_PROT (SC_COMP_AC is for Address-and-Control-Field-Compression). Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> | |||
2016-04-17 | preparation for DPDK intergation (part 7) | Dmitry Kozlov | |
2016-04-13 | ppp: removed mtu/mru size warnings | Dmitry Kozlov | |
2016-04-13 | ppp: increase input buffer size | Dmitry Kozlov | |
2016-04-11 | Revert "pppoe: do not negotiate LCP MRU option if it is larger than 1492" | Dmitry Kozlov | |
This reverts commit fc098b3062badfd802f91241533069cad4886b6f. | |||
2016-04-10 | pppoe: do not negotiate LCP MRU option if it is larger than 1492 | 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 | |
2016-03-04 | ppp_auth: fixed possible use after free | Dmitry Kozlov | |
2015-12-25 | ppp_auth: fixed broken noauth mode | Dmitry Kozlov | |
2015-12-04 | preparation for DPDK intergation (part 5) | Dmitry Kozlov | |
2015-12-04 | preparation for DPDK intergation (part 3) | Dmitry Kozlov | |
2015-12-04 | preparation for DPDK intergation (part 2) | Dmitry Kozlov | |
2015-11-23 | ppp: do not send double ConfAck when LCP is started | 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-22 | Small IPv6 fixes for PPP | Cesar Fazan | |
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-11-22 | remove trailing whitespaces | Dmitry Kozlov | |
2014-11-06 | release IP addresses before fire EV_SESSION_FINISHED (fixes segfault when ↵ | Dmitry Kozlov | |
using IPoE) | |||
2014-10-29 | ppp: replace ppp_chan_send by ppp_unit_send in ppp_ccp.c | Franç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-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-29 | ppp: cleanning of ppp.h | Franç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-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-10-03 | get rid of time(), use clock_gettime(CLOCK_MONOTONIC) instead | Dmitry Kozlov | |
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-09-13 | ppp: implement address/control and protocol field compression | Vladislav Grishenko | |
2014-09-13 | ppp: update channel MRU as pppd does | Vladislav Grishenko | |
2014-09-13 | ppp: improve LCP magic number negotiation | Vladislav Grishenko | |
2014-09-09 | ppp: fsm: do not reinitialize restart counter after Configure-Ack (fixes ↵ | Dmitry Kozlov | |
some infinite configure loops) | |||
2014-08-26 | ppp: make LCP magic number negotiation not mandatory | Dmitry Kozlov | |
2014-07-17 | improved 'single session' mechanism | Dmitry Kozlov | |