Commit graph

331 commits

Author SHA1 Message Date
fendo
26a2025a1b Fix: wheezy warning compilation 2013-09-16 15:01:04 +02:00
fendo
9c1869ccb1 Adding the possibility to set multiple hostname. 2013-05-21 11:42:48 +02:00
fendo
7fd4346bbb add accounting parameter account_all_origin 2013-04-24 22:29:36 +02:00
fendo
1e722029bc Fix service_name management and add pppoe_only_equal_svc_name parameter 2013-04-09 17:03:00 +02:00
fendo
137bcc9981 Adding the possibility to listening multiple IP L2TP tunnels. 2013-03-06 22:18:32 +01:00
fendo
9e78f1af54 Fix: Tunnel creation does not work when the length of the hostname is odd. (revert fix: Add a uint16_t control buffer type, as a union) 2013-02-26 00:28:43 +01:00
fendo
ec1507a6c2 Add param disable no spoof 2013-02-11 00:15:36 +01:00
fendo
f5354e1754 Update debian/changelog 2013-02-10 23:43:53 +01:00
fendo
b85ea86670 small performance improvement in download (internet -> customer) 2013-02-07 00:00:37 +01:00
fendo
9fb78ffe6a Disable sending HELLO message for Apple compatibility 2013-01-15 15:22:43 +01:00
fendo
d547c00f76 rename attribut interface pppoe to bind 2013-01-08 23:24:31 +01:00
fendo
11996ba414 Add PPPOE-SERVER functionality 2013-01-08 10:50:57 +01:00
fendo
ddffeb1ceb Authorize to change the source IP of the tunnels l2tp 2012-12-26 11:13:09 +01:00
fendo
f9243ffec5 Add tundevicename configuration option 2012-12-21 14:13:00 +01:00
fendo
35f10d93f4 Final development LAC functionality.
Fix Possible ring buffer overflow.
2012-12-15 00:00:13 +01:00
fendo
bcc2c7408b Fix LAC functionnality 2012-12-07 23:42:44 +01:00
fendo
5e65215ed4 Following development LAC functionality 2012-12-06 01:40:12 +01:00
fendo
4df24fd868 first version of the LAC functionality 2012-11-28 23:43:33 +01:00
fendo
ce928583b4 MLPPP not working in cluster mode. 2012-10-28 22:39:23 +01:00
Fernando Alves
76ae461853 Add a echo_timeout configuration option.
Add a idle_echo_timeout configuration option.
2012-02-20 20:50:57 +01:00
Fernando Alves
81ca38323a Fix: Sends small packets in the MPPPP frame (for reorder).
Fix: Calculates jitter and jitter traces for analysis.
2012-02-15 14:23:12 +01:00
Fernando Alves
442b04cea2 Fix MLPPP functionality. 2012-02-03 16:28:14 +01:00
Benjamin Cama
99921507eb Merge branch 'common-cvs-git-upstream' into fdn-mods
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2012-02-02 02:15:14 +01:00
Benjamin Cama
bceebb9a9d Fix binding of the cli to the configured address
We used to read the configuration file /after/ binding the cli. Fix that.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2012-01-30 00:16:41 +01:00
Benjamin Cama
639b43bffc Add a uint16_t control buffer type, as a union.
Then adapt the code using it. Make putting uint16_t easier in the
buffer. Pleases gcc better.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-09-25 14:23:24 +02:00
Benjamin Cama
0b06de8105 Set hostname /after/ having read the config file.
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-09-19 18:10:03 +02:00
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
Benjamin Cama
ec7ce23c79 Merge branch 'use-netlink' into fdn-mods
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-08-17 17:23:07 +02:00
Benjamin Cama
7c474381d4 Switch from masks to CIDR globally for IPv4.
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-08-17 01:41:54 +02:00
Benjamin Cama
4344f5e9c7 Better tun device name length handling.
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-08-17 00:23:25 +02:00
Benjamin Cama
7bdb42fe54 Add netlink fd polling.
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-08-16 17:19:42 +02:00
Benjamin Cama
1c898f7017 Merge branch 'rfc4760' into fdn-mods 2011-07-29 13:04:31 +02:00
Benjamin Cama
8c4f3bfe79 Add a config option to set the advertised BGP next hop.
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-07-29 12:58:31 +02:00
Benjamin Cama
fd021320ec Add an "hostname" config option.
It is overridden by the -h command line option.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-07-29 12:54:54 +02:00
Benjamin Cama
8321e71491 Add a cli_bind_address configuration option.
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-07-29 12:54:25 +02:00
Benjamin Cama
b36141c0c7 Add an option to set source address for a BGP session.
When adding a BGP neighbour, one can set "update-source" (quagga syntax) to the
source IP address that will be used for that session.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-07-29 12:54:00 +02:00
Benjamin Cama
59411b8799 Add a nexthop6 config option.
Will be used to set the NEXT_HOP for IPv6 routes, otherwise our address in
ipv6_prefix is used as the next hop.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
2011-07-28 15:01:51 +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
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
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
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
bodea
9bc9ec99e6 add radius_bind_{min,max} options 2006-07-01 12:40:10 +00:00
Brendan O'Dea
e49d6736b5 add radius_bind_{min,max} options 2006-07-01 12:40:10 +00:00
bodea
e6bb332ba2 add session/idle timeouts 2006-06-11 12:46:18 +00:00
Brendan O'Dea
65270c4bd2 add session/idle timeouts 2006-06-11 12:46:18 +00:00
bodea
241d15a178 remove non-working setuid option 2006-04-27 14:37:27 +00:00