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
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
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
bodea
8f970b6937
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
bodea
174de2c0d7
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
bodea
4f866369ea
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
bodea
af5792cb6a
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
bodea
8ba3da90ad
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
bodea
079ae2ec84
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
bodea
225f5be34c
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
bodea
e4ea4838f8
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
bodea
b84553c1d7
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
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
bodea
6fb1f18fb0
byte ordering
2005-09-16 13:20:39 +00:00
bodea
6a4b3f3e98
*** 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
bodea
667a8bc420
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
bodea
b70e7cef20
increase size of PPP buffers to MAXETHER
2005-08-31 12:41:09 +00:00
bodea
3646374c82
avoid Code-Reject loop
2005-08-31 12:38:38 +00:00
bodea
53f1a814a1
handle rejection of MRU negotiation by peer
2005-08-29 06:17:53 +00:00
bodea
e8a19e982b
fix parsing of protocol rej
2005-08-29 03:21:14 +00:00
bodea
3efd4f877a
drop level of "Unexpected CHAP message" log
2005-08-24 23:44:08 +00:00
bodea
447f820899
fail IPCP negotiation only on ConfigRej of IP-Address
2005-08-17 03:56:27 +00:00
bodea
d95367dce9
fix nak increment
2005-08-12 14:12:28 +00:00
bodea
5a60f6401d
don't allocate radius for PAP if ip set
2005-08-12 08:18:46 +00:00
bodea
29392aac15
*** empty log message ***
2005-08-11 06:22:11 +00:00
bodea
dc3e79bf7e
logging
2005-08-11 06:18:56 +00:00
bodea
7af010b191
lcp logging
2005-08-11 05:50:49 +00:00
bodea
2211825760
normalise session, tunnel args
2005-08-10 11:25:56 +00:00
bodea
59c8969854
logging
2005-08-10 08:59:23 +00:00
bodea
b8cd61ce5a
tidy up logging, RADIUS allocation
2005-08-10 08:04:26 +00:00
bodea
afc8f4c6c0
- 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
bodea
872ee44e61
Ignore duplicate ACKs for IPCP
...
Clear RADIUSIPCP for walled garden sessions on ACK
2005-06-24 08:34:53 +00:00
bodea
05fa1ef827
comment typo
2005-06-24 06:59:06 +00:00
bodea
10b6ddcfc1
merge in changes from 2.0 branch; fix byte counters in accounting records, add gigawords
2005-06-02 11:32:30 +00:00
bodea
52cb7687d3
it seems that some clients regularly attempt to reauth... just ignore (don't drop)
2005-05-13 09:23:00 +00:00
bodea
58ccffcc26
check all suggested auth mechanisms
2005-05-10 11:23:33 +00:00
jonmcd
afb394f00c
Fix processing of ConfigNak responses to LCP.
2005-05-10 10:54:34 +00:00
bodea
f8e8d7b67c
*** empty log message ***
2005-05-10 09:57:50 +00:00