Commit graph

  • ec7ce23c79 Merge branch 'use-netlink' into fdn-mods Benjamin Cama 2011-08-17 17:23:07 +02:00
  • 1b372e5d46 Fix a stray comma, and replace existing routes. Benjamin Cama 2011-08-17 17:16:30 +02:00
  • 464a2bb072 Since 7c47438 we can remove math.h. Benjamin Cama 2011-08-17 02:28:33 +02:00
  • 1455a9c9bb Make routset()/route6set() use netlink. Benjamin Cama 2011-08-17 02:23:13 +02:00
  • d02a243397 Route setting sockets don't exist anymore; remove them. Benjamin Cama 2011-08-17 02:22:01 +02:00
  • 3190b01ada Fix last commit on switching to CIDR. Benjamin Cama 2011-08-17 02:21:01 +02:00
  • 7c474381d4 Switch from masks to CIDR globally for IPv4. Benjamin Cama 2011-08-17 01:41:54 +02:00
  • e6bf06aa1b Simplify route attribute appending. Benjamin Cama 2011-08-17 00:45:27 +02:00
  • 4344f5e9c7 Better tun device name length handling. Benjamin Cama 2011-08-17 00:23:25 +02:00
  • 8f944eeb21 Fix wrong rta type. Benjamin Cama 2011-08-16 19:04:08 +02:00
  • 1df1b625a8 netlink: Better error handling. Benjamin Cama 2011-08-16 18:45:53 +02:00
  • 7bdb42fe54 Add netlink fd polling. Benjamin Cama 2011-08-16 17:19:42 +02:00
  • 5cd5238b2f Remove all acknoledgement stuff. Still doesn't work. Benjamin Cama 2011-08-16 16:42:13 +02:00
  • ba87a9d874 Commiting the rework I have done until now. Benjamin Cama 2011-08-16 16:06:33 +02:00
  • c23922ce7c Netlink bugfixes. Benjamin Cama 2011-08-16 00:12:23 +02:00
  • 7aa8cc3dc0 Further netlink implementation. Not working yet. Benjamin Cama 2011-08-15 22:59:13 +02:00
  • c7b02a0927 First netlink functions. Benjamin Cama 2011-08-14 22:56:35 +02:00
  • 4df9aef570 Merge branch 'fdn-mods' Benjamin Cama 2011-08-08 13:51:59 +02:00
  • 49f8ea66ee Don't process timers of disabled peers. Benjamin Cama 2011-08-08 13:51:32 +02:00
  • 7d862d168f Merge branch 'fdn-mods' Benjamin Cama 2011-08-08 13:43:42 +02:00
  • 500eb6e594 Check for expired timers even when receiving no events. Benjamin Cama 2011-08-08 13:43:02 +02:00
  • 6c503e49e5 Merge branch 'fdn-mods' Benjamin Cama 2011-08-08 00:35:29 +02:00
  • ae7d3c9fca Merge branch 'rfc4760' into fdn-mods Benjamin Cama 2011-08-08 00:35:08 +02:00
  • 017a7d32fe Use the source IP we use as BGP router identifier. Benjamin Cama 2011-08-08 00:33:36 +02:00
  • b320a99b8c Add a debian/changelog entry for version 2.2.1-1fdn1. Benjamin Cama 2011-07-29 15:07:08 +02:00
  • 08b8dffa78 Merge branch 'fdn-mods' Benjamin Cama 2011-07-29 14:54:00 +02:00
  • 1c898f7017 Merge branch 'rfc4760' into fdn-mods Benjamin Cama 2011-07-29 13:04:31 +02:00
  • 8c4f3bfe79 Add a config option to set the advertised BGP next hop. Benjamin Cama 2011-07-07 13:12:30 +02:00
  • 4f1a9aa378 Kill sessions receiving a ConfReq while closing. Benjamin Cama 2011-07-07 13:11:27 +02:00
  • fd021320ec Add an "hostname" config option. Benjamin Cama 2011-07-25 20:07:14 +02:00
  • 3d9333a6cb Better example address for cli_bind_address. Benjamin Cama 2011-07-24 13:53:51 +02:00
  • 8321e71491 Add a cli_bind_address configuration option. Benjamin Cama 2011-07-24 13:49:11 +02:00
  • d48de5fddd Stop BGP session even when we are master Benjamin Cama 2011-07-24 02:26:32 +02:00
  • 625794576e Wait before retrying on CEASE. Benjamin Cama 2011-07-23 18:57:27 +02:00
  • b36141c0c7 Add an option to set source address for a BGP session. Benjamin Cama 2011-07-22 02:11:33 +02:00
  • 11ec3c4a24 Remove no more used plugin function names; fixes a crash. Benjamin Cama 2011-07-21 17:00:18 +02:00
  • 482ed7cbe5 Display session's remainging time in CLI. Benjamin Cama 2011-07-21 16:57:27 +02:00
  • cc806b225e Add a debian/changelog entry for version 2.2.1-1. Benjamin Cama 2011-07-28 18:18:08 +02:00
  • fbd2194031 Merge branch 'upstream' Benjamin Cama 2011-07-28 17:59:33 +02:00
  • 21ae6221cf Retry on unsupported capability, not restart immediatly. Benjamin Cama 2011-07-25 18:16:46 +02:00
  • 60bd25ccdc Really fix parameters length calculation this time. Benjamin Cama 2011-07-25 12:40:50 +02:00
  • e6fe57eec8 Fix a bug in parameters length setting. Benjamin Cama 2011-07-25 12:12:53 +02:00
  • 974d5f4408 A bit of renaming for clarity. Benjamin Cama 2011-07-25 11:40:29 +02:00
  • 350b06e6f4 Fix bugs in IPv6 update routine. Benjamin Cama 2011-07-25 01:00:03 +02:00
  • 7e1e91ef98 Call bgp_add/del_route6() in l2tpns.c. Benjamin Cama 2011-07-23 22:29:59 +02:00
  • c7e67e1de2 Don't send notification when receiving an unsupported capability. Benjamin Cama 2011-07-23 20:46:39 +02:00
  • 3bd675ad2c Better check for IPv6 compatibility with the BGP peer. Benjamin Cama 2011-07-23 18:53:12 +02:00
  • 3ea85f7c57 Fix the AFI for IPv6. Benjamin Cama 2011-07-21 02:49:38 +02:00
  • e86393ea90 Better handle IPv6 routes advertisement (non-)support. Benjamin Cama 2011-07-20 17:46:21 +02:00
  • 7407c1a1c4 Add config examples for nexthop/nexthop6. Benjamin Cama 2011-07-20 14:53:19 +02:00
  • db276bcc80 Handle multiprotocol UPDATE. Benjamin Cama 2011-07-20 14:45:09 +02:00
  • 59411b8799 Add a nexthop6 config option. Benjamin Cama 2011-07-20 14:43:44 +02:00
  • f4fb6922fe Add v6 routes handling. Benjamin Cama 2011-07-20 11:00:43 +02:00
  • 02611e54fc Move NEXT_HOP attribute so that we can exclude it. Benjamin Cama 2011-07-20 00:49:28 +02:00
  • f2e59e9881 Fix a typo from last commit. Benjamin Cama 2011-07-20 00:30:16 +02:00
  • 78a7085778 Disable IPv6 routes adv when peer doesn't support it. Benjamin Cama 2011-07-20 00:29:02 +02:00
  • 5305d86922 Advertise IPv6 capability to peers. Benjamin Cama 2011-07-20 00:22:18 +02:00
  • 1032adb5b4 Avoid implicit cast warning. Benjamin Cama 2011-07-20 00:01:23 +02:00
  • cd8502743f Add a per-peer flag if it supports IPv6 routes adv. Benjamin Cama 2011-07-19 23:59:27 +02:00
  • d7e506baf4 Add Multiprotocol definitions and more param handling. Benjamin Cama 2011-07-19 23:47:16 +02:00
  • 1b8cb12cb4 Add Optional Parameter and Capability handling. Benjamin Cama 2011-07-19 15:15:40 +02:00
  • e57e8c3825 Merge remote-tracking branch 'upstream-repo/master' into upstream Benjamin Cama 2011-07-07 12:47:12 +02:00
  • bbcd45eab0 Imported Debian patch 2.1.21-1.1 Peter Eisentraut 2008-04-02 01:58:55 +02:00
  • f2a3180cc0 Imported Upstream version 2.1.21 Benjamin Cama 2011-07-07 12:45:05 +02:00
  • 750e15fc6c Bump version for release. Brendan O'Dea 2011-01-28 14:53:26 +11:00
  • d5c6f84271 Import to git from cvs. Remove keywords. Brendan O'Dea 2011-01-27 17:36:01 +11:00
  • 46d1fa17df Apply patch from Geoffrey D. Bennett to fix retry of control packets. bodea 2011-01-20 12:48:40 +00:00
  • e934c096dd Apply patch from Geoffrey D. Bennett to fix retry of control packets. Brendan O'Dea 2011-01-20 12:48:40 +00:00
  • adff07fbb6 Apply patch from Cyril Elkaim to fix an issue with MacOS. bodea 2010-03-26 00:39:24 +00:00
  • 352f0ba607 Apply patch from Cyril Elkaim to fix an issue with MacOS. Brendan O'Dea 2010-03-26 00:39:24 +00:00
  • 448f218ae7 Apply patch from Cyril Elkaim to fix an issue with MacOS. bodea 2010-03-25 05:24:23 +00:00
  • 97119ee512 Apply patch from Cyril Elkaim to fix an issue with MacOS. Brendan O'Dea 2010-03-25 05:24:23 +00:00
  • 80eece35b2 Apply patch from Michael O to avoid sending multiple CDNs. bodea 2010-01-11 12:16:20 +00:00
  • b618238509 Apply patch from Michael O to avoid sending multiple CDNs. Brendan O'Dea 2010-01-11 12:16:20 +00:00
  • eb34e8b8b2 Apply patch from Michael O to avoid sending multiple CDNs. bodea 2010-01-09 13:33:41 +00:00
  • bab8601f70 Apply patch from Michael O to avoid sending multiple CDNs. Brendan O'Dea 2010-01-09 13:33:41 +00:00
  • 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 bodea 2009-12-08 14:49:28 +00:00
  • 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 Brendan O'Dea 2009-12-08 14:49:28 +00:00
  • 98f82df878 propagate select error bodea 2007-06-28 07:22:50 +00:00
  • 46e0772dfa propagate select error Brendan O'Dea 2007-06-28 07:22:50 +00:00
  • 8f970b6937 simplify throttle logic bodea 2007-01-25 12:36:48 +00:00
  • 4a10d3188c simplify throttle logic Brendan O'Dea 2007-01-25 12:36:48 +00:00
  • 5e1536a8ef remove float bodea 2007-01-14 04:07:52 +00:00
  • 6f39dc9569 remove float Brendan O'Dea 2007-01-14 04:07:52 +00:00
  • 5c8a7b96ca add "shutdown" and "reload" CLI commands (Daryl Tester) bodea 2006-12-18 12:08:28 +00:00
  • 50da1f206f add "shutdown" and "reload" CLI commands (Daryl Tester) Brendan O'Dea 2006-12-18 12:08:28 +00:00
  • 32ab43cf29 don't send interim records before session start (Daryl Tester) bodea 2006-12-18 12:05:36 +00:00
  • 3bea7b1e3e don't send interim records before session start (Daryl Tester) Brendan O'Dea 2006-12-18 12:05:36 +00:00
  • e29419bc18 add Makefile, cleanup for -std=c99 bodea 2006-12-18 11:58:35 +00:00
  • 36ddde96e1 add Makefile, cleanup for -std=c99 Brendan O'Dea 2006-12-18 11:58:35 +00:00
  • 76384a3240 add CVE bodea 2006-12-07 05:46:16 +00:00
  • c2152aa378 add CVE Brendan O'Dea 2006-12-07 05:46:16 +00:00
  • 007f5d2cac minor cleanup bodea 2006-12-05 05:22:59 +00:00
  • f67e4566a5 minor cleanup Brendan O'Dea 2006-12-05 05:22:59 +00:00
  • 426335628c fix heartt pad bodea 2006-12-04 20:54:51 +00:00
  • 24ba2c5ae1 fix heartt pad Brendan O'Dea 2006-12-04 20:54:51 +00:00
  • 98f1b9718d Security: Rhys Kidd identified a vulnerability in the handling of heartbeat packets. Drop oversize heartbeat packets. bodea 2006-12-04 20:50:02 +00:00
  • dbaf3410c4 Security: Rhys Kidd identified a vulnerability in the handling of heartbeat packets. Drop oversize heartbeat packets. Brendan O'Dea 2006-12-04 20:50:02 +00:00
  • 9d594abcf5 fix comment bodea 2006-10-23 02:51:53 +00:00
  • 4a2a55c66e fix comment Brendan O'Dea 2006-10-23 02:51:53 +00:00