Brendan O'Dea
d5c6f84271
Import to git from cvs. Remove keywords.
2011-01-27 17:36:01 +11: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
Brendan O'Dea
4a10d3188c
simplify throttle logic
2007-01-25 12:36:48 +00:00
Brendan O'Dea
fb0d8b5fb6
cleanup clash between timeout and session_timout
2006-08-02 13:35:39 +00:00
Brendan O'Dea
67af795b70
kludge around problem with Netgear DM602 authentication
2006-06-03 08:16:46 +00:00
Brendan O'Dea
5faf075c8d
add Multilink support from Khaled Al Hamwi
2006-04-27 09:53:49 +00:00
Brendan O'Dea
7462628249
don't shutdown on TerminateReq, wait for CDN
2006-04-18 06:00:07 +00:00
Brendan O'Dea
1b6a7a95e6
add Acct-Terminate-Cause to RADIUS stop records
2006-04-13 11:14:35 +00:00
Brendan O'Dea
be9795fce9
fix IPCP length test to allow Terminate-Request (4 bytes)
2006-03-27 03:01:08 +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
Brendan O'Dea
00078de8a3
avoid endless loop in processipcp, processipv6cp
2006-02-17 14:35:53 +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
Brendan O'Dea
181c5dae03
return on failed lcp
2006-01-19 21:06:39 +00:00
Brendan O'Dea
cbbd45a52f
handle LCP NAK of magic-number
2006-01-19 21:00:24 +00:00
Brendan O'Dea
c4847be6b5
break LCP configure loop with shutdown
2005-12-15 14:23:03 +00:00
Brendan O'Dea
12d5aa7c65
reduce logging of LCP EchoReply packets
2005-12-15 14:18:16 +00:00
Brendan O'Dea
5151ca4054
drop backtrace
2005-12-14 02:19:15 +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
Brendan O'Dea
dad3309278
fix IPCP negotiation of secondary DNS server
2005-12-04 13:06:49 +00:00
Brendan O'Dea
6c71960bcf
ensure MRU is sane
2005-11-17 05:24:17 +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
Brendan O'Dea
5b30505fcf
byte ordering
2005-09-16 13:20:39 +00:00
Brendan O'Dea
28dd7ee443
*** empty log message ***
2005-09-16 05:20:32 +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
Brendan O'Dea
0c678c5a03
make MRU configurable, NAK config requests for larger values
2005-09-15 09:34:46 +00:00
Brendan O'Dea
733f582897
fix code-reject/protocol-reject
2005-09-13 14:23:07 +00:00
Brendan O'Dea
bdc2baa573
increase size of PPP buffers to MAXETHER
2005-08-31 12:41:09 +00:00
Brendan O'Dea
3fdc1ce373
avoid Code-Reject loop
2005-08-31 12:38:38 +00:00
Brendan O'Dea
43196d6577
handle rejection of MRU negotiation by peer
2005-08-29 06:17:53 +00:00
Brendan O'Dea
bb371d8300
fix parsing of protocol rej
2005-08-29 03:21:14 +00:00
Brendan O'Dea
87a0b48170
drop level of "Unexpected CHAP message" log
2005-08-24 23:44:08 +00:00
Brendan O'Dea
567f8e3653
fail IPCP negotiation only on ConfigRej of IP-Address
2005-08-17 03:56:27 +00:00
Brendan O'Dea
660b4d800e
fix nak increment
2005-08-12 14:12:28 +00:00
Brendan O'Dea
5f269dec12
don't allocate radius for PAP if ip set
2005-08-12 08:18:46 +00:00
Brendan O'Dea
9187ed0d99
*** empty log message ***
2005-08-11 06:22:11 +00:00
Brendan O'Dea
b3f633a07d
logging
2005-08-11 06:18:56 +00:00
Brendan O'Dea
36f0542ab7
lcp logging
2005-08-11 05:50:49 +00:00
Brendan O'Dea
f22a9cebbe
normalise session, tunnel args
2005-08-10 11:25:56 +00:00
Brendan O'Dea
2c69f75dd3
logging
2005-08-10 08:59:23 +00:00
Brendan O'Dea
2643262af4
tidy up logging, RADIUS allocation
2005-08-10 08:04:26 +00:00
Brendan O'Dea
aabf1d3fe9
- Replace flags used for LCP/IPCP with state machine.
...
- Use openssl MD5, fix DAE vector (Alex Kiernan).
2005-07-31 10:04:09 +00:00
Brendan O'Dea
b84d4f934a
Ignore duplicate ACKs for IPCP
...
Clear RADIUSIPCP for walled garden sessions on ACK
2005-06-24 08:34:53 +00:00
Brendan O'Dea
1bc0117ca9
comment typo
2005-06-24 06:59:06 +00:00
Brendan O'Dea
bd2ec60149
merge in changes from 2.0 branch; fix byte counters in accounting records, add gigawords
2005-06-02 11:32:30 +00:00
Brendan O'Dea
520b2cb24d
it seems that some clients regularly attempt to reauth... just ignore (don't drop)
2005-05-13 09:23:00 +00:00
Brendan O'Dea
d8c5baa239
check all suggested auth mechanisms
2005-05-10 11:23:33 +00:00
Jonathan McDowell
750423daee
Fix processing of ConfigNak responses to LCP.
2005-05-10 10:54:34 +00:00
Brendan O'Dea
4d3e657b28
*** empty log message ***
2005-05-10 09:57:50 +00:00
Brendan O'Dea
d908e3348f
sendchap on ConfigAck
2005-05-10 09:57:19 +00:00
Brendan O'Dea
2267fbe504
set length properly
2005-05-10 09:47:23 +00:00