Commit graph

257 commits

Author SHA1 Message Date
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
bodea
4944040cdb ensure MRU is sane 2005-11-17 05:24:17 +00:00
Brendan O'Dea
6c71960bcf ensure MRU is sane 2005-11-17 05:24:17 +00:00
bodea
4caf4199d1 - Reset restart counters correctly.
- Reset timers on sending ConfigReq.
- Only send one RADIUS Start record, even if IPCP is restarted.
2005-11-04 14:41:50 +00:00
Brendan O'Dea
10c35633a5 - Reset restart counters correctly.
- Reset timers on sending ConfigReq.
- Only send one RADIUS Start record, even if IPCP is restarted.
2005-11-04 14:41:50 +00:00
bodea
6fb1f18fb0 byte ordering 2005-09-16 13:20:39 +00:00
Brendan O'Dea
5b30505fcf byte ordering 2005-09-16 13:20:39 +00:00
bodea
6a4b3f3e98 *** empty log message *** 2005-09-16 05:20:32 +00:00
Brendan O'Dea
28dd7ee443 *** empty log message *** 2005-09-16 05:20:32 +00:00
bodea
42af131396 - Add l2tp_mtu configuration option, used to define MRU, MSS.
- Adjust TCP MSS options in SYN and SYN,ACK packets to avoid
  fragmentation of tcp packets.
2005-09-16 05:04:28 +00:00
Brendan O'Dea
bde7904f92 - Add l2tp_mtu configuration option, used to define MRU, MSS.
- Adjust TCP MSS options in SYN and SYN,ACK packets to avoid
  fragmentation of tcp packets.
2005-09-16 05:04:28 +00:00
bodea
667a8bc420 make MRU configurable, NAK config requests for larger values 2005-09-15 09:34:46 +00:00
Brendan O'Dea
0c678c5a03 make MRU configurable, NAK config requests for larger values 2005-09-15 09:34:46 +00:00
bodea
59706a5394 fix code-reject/protocol-reject 2005-09-13 14:23:07 +00:00
Brendan O'Dea
733f582897 fix code-reject/protocol-reject 2005-09-13 14:23:07 +00:00
bodea
b70e7cef20 increase size of PPP buffers to MAXETHER 2005-08-31 12:41:09 +00:00