Brendan O'Dea
b939b00afd
clean up some compiler errors
2011-09-12 20:46:07 +10:00
Brendan O'Dea
d5c6f84271
Import to git from cvs. Remove keywords.
2011-01-27 17:36:01 +11:00
Brendan O'Dea
e934c096dd
Apply patch from Geoffrey D. Bennett to fix retry of control packets.
2011-01-20 12:48:40 +00:00
Brendan O'Dea
97119ee512
Apply patch from Cyril Elkaim to fix an issue with MacOS.
2010-03-25 05:24:23 +00:00
Brendan O'Dea
bab8601f70
Apply patch from Michael O to avoid sending multiple CDNs.
2010-01-09 13:33:41 +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
Brendan O'Dea
3bea7b1e3e
don't send interim records before session start (Daryl Tester)
2006-12-18 12:05:36 +00:00
Brendan O'Dea
fb0d8b5fb6
cleanup clash between timeout and session_timout
2006-08-02 13:35:39 +00:00
Brendan O'Dea
edd8999aed
resolve gcc 4.1 warning by changing ip_hash to a union
2006-07-01 14:07:35 +00:00
Brendan O'Dea
e49d6736b5
add radius_bind_{min,max} options
2006-07-01 12:40:10 +00:00
Brendan O'Dea
d2f496f603
set acct-disconnect-cause from result code AVP if no disconnect cause AVP is present
2006-06-22 15:30:29 +00:00
Brendan O'Dea
65270c4bd2
add session/idle timeouts
2006-06-11 12:46:18 +00:00
Brendan O'Dea
789bcd4260
use %u when logging unsigned values
2006-05-16 06:46:37 +00:00
Brendan O'Dea
510ae1af5e
update copyright years
2006-05-04 01:01:56 +00:00
Brendan O'Dea
9fd9a6fba1
remove non-working setuid option
2006-04-27 14:37:27 +00:00
Brendan O'Dea
5faf075c8d
add Multilink support from Khaled Al Hamwi
2006-04-27 09:53:49 +00:00
Brendan O'Dea
71f2642774
only poll clifd if successfully bound
2006-04-23 23:18:30 +00:00
Brendan O'Dea
d3280234d1
interpret "local" direction correctly (as LAC) in disconnect AVPs
2006-04-18 06:00:46 +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
0251304ce2
set source address for DAE responses
2006-04-05 02:13:48 +00:00
Brendan O'Dea
1c38c685b1
set IP_PKTINFO on controlfd for recvfromto
2006-04-05 01:50:33 +00:00
Brendan O'Dea
a840035219
send nsctl responses back using the correct source address
2006-04-05 01:45:57 +00:00
Brendan O'Dea
aca7a80c41
validate source of RADIUS packets
2006-02-17 13:27:07 +00:00
Brendan O'Dea
129f43431f
correct addition of single IP to pool
2006-01-19 20:55:03 +00:00
Brendan O'Dea
b5ab056462
send configured magic-no in LCP EchoReq when LCP is opened
2005-12-20 04:57:16 +00:00
Brendan O'Dea
03d3752c9f
fix session MRU, tunnel MTU
2005-12-19 06:08:42 +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
b3c856c934
set MTU on tunnel interface so the kernel will re-fragment large packets to within MRU
2005-11-17 07:35:35 +00:00
Brendan O'Dea
a52279783d
fix checksum recalc
2005-11-17 06:46:24 +00:00
Brendan O'Dea
e1f961edee
layer 4 info implies !frag
2005-11-14 21:08:30 +00:00
Brendan O'Dea
2d66b44732
fix fragment handling in ip_filter
2005-11-14 08:38:02 +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
4b3b34b994
fix LCP Echo frequency
2005-10-18 07:19:28 +00:00
Brendan O'Dea
890bffb510
add Cisco-AVPairs to RADIUS accounting records via plugin_radius_account
2005-10-11 09:04:53 +00:00
Brendan O'Dea
2d71fa112c
don't send tunnel HELLO when there are pending control messages
2005-10-11 07:06:56 +00:00
Brendan O'Dea
52fcfd5b19
calc Mbps correctly
2005-09-19 02:39:57 +00:00
Brendan O'Dea
1d2a952feb
move code from signal handlers into mainloop, avoiding a race
...
condition when forking CLI
2005-09-19 00:29:12 +00:00
Brendan O'Dea
5b30505fcf
byte ordering
2005-09-16 13:20:39 +00:00
Brendan O'Dea
7f7035065f
fix protocol-reject
2005-09-16 11:46:48 +00:00
Brendan O'Dea
988074a770
*** empty log message ***
2005-09-16 06:11:28 +00:00
Brendan O'Dea
3d2da2d77b
*** empty log message ***
2005-09-16 06:10:21 +00:00
Brendan O'Dea
58617785d5
set mss, adjust checksum
2005-09-16 05:54:53 +00:00
Brendan O'Dea
739356c34c
*** empty log message ***
2005-09-16 05:35:31 +00:00
Brendan O'Dea
46f70a1e3a
*** empty log message ***
2005-09-16 05:30:30 +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
90a81d13b5
*** empty log message ***
2005-09-13 14:27:14 +00:00
Brendan O'Dea
733f582897
fix code-reject/protocol-reject
2005-09-13 14:23:07 +00:00
Brendan O'Dea
30a697b2b1
any traffic on a tunnel resets lastrec, not just control messages
2005-09-12 05:16:42 +00:00