Commit graph

1168 commits

Author SHA1 Message Date
Benjamin Cama
f2e59e9881 Fix a typo from last commit.
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-07-28 14:58:30 +02:00
Benjamin Cama
78a7085778 Disable IPv6 routes adv when peer doesn't support it.
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-07-28 14:58:30 +02:00
Benjamin Cama
5305d86922 Advertise IPv6 capability to peers.
Also rename a param define, and fix a forgotten ntohs().

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-07-28 14:58:30 +02:00
Benjamin Cama
1032adb5b4 Avoid implicit cast warning.
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-07-28 14:58:30 +02:00
Benjamin Cama
cd8502743f Add a per-peer flag if it supports IPv6 routes adv.
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-07-28 14:58:30 +02:00
Benjamin Cama
d7e506baf4 Add Multiprotocol definitions and more param handling.
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-07-28 14:58:30 +02:00
Benjamin Cama
1b8cb12cb4 Add Optional Parameter and Capability handling.
Optional Parameters is defined in RFC4271 and Capability advertisement in
RFC3392. For now, we only hande them upon receiving an OPEN message.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-07-28 14:58:30 +02:00
Benjamin Cama
e57e8c3825 Merge remote-tracking branch 'upstream-repo/master' into upstream 2011-07-07 12:47:12 +02:00
Peter Eisentraut
bbcd45eab0 Imported Debian patch 2.1.21-1.1 2011-07-07 12:45:05 +02:00
Benjamin Cama
f2a3180cc0 Imported Upstream version 2.1.21 2011-07-07 12:45:05 +02: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
bodea
46d1fa17df Apply patch from Geoffrey D. Bennett to fix retry of control packets. 2011-01-20 12:48:40 +00: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
bodea
adff07fbb6 Apply patch from Cyril Elkaim to fix an issue with MacOS. 2010-03-26 00:39:24 +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
bodea
448f218ae7 Apply patch from Cyril Elkaim to fix an issue with MacOS. 2010-03-25 05:24:23 +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
bodea
80eece35b2 Apply patch from Michael O to avoid sending multiple CDNs. 2010-01-11 12:16:20 +00:00
Brendan O'Dea
b618238509 Apply patch from Michael O to avoid sending multiple CDNs. 2010-01-11 12:16:20 +00:00
bodea
eb34e8b8b2 Apply patch from Michael O to avoid sending multiple CDNs. 2010-01-09 13:33:41 +00:00
Brendan O'Dea
bab8601f70 Apply patch from Michael O to avoid sending multiple CDNs. 2010-01-09 13:33:41 +00: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
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
98f82df878 propagate select error 2007-06-28 07:22:50 +00:00
Brendan O'Dea
46e0772dfa propagate select error 2007-06-28 07:22:50 +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
5e1536a8ef remove float 2007-01-14 04:07:52 +00:00
Brendan O'Dea
6f39dc9569 remove float 2007-01-14 04:07:52 +00:00
bodea
5c8a7b96ca add "shutdown" and "reload" CLI commands (Daryl Tester) 2006-12-18 12:08:28 +00:00
Brendan O'Dea
50da1f206f add "shutdown" and "reload" CLI commands (Daryl Tester) 2006-12-18 12:08:28 +00:00
bodea
32ab43cf29 don't send interim records before session start (Daryl Tester) 2006-12-18 12:05:36 +00:00
Brendan O'Dea
3bea7b1e3e don't send interim records before session start (Daryl Tester) 2006-12-18 12:05:36 +00:00
bodea
e29419bc18 add Makefile, cleanup for -std=c99 2006-12-18 11:58:35 +00:00
Brendan O'Dea
36ddde96e1 add Makefile, cleanup for -std=c99 2006-12-18 11:58:35 +00:00
bodea
76384a3240 add CVE 2006-12-07 05:46:16 +00:00
Brendan O'Dea
c2152aa378 add CVE 2006-12-07 05:46:16 +00:00
bodea
007f5d2cac minor cleanup 2006-12-05 05:22:59 +00:00
Brendan O'Dea
f67e4566a5 minor cleanup 2006-12-05 05:22:59 +00:00
bodea
426335628c fix heartt pad 2006-12-04 20:54:51 +00:00
Brendan O'Dea
24ba2c5ae1 fix heartt pad 2006-12-04 20:54:51 +00:00
bodea
98f1b9718d 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
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
bodea
9d594abcf5 fix comment 2006-10-23 02:51:53 +00:00
Brendan O'Dea
4a2a55c66e fix comment 2006-10-23 02:51:53 +00:00
bodea
33f430ac77 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
534a9900a8 allow DNS servers to be specified using either old or new vendor-specific Ascend formats 2006-08-02 14:17:30 +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