summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/l2tp
AgeCommit message (Collapse)Author
2012-09-07L2TP: Add session specific allocation functionGuillaume Nault
Separate session allocation from the rest of tunnel allocation operations. This implies a few extra modifications: * Store destination address of the SCCRQ message in the connection structure (and rename the "addr" field to "lac_addr" for consistency). This information is required for allocating the session. * No more PPP information in log prefix: with session multiplexing, tunnels are no longer tied to a single PPP session, so there is no struct ppp_t to pass as parameter to the log_switch() function. Session allocation is currently still done inside l2tp_tunnel_alloc(). It should rather be done at session establishment once tunnel/session separation will be terminated. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-09-07L2TP: Add new structure to store session specific dataGuillaume Nault
Use struct l2tp_sess_t to separate session data from other connection information. This is required in order to implement session multiplexing. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
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-29Merge branch 'master' of ↵Kozlov Dmitry
ssh://accel-ppp.git.sourceforge.net/gitroot/accel-ppp/accel-ppp
2012-08-29add 'ppp' filed to CTRL to identify ppp sessionsKozlov Dmitry
2012-08-23L2TP: Tear down tunnel when peer stops listeningGuillaume Nault
Stop sending messages on tunnels for which no peer is listening. Discard retransmissions too. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-08-15l2tp: fixed missing ctrl.terminate assignmentKozlov Dmitry
2012-07-13L2TP: Check for fcntl() errors in l2tp_connect()Kozlov Dmitry
Add error detection to ensure the FD_CLOEXEC flag gets set for every new socket. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-07-13Merge commit 'e04b9b2b35ed36ceb89d6991d2322210f6dd6abc'Kozlov Dmitry
* commit 'e04b9b2b35ed36ceb89d6991d2322210f6dd6abc': L2TP: Close sockets opened by l2tp_connect() upon failure
2012-07-13Merge commit '0b99fef73bce3f1abed63e581594de9d1f132312'Kozlov Dmitry
* commit '0b99fef73bce3f1abed63e581594de9d1f132312': L2TP: Fix socket() error handling in l2tp_connect() iprange: accept network with null mask (which actually disables iprange module)
2012-07-13L2TP: Check for fcntl() errors in l2tp_connect()Guillaume Nault
Add error detection to ensure the FD_CLOEXEC flag gets set for every new socket. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-07-13L2TP: Close sockets opened by l2tp_connect() upon failureGuillaume Nault
Centralise error management to ensure full cleanup upon failure. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-07-13L2TP: Fix socket() error handling in l2tp_connect()Guillaume Nault
Check if the tunnel file descriptor has been successfully created. Explicitely check for negative values to detect socket() errors. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
2012-06-22initial ipoe implementationKozlov Dmitry
2012-06-19general preparation for IPoE integrationKozlov Dmitry
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-28implemented delayed fd close (speeds up session termination process)Kozlov Dmitry
2012-05-22Some AVP we are not handling yet, and it is better to provide optionKozlov Dmitry
to ignore them, instead of refusing connection. Signed-off-by: Denys Fedoryshchenko <denys@visp.net.lb>
2012-05-16l2tp: implemented Challenge attribute handling (shared secret)Kozlov Dmitry
2012-05-16write message to log if unable to load necessary kernel moduleKozlov Dmitry
2012-04-21implemented per CTRL mppe configKozlov Dmitry
2012-01-23load necessary kernel modules at startupKozlov Dmitry
2012-01-18implemented connlimit module which can be used to reduce system overload due ↵Kozlov Dmitry
to flood of connections
2012-01-18l2tp: add Host-Name attribute to SCCRP necessarilyKozlov Dmitry
l2tp: add Vendor-Name attribute to SCCRP
2012-01-13set FD_CLOEXEC on opened file descriptorsKozlov Dmitry
2011-09-19shaper_tbf: fix temporary rate change functionalityKozlov Dmitry
2011-09-15l2tp: don't send OCRQKozlov Dmitry
2011-08-19snmp supportKozlov Dmitry
2011-05-30rewrited initialization procedure (fix gcc-4.6 builds)Kozlov Dmitry
2011-05-10l2tp: dir300 quirkKozlov Dmitry
2011-01-05rename accel-pptp to accel-pppDmitry Kozlov