Commit graph

481 commits

Author SHA1 Message Date
Brendan O'Dea
d2848cebc4 Apply patch from Geoffrey D. Bennett to fix handle RADIUS Class attribute.
Bump heartbeat version to handle Class entry in session (v6).
Re-arrange session struct to remove padding.
Update cluster code to handle v6 packets.  Drop compatability for pre-v5.
2011-09-11 21:54:45 +10:00
Brendan O'Dea
750e15fc6c Bump version for release. 2011-01-28 14:53:26 +11: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
352f0ba607 Apply patch from Cyril Elkaim to fix an issue with MacOS. 2010-03-26 00:39:24 +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
b618238509 Apply patch from Michael O to avoid sending multiple CDNs. 2010-01-11 12:16:20 +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
46e0772dfa propagate select error 2007-06-28 07:22:50 +00:00
Brendan O'Dea
4a10d3188c simplify throttle logic 2007-01-25 12:36:48 +00:00
Brendan O'Dea
6f39dc9569 remove float 2007-01-14 04:07:52 +00:00
Brendan O'Dea
50da1f206f add "shutdown" and "reload" CLI commands (Daryl Tester) 2006-12-18 12:08: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
36ddde96e1 add Makefile, cleanup for -std=c99 2006-12-18 11:58:35 +00:00
Brendan O'Dea
c2152aa378 add CVE 2006-12-07 05:46:16 +00:00
Brendan O'Dea
f67e4566a5 minor cleanup 2006-12-05 05:22:59 +00:00
Brendan O'Dea
24ba2c5ae1 fix heartt pad 2006-12-04 20:54:51 +00:00
Brendan O'Dea
dbaf3410c4 Security: Rhys Kidd identified a vulnerability in the handling of
heartbeat packets.  Drop oversize heartbeat packets.
2006-12-04 20:50:02 +00:00
Brendan O'Dea
4a2a55c66e fix comment 2006-10-23 02:51:53 +00:00
Brendan O'Dea
534a9900a8 allow DNS servers to be specified using either old or new vendor-specific Ascend formats 2006-08-02 14:17:30 +00:00
Brendan O'Dea
fb0d8b5fb6 cleanup clash between timeout and session_timout 2006-08-02 13:35:39 +00:00
Brendan O'Dea
9448b44db3 fix sign problem with reporting of unknown RADIUS VSAs 2006-08-02 12:54:45 +00:00
Brendan O'Dea
082e3baf90 fix log message 2006-07-17 07:53:08 +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
67af795b70 kludge around problem with Netgear DM602 authentication 2006-06-03 08:16:46 +00:00
Brendan O'Dea
6c181127a8 convert manual.html to docbook 2006-05-23 14:28:25 +00:00
Brendan O'Dea
ac26e0e3a8 remove unused param_packet_[tr]x structures 2006-05-22 07:41:33 +00:00
Brendan O'Dea
08cf00b1be remove defunct PLUGIN_PACKET_{RX,TX} constants 2006-05-18 16:49:30 +00:00
Brendan O'Dea
1afe07da5c correct comment: throttle_speed rather than throttle_rate 2006-05-18 14:40:31 +00:00
Brendan O'Dea
789bcd4260 use %u when logging unsigned values 2006-05-16 06:46:37 +00:00
Brendan O'Dea
f9edd6a329 no magic 2006-05-05 08:10:18 +00:00
Brendan O'Dea
510ae1af5e update copyright years 2006-05-04 01:01:56 +00:00
Brendan O'Dea
30d266967a *** empty log message *** 2006-04-28 08:51:16 +00:00
Brendan O'Dea
cd2cec3e5a cosmetic changes 2006-04-28 07:17:49 +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
57a847d9a3 apply patch from liran 2006-04-26 01:15:43 +00:00
Brendan O'Dea
6fa7b2b8fa initial converion of liran's "Practical VPNs" to docbook 2006-04-24 15:19:41 +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
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
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
be9795fce9 fix IPCP length test to allow Terminate-Request (4 bytes) 2006-03-27 03:01:08 +00:00