l2tpns.git
11 years agoFix cluster group update
fendo [Tue, 26 Mar 2013 00:12:59 +0000 (01:12 +0100)]
Fix cluster group update

11 years agomanage groupes in cluster mode
fendo [Mon, 11 Mar 2013 15:30:58 +0000 (16:30 +0100)]
manage groupes in cluster mode

11 years agomerge from multibind
fendo [Wed, 6 Mar 2013 23:45:05 +0000 (00:45 +0100)]
merge from multibind

11 years agoAdding the possibility to listening multiple IP L2TP tunnels. multibind
fendo [Wed, 6 Mar 2013 21:18:32 +0000 (22:18 +0100)]
Adding the possibility to listening multiple IP L2TP tunnels.

11 years agoAdd cli show group and update rate calculation
fendo [Tue, 26 Feb 2013 10:50:44 +0000 (11:50 +0100)]
Add cli show group and update rate calculation

11 years agoMerge from master
fendo [Tue, 26 Feb 2013 08:59:45 +0000 (09:59 +0100)]
Merge from master

11 years agoUpdate changelog 2.2.1-2fdn3.6
fendo [Tue, 26 Feb 2013 08:11:18 +0000 (09:11 +0100)]
Update changelog

11 years agoFix Warning: dereferencing type-punned pointer will break strict...
fendo [Tue, 26 Feb 2013 00:00:46 +0000 (01:00 +0100)]
Fix Warning: dereferencing type-punned pointer will break strict...

11 years agoFix: Tunnel creation does not work when the length of the hostname is odd. (revert...
fendo [Mon, 25 Feb 2013 23:25:45 +0000 (00:25 +0100)]
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)

11 years agoSession group update rate calculation
fendo [Fri, 22 Feb 2013 17:35:46 +0000 (18:35 +0100)]
Session group update rate calculation

11 years agoSession group update rate calculation
fendo [Wed, 20 Feb 2013 00:32:27 +0000 (01:32 +0100)]
Session group update rate calculation

11 years agoAdd grouping session functionality for load balancing and failover
fendo [Tue, 19 Feb 2013 21:47:43 +0000 (22:47 +0100)]
Add grouping session functionality for load balancing and failover

11 years agoAdd param disable no spoof
fendo [Sun, 10 Feb 2013 23:15:36 +0000 (00:15 +0100)]
Add param disable no spoof

11 years agoUpdate debian/changelog 2.2.1-2fdn3.5
fendo [Sun, 10 Feb 2013 22:43:53 +0000 (23:43 +0100)]
Update debian/changelog

11 years agosmall performance improvement in download (internet -> customer)
fendo [Wed, 6 Feb 2013 23:00:37 +0000 (00:00 +0100)]
small performance improvement in download (internet -> customer)

11 years agoDisable sending HELLO message for Apple compatibility 2.2.1-2fdn3.4
fendo [Tue, 15 Jan 2013 14:22:43 +0000 (15:22 +0100)]
Disable sending HELLO message for Apple compatibility

11 years agoUpdate debian changelog 2.2.1-2fdn3.3
fendo [Mon, 14 Jan 2013 10:43:20 +0000 (11:43 +0100)]
Update debian changelog

11 years agomanual update pppoe-srv
fendo [Mon, 14 Jan 2013 10:34:14 +0000 (11:34 +0100)]
manual update

11 years agoFix: No RADIUS Stop message sent (regression due to the patch to avoid sending multip...
fendo [Sun, 13 Jan 2013 23:04:56 +0000 (00:04 +0100)]
Fix: No RADIUS Stop message sent (regression due to the patch to avoid sending multiple CDNs)

11 years agoFix: inverted delete/add routes in cluster mode
fendo [Sun, 13 Jan 2013 22:08:38 +0000 (23:08 +0100)]
Fix: inverted delete/add routes in cluster mode

11 years agorename attribut interface pppoe to bind
fendo [Tue, 8 Jan 2013 22:24:31 +0000 (23:24 +0100)]
rename attribut interface pppoe to bind

11 years agoAdd PPPOE-SERVER functionality
fendo [Tue, 8 Jan 2013 09:50:57 +0000 (10:50 +0100)]
Add PPPOE-SERVER functionality

11 years agoAuthorize to change the source IP of the tunnels l2tp 2.2.1-2fdn3.2
fendo [Wed, 26 Dec 2012 10:13:09 +0000 (11:13 +0100)]
Authorize to change the source IP of the tunnels l2tp

11 years agoAdd tundevicename configuration option 2.2.1-2fdn3.1
fendo [Fri, 21 Dec 2012 13:13:00 +0000 (14:13 +0100)]
Add tundevicename configuration option

11 years agoFix: last_packet no updated in cluster mode
fendo [Thu, 20 Dec 2012 22:44:21 +0000 (23:44 +0100)]
Fix: last_packet no updated in cluster mode

11 years agoAdd a debian/changelog entry for version 2.2.1-2fdn3
fendo [Tue, 18 Dec 2012 18:28:13 +0000 (19:28 +0100)]
Add a debian/changelog entry for version 2.2.1-2fdn3

11 years agoFix routes inverted delete/add in cluster mode dev-lac
fendo [Tue, 18 Dec 2012 18:18:05 +0000 (19:18 +0100)]
Fix routes inverted delete/add in cluster mode

11 years agoUpdate changelog (LAC functionnality)
fendo [Sat, 15 Dec 2012 00:14:55 +0000 (01:14 +0100)]
Update changelog (LAC functionnality)

11 years agoFinal development LAC functionality.
fendo [Fri, 14 Dec 2012 23:00:13 +0000 (00:00 +0100)]
Final development LAC functionality.
Fix Possible ring buffer overflow.

11 years agoFix: loopback protection
fendo [Sun, 9 Dec 2012 17:50:07 +0000 (18:50 +0100)]
Fix: loopback protection

11 years agoFix LAC functionnality
fendo [Fri, 7 Dec 2012 22:42:44 +0000 (23:42 +0100)]
Fix LAC functionnality

11 years agoFollowing development LAC functionality
fendo [Thu, 6 Dec 2012 00:40:12 +0000 (01:40 +0100)]
Following development LAC functionality

11 years agofirst version of the LAC functionality
fendo [Wed, 28 Nov 2012 22:43:33 +0000 (23:43 +0100)]
first version of the LAC functionality

11 years agoFix the inverted "delete/add" of the routes, in cluster mode.
fendo [Sun, 18 Nov 2012 15:04:06 +0000 (16:04 +0100)]
Fix the inverted "delete/add" of the routes, in cluster mode.

12 years agoAdd a debian/changelog entry for version 2.2.1-2fdn2
fendo [Sat, 17 Nov 2012 14:20:17 +0000 (15:20 +0100)]
Add a debian/changelog entry for version 2.2.1-2fdn2

12 years agoMLPPP not working in cluster mode. fendo-mods
fendo [Sun, 28 Oct 2012 21:39:23 +0000 (22:39 +0100)]
MLPPP not working in cluster mode.

12 years agoAdd a echo_timeout configuration option.
Fernando Alves [Mon, 20 Feb 2012 19:50:57 +0000 (20:50 +0100)]
Add a echo_timeout configuration option.
Add a idle_echo_timeout configuration option.

12 years agoFix: Sends small packets in the MPPPP frame (for reorder).
Fernando Alves [Wed, 15 Feb 2012 13:23:12 +0000 (14:23 +0100)]
Fix: Sends small packets in the MPPPP frame (for reorder).
Fix: Calculates jitter and jitter traces for analysis.

12 years agoFix: MLPPP improvents.
Fernando Alves [Sun, 12 Feb 2012 12:56:27 +0000 (13:56 +0100)]
Fix: MLPPP improvents.

12 years agoFix: MLPPP complete lost frame.
Fernando Alves [Sat, 4 Feb 2012 17:18:26 +0000 (18:18 +0100)]
Fix: MLPPP complete lost frame.

12 years agoFix MLPPP functionality.
Fernando Alves [Fri, 3 Feb 2012 15:28:14 +0000 (16:28 +0100)]
Fix MLPPP functionality.

12 years agoAdd a debian/changelog entry for version 2.2.1-2fdn1
Benjamin Cama [Thu, 2 Feb 2012 01:31:48 +0000 (02:31 +0100)]
Add a debian/changelog entry for version 2.2.1-2fdn1

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
12 years agoMerge branch 'fdn-mods'
Benjamin Cama [Thu, 2 Feb 2012 01:20:27 +0000 (02:20 +0100)]
Merge branch 'fdn-mods'

12 years agoMerge branch 'common-cvs-git-upstream' into fdn-mods fdn-mods
Benjamin Cama [Thu, 2 Feb 2012 01:15:14 +0000 (02:15 +0100)]
Merge branch 'common-cvs-git-upstream' into fdn-mods

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
12 years agoFix whitespaces errors introduced by commit d2848ce
Benjamin Cama [Wed, 1 Feb 2012 23:45:55 +0000 (00:45 +0100)]
Fix whitespaces errors introduced by commit d2848ce

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
12 years agoMerge remote-tracking branch 'new-upstream/master' into common-cvs-git-upstream
Benjamin Cama [Wed, 1 Feb 2012 23:34:35 +0000 (00:34 +0100)]
Merge remote-tracking branch 'new-upstream/master' into common-cvs-git-upstream

Choose the git version when conflicts happen.

12 years agoFix binding of the cli to the configured address
Benjamin Cama [Sun, 29 Jan 2012 23:16:41 +0000 (00:16 +0100)]
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>
12 years agoAdd a debian/changelog entry for version 2.2.1-1fdn3 debian/2.2.1-1fdn3
Benjamin Cama [Tue, 3 Jan 2012 19:30:31 +0000 (20:30 +0100)]
Add a debian/changelog entry for version 2.2.1-1fdn3

12 years agoMerge branch 'fdn-mods'
Benjamin Cama [Tue, 3 Jan 2012 19:23:14 +0000 (20:23 +0100)]
Merge branch 'fdn-mods'

13 years agoLog tunnel # while shutting down MPPP sessions.
Benjamin Cama [Sun, 25 Sep 2011 19:30:26 +0000 (21:30 +0200)]
Log tunnel # while shutting down MPPP sessions.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoFix a format string pointer diff specifier. remove-warnings
Benjamin Cama [Sun, 25 Sep 2011 19:14:32 +0000 (21:14 +0200)]
Fix a format string pointer diff specifier.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoUse uint32_t buffer instead of uint8_t one.
Benjamin Cama [Sun, 25 Sep 2011 12:31:25 +0000 (14:31 +0200)]
Use uint32_t buffer instead of uint8_t one.

Make it easier to use, and pleases gcc.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoAdd a uint16_t control buffer type, as a union.
Benjamin Cama [Sun, 25 Sep 2011 12:23:24 +0000 (14:23 +0200)]
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>
13 years agoFix the strange bundles' members looping use.
Benjamin Cama [Sat, 24 Sep 2011 15:14:57 +0000 (17:14 +0200)]
Fix the strange bundles' members looping use.

Avoids gcc warnings.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoRemove unused variables.
Benjamin Cama [Fri, 23 Sep 2011 17:53:35 +0000 (19:53 +0200)]
Remove unused variables.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoLog the tunnel # when adding/removing routes.
Benjamin Cama [Thu, 22 Sep 2011 17:09:54 +0000 (19:09 +0200)]
Log the tunnel # when adding/removing routes.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoMerge branch 'use-netlink' into fdn-mods
Benjamin Cama [Mon, 19 Sep 2011 16:12:48 +0000 (18:12 +0200)]
Merge branch 'use-netlink' into fdn-mods

13 years agoForgot to remove a prototype. use-netlink
Benjamin Cama [Mon, 19 Sep 2011 16:12:31 +0000 (18:12 +0200)]
Forgot to remove a prototype.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoSet hostname /after/ having read the config file.
Benjamin Cama [Mon, 19 Sep 2011 16:10:03 +0000 (18:10 +0200)]
Set hostname /after/ having read the config file.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoLog the session # when adding IPv6 routes.
Benjamin Cama [Mon, 19 Sep 2011 15:25:18 +0000 (17:25 +0200)]
Log the session # when adding IPv6 routes.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoMerge branch 'fdn-mods'
Benjamin Cama [Fri, 16 Sep 2011 15:55:22 +0000 (17:55 +0200)]
Merge branch 'fdn-mods'

13 years agoChange the rtm_proto to some arbitrary-defined value.
Benjamin Cama [Fri, 16 Sep 2011 15:51:29 +0000 (17:51 +0200)]
Change the rtm_proto to some arbitrary-defined value.

We change this value (which should really _not_ be RTPROT_BOOT) to some
arbitrary number so that we can import it into BIRD.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoAdd a debian/changelog entry for version 2.2.1-1fdn2. debian/2.2.1-1fdn2
Benjamin Cama [Thu, 15 Sep 2011 21:57:51 +0000 (23:57 +0200)]
Add a debian/changelog entry for version 2.2.1-1fdn2.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoMerge branch 'fdn-mods'
Benjamin Cama [Thu, 15 Sep 2011 21:49:30 +0000 (23:49 +0200)]
Merge branch 'fdn-mods'

13 years agoCorrectly set mp_epdis in host order.
Benjamin Cama [Thu, 15 Sep 2011 14:48:32 +0000 (16:48 +0200)]
Correctly set mp_epdis in host order.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoclean up some compiler errors
Brendan O'Dea [Mon, 12 Sep 2011 10:46:07 +0000 (20:46 +1000)]
clean up some compiler errors

13 years agoApply patch from Geoffrey D. Bennett to fix handle RADIUS Class attribute.
Brendan O'Dea [Sun, 11 Sep 2011 11:54:45 +0000 (21:54 +1000)]
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.

13 years agoBetter error handling on CLI initialization.
Benjamin Cama [Sun, 21 Aug 2011 11:06:57 +0000 (13:06 +0200)]
Better error handling on CLI initialization.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoMerge branch 'use-netlink' into fdn-mods
Benjamin Cama [Sat, 20 Aug 2011 16:25:44 +0000 (18:25 +0200)]
Merge branch 'use-netlink' into fdn-mods

13 years agoCorrectly form the delete route/route6 request.
Benjamin Cama [Sat, 20 Aug 2011 16:23:58 +0000 (18:23 +0200)]
Correctly form the delete route/route6 request.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoMerge branch 'use-netlink' into fdn-mods
Benjamin Cama [Sat, 20 Aug 2011 15:24:10 +0000 (17:24 +0200)]
Merge branch 'use-netlink' into fdn-mods

13 years agoRemove the netlink code to get the tun if index.
Benjamin Cama [Fri, 19 Aug 2011 17:23:27 +0000 (19:23 +0200)]
Remove the netlink code to get the tun if index.

It only worked for kernel >= 2.6.33. Use if_nametoindex() instead, which made
me include net/if.h in place of linux/if.h. Also, fix the RTM_SETLINK use which
should really be RTM_NEWLINK with correct parameters.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoMerge branch 'fdn-mods'
Benjamin Cama [Wed, 17 Aug 2011 15:23:38 +0000 (17:23 +0200)]
Merge branch 'fdn-mods'

13 years agoMerge branch 'use-netlink' into fdn-mods
Benjamin Cama [Wed, 17 Aug 2011 15:23:07 +0000 (17:23 +0200)]
Merge branch 'use-netlink' into fdn-mods

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoFix a stray comma, and replace existing routes.
Benjamin Cama [Wed, 17 Aug 2011 15:16:30 +0000 (17:16 +0200)]
Fix a stray comma, and replace existing routes.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoSince 7c47438 we can remove math.h.
Benjamin Cama [Wed, 17 Aug 2011 00:28:33 +0000 (02:28 +0200)]
Since 7c47438 we can remove math.h.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoMake routset()/route6set() use netlink.
Benjamin Cama [Wed, 17 Aug 2011 00:23:13 +0000 (02:23 +0200)]
Make routset()/route6set() use netlink.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoRoute setting sockets don't exist anymore; remove them.
Benjamin Cama [Wed, 17 Aug 2011 00:22:01 +0000 (02:22 +0200)]
Route setting sockets don't exist anymore; remove them.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoFix last commit on switching to CIDR.
Benjamin Cama [Wed, 17 Aug 2011 00:21:01 +0000 (02:21 +0200)]
Fix last commit on switching to CIDR.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoSwitch from masks to CIDR globally for IPv4.
Benjamin Cama [Tue, 16 Aug 2011 23:41:54 +0000 (01:41 +0200)]
Switch from masks to CIDR globally for IPv4.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoSimplify route attribute appending.
Benjamin Cama [Tue, 16 Aug 2011 22:45:27 +0000 (00:45 +0200)]
Simplify route attribute appending.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoBetter tun device name length handling.
Benjamin Cama [Tue, 16 Aug 2011 22:23:25 +0000 (00:23 +0200)]
Better tun device name length handling.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoFix wrong rta type.
Benjamin Cama [Tue, 16 Aug 2011 17:04:08 +0000 (19:04 +0200)]
Fix wrong rta type.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agonetlink: Better error handling.
Benjamin Cama [Tue, 16 Aug 2011 16:45:53 +0000 (18:45 +0200)]
netlink: Better error handling.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoAdd netlink fd polling.
Benjamin Cama [Tue, 16 Aug 2011 15:19:42 +0000 (17:19 +0200)]
Add netlink fd polling.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoRemove all acknoledgement stuff. Still doesn't work.
Benjamin Cama [Tue, 16 Aug 2011 14:42:13 +0000 (16:42 +0200)]
Remove all acknoledgement stuff. Still doesn't work.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoCommiting the rework I have done until now.
Benjamin Cama [Tue, 16 Aug 2011 14:06:33 +0000 (16:06 +0200)]
Commiting the rework I have done until now.

But I will remove the ack stuff, too complicated.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoNetlink bugfixes.
Benjamin Cama [Mon, 15 Aug 2011 22:12:23 +0000 (00:12 +0200)]
Netlink bugfixes.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoFurther netlink implementation. Not working yet.
Benjamin Cama [Mon, 15 Aug 2011 20:59:13 +0000 (22:59 +0200)]
Further netlink implementation. Not working yet.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoFirst netlink functions.
Benjamin Cama [Sun, 14 Aug 2011 20:56:35 +0000 (22:56 +0200)]
First netlink functions.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoMerge branch 'fdn-mods'
Benjamin Cama [Mon, 8 Aug 2011 11:51:59 +0000 (13:51 +0200)]
Merge branch 'fdn-mods'

13 years agoDon't process timers of disabled peers.
Benjamin Cama [Mon, 8 Aug 2011 11:51:32 +0000 (13:51 +0200)]
Don't process timers of disabled peers.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoMerge branch 'fdn-mods'
Benjamin Cama [Mon, 8 Aug 2011 11:43:42 +0000 (13:43 +0200)]
Merge branch 'fdn-mods'

13 years agoCheck for expired timers even when receiving no events.
Benjamin Cama [Mon, 8 Aug 2011 11:43:02 +0000 (13:43 +0200)]
Check for expired timers even when receiving no events.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoMerge branch 'fdn-mods'
Benjamin Cama [Sun, 7 Aug 2011 22:35:29 +0000 (00:35 +0200)]
Merge branch 'fdn-mods'

13 years agoMerge branch 'rfc4760' into fdn-mods
Benjamin Cama [Sun, 7 Aug 2011 22:35:08 +0000 (00:35 +0200)]
Merge branch 'rfc4760' into fdn-mods

13 years agoUse the source IP we use as BGP router identifier. rfc4760
Benjamin Cama [Sun, 7 Aug 2011 22:33:36 +0000 (00:33 +0200)]
Use the source IP we use as BGP router identifier.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoAdd a debian/changelog entry for version 2.2.1-1fdn1. debian/2.2.1-1fdn1
Benjamin Cama [Fri, 29 Jul 2011 13:07:08 +0000 (15:07 +0200)]
Add a debian/changelog entry for version 2.2.1-1fdn1.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
13 years agoMerge branch 'fdn-mods'
Benjamin Cama [Fri, 29 Jul 2011 12:54:00 +0000 (14:54 +0200)]
Merge branch 'fdn-mods'

13 years agoMerge branch 'rfc4760' into fdn-mods
Benjamin Cama [Fri, 29 Jul 2011 11:04:31 +0000 (13:04 +0200)]
Merge branch 'rfc4760' into fdn-mods