Commit graph

222 commits

Author SHA1 Message Date
fendo
bcc2c7408b Fix LAC functionnality 2012-12-07 23:42:44 +01:00
fendo
5e65215ed4 Following development LAC functionality 2012-12-06 01:40:12 +01:00
fendo
4df24fd868 first version of the LAC functionality 2012-11-28 23:43:33 +01:00
Fernando Alves
76ae461853 Add a echo_timeout configuration option.
Add a idle_echo_timeout configuration option.
2012-02-20 20:50:57 +01:00
Fernando Alves
81ca38323a Fix: Sends small packets in the MPPPP frame (for reorder).
Fix: Calculates jitter and jitter traces for analysis.
2012-02-15 14:23:12 +01:00
Fernando Alves
ff1db279d1 Fix: MLPPP improvents. 2012-02-12 13:56:27 +01:00
Fernando Alves
43d9ea52f9 Fix: MLPPP complete lost frame. 2012-02-04 18:18:26 +01:00
Fernando Alves
442b04cea2 Fix MLPPP functionality. 2012-02-03 16:28:14 +01:00
Benjamin Cama
99921507eb Merge branch 'common-cvs-git-upstream' into fdn-mods
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2012-02-02 02:15:14 +01:00
Benjamin Cama
5694e076d6 Fix a format string pointer diff specifier.
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-09-25 21:14:32 +02:00
Benjamin Cama
d484cd0e36 Use uint32_t buffer instead of uint8_t one.
Make it easier to use, and pleases gcc.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-09-25 14:31:25 +02:00
Brendan O'Dea
b939b00afd clean up some compiler errors 2011-09-12 20:46:07 +10:00
Benjamin Cama
4f1a9aa378 Kill sessions receiving a ConfReq while closing.
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-07-29 12:54:55 +02:00
Brendan O'Dea
d5c6f84271 Import to git from cvs. Remove keywords. 2011-01-27 17:36:01 +11:00
bodea
ac773ac88d Apply MLPPP patch from Muhammad Tayseer Alquoatli, very belatedly, with
thanks.  Changes:
- Handle session shutdown gracefully regarding leaving the bundle (bug that is
  caused when a all session leaves a bundle then another join)
- IP assignment is done only for the first session in the bundle (save IP
  waste for multiple MLPPP sessions)
- Route is being added only for the first session in the bundle (less routes
  on l2tpns system)
- Fix route deletion problem for MLPPP sessions (bug that caused when a
  session leaves a bundle)
- Uniformity of sequence number space satisfied (according to RFC1990)
- Fix reassembling fragmented packets and handling lost fragments (according
  to RFC 1990)
- FragmentatConnection to l2tpns.cvs.sourceforge.net closed by remote host.n
  across N session rather than two)
- Sequence numbers extraction mask has been corrected (bug in extracting
  sequence numbers)
- some clustering support fixes
- Upload/Download statistics has been corrected
- add "kill_timedout_sessions" config option
2009-12-08 14:49:28 +00:00
Brendan O'Dea
845bb1f376 Apply MLPPP patch from Muhammad Tayseer Alquoatli, very belatedly, with
thanks.  Changes:
- Handle session shutdown gracefully regarding leaving the bundle (bug that is
  caused when a all session leaves a bundle then another join)
- IP assignment is done only for the first session in the bundle (save IP
  waste for multiple MLPPP sessions)
- Route is being added only for the first session in the bundle (less routes
  on l2tpns system)
- Fix route deletion problem for MLPPP sessions (bug that caused when a
  session leaves a bundle)
- Uniformity of sequence number space satisfied (according to RFC1990)
- Fix reassembling fragmented packets and handling lost fragments (according
  to RFC 1990)
- FragmentatConnection to l2tpns.cvs.sourceforge.net closed by remote host.n
  across N session rather than two)
- Sequence numbers extraction mask has been corrected (bug in extracting
  sequence numbers)
- some clustering support fixes
- Upload/Download statistics has been corrected
- add "kill_timedout_sessions" config option
2009-12-08 14:49:28 +00:00
bodea
8f970b6937 simplify throttle logic 2007-01-25 12:36:48 +00:00
Brendan O'Dea
4a10d3188c simplify throttle logic 2007-01-25 12:36:48 +00:00
bodea
cb031e775d cleanup clash between timeout and session_timout 2006-08-02 13:35:39 +00:00
Brendan O'Dea
fb0d8b5fb6 cleanup clash between timeout and session_timout 2006-08-02 13:35:39 +00:00
bodea
174de2c0d7 kludge around problem with Netgear DM602 authentication 2006-06-03 08:16:46 +00:00
Brendan O'Dea
67af795b70 kludge around problem with Netgear DM602 authentication 2006-06-03 08:16:46 +00:00
bodea
5e631c6978 add Multilink support from Khaled Al Hamwi 2006-04-27 09:53:49 +00:00
Brendan O'Dea
5faf075c8d add Multilink support from Khaled Al Hamwi 2006-04-27 09:53:49 +00:00
bodea
4f866369ea don't shutdown on TerminateReq, wait for CDN 2006-04-18 06:00:07 +00:00
Brendan O'Dea
7462628249 don't shutdown on TerminateReq, wait for CDN 2006-04-18 06:00:07 +00:00
bodea
b089008c05 add Acct-Terminate-Cause to RADIUS stop records 2006-04-13 11:14:35 +00:00
Brendan O'Dea
1b6a7a95e6 add Acct-Terminate-Cause to RADIUS stop records 2006-04-13 11:14:35 +00:00
bodea
af5792cb6a fix IPCP length test to allow Terminate-Request (4 bytes) 2006-03-27 03:01:08 +00:00
Brendan O'Dea
be9795fce9 fix IPCP length test to allow Terminate-Request (4 bytes) 2006-03-27 03:01:08 +00:00
bodea
9bd4a07e55 additional length checks in processlcp
allow peer to request a new magic-number, or to disable magic-numbers
2006-02-17 15:05:13 +00:00
Brendan O'Dea
93e40637fa additional length checks in processlcp
allow peer to request a new magic-number, or to disable magic-numbers
2006-02-17 15:05:13 +00:00
bodea
8ba3da90ad avoid endless loop in processipcp, processipv6cp 2006-02-17 14:35:53 +00:00
Brendan O'Dea
00078de8a3 avoid endless loop in processipcp, processipv6cp 2006-02-17 14:35:53 +00:00
bodea
7bc0c67c3a ensure session changes from LCP ConfigReq/ConfigNak are sent to cluster 2006-01-19 21:31:25 +00:00
Brendan O'Dea
1aa51f00e1 ensure session changes from LCP ConfigReq/ConfigNak are sent to cluster 2006-01-19 21:31:25 +00:00
bodea
079ae2ec84 return on failed lcp 2006-01-19 21:06:39 +00:00
Brendan O'Dea
181c5dae03 return on failed lcp 2006-01-19 21:06:39 +00:00
bodea
1d46a749ef handle LCP NAK of magic-number 2006-01-19 21:00:24 +00:00
Brendan O'Dea
cbbd45a52f handle LCP NAK of magic-number 2006-01-19 21:00:24 +00:00
bodea
225f5be34c break LCP configure loop with shutdown 2005-12-15 14:23:03 +00:00
Brendan O'Dea
c4847be6b5 break LCP configure loop with shutdown 2005-12-15 14:23:03 +00:00
bodea
e68cca06cf reduce logging of LCP EchoReply packets 2005-12-15 14:18:16 +00:00
Brendan O'Dea
12d5aa7c65 reduce logging of LCP EchoReply packets 2005-12-15 14:18:16 +00:00
bodea
e4ea4838f8 drop backtrace 2005-12-14 02:19:15 +00:00
Brendan O'Dea
5151ca4054 drop backtrace 2005-12-14 02:19:15 +00:00
bodea
fc94b60b05 - Reject unknown/unconfigured protocols on the master.
- Sanity check MRU before using in ppp_code_rej, protoreject.
2005-12-07 05:21:37 +00:00
Brendan O'Dea
42f10c1ea0 - Reject unknown/unconfigured protocols on the master.
- Sanity check MRU before using in ppp_code_rej, protoreject.
2005-12-07 05:21:37 +00:00
bodea
b84553c1d7 fix IPCP negotiation of secondary DNS server 2005-12-04 13:06:49 +00:00
Brendan O'Dea
dad3309278 fix IPCP negotiation of secondary DNS server 2005-12-04 13:06:49 +00:00