l2tpns.git
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.

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 agoMerge remote-tracking branch 'upstream-repo/master' into upstream upstream/2.2.1
Benjamin Cama [Thu, 7 Jul 2011 10:47:12 +0000 (12:47 +0200)]
Merge remote-tracking branch 'upstream-repo/master' into upstream

13 years agoImported Upstream version 2.1.21 upstream/2.1.21
Benjamin Cama [Thu, 7 Jul 2011 10:45:05 +0000 (12:45 +0200)]
Imported Upstream version 2.1.21

13 years agoBump version for release.
Brendan O'Dea [Fri, 28 Jan 2011 03:53:26 +0000 (14:53 +1100)]
Bump version for release.

13 years agoImport to git from cvs. Remove keywords.
Brendan O'Dea [Thu, 27 Jan 2011 06:36:01 +0000 (17:36 +1100)]
Import to git from cvs.  Remove keywords.

13 years agoApply patch from Geoffrey D. Bennett to fix retry of control packets.
bodea [Thu, 20 Jan 2011 12:48:40 +0000 (12:48 +0000)]
Apply patch from Geoffrey D. Bennett to fix retry of control packets.

13 years agoApply patch from Geoffrey D. Bennett to fix retry of control packets.
Brendan O'Dea [Thu, 20 Jan 2011 12:48:40 +0000 (12:48 +0000)]
Apply patch from Geoffrey D. Bennett to fix retry of control packets.

14 years agoApply patch from Cyril Elkaim to fix an issue with MacOS.
bodea [Fri, 26 Mar 2010 00:39:24 +0000 (00:39 +0000)]
Apply patch from Cyril Elkaim to fix an issue with MacOS.

14 years agoApply patch from Cyril Elkaim to fix an issue with MacOS.
Brendan O'Dea [Fri, 26 Mar 2010 00:39:24 +0000 (00:39 +0000)]
Apply patch from Cyril Elkaim to fix an issue with MacOS.

14 years agoApply patch from Cyril Elkaim to fix an issue with MacOS.
bodea [Thu, 25 Mar 2010 05:24:23 +0000 (05:24 +0000)]
Apply patch from Cyril Elkaim to fix an issue with MacOS.

14 years agoApply patch from Cyril Elkaim to fix an issue with MacOS.
Brendan O'Dea [Thu, 25 Mar 2010 05:24:23 +0000 (05:24 +0000)]
Apply patch from Cyril Elkaim to fix an issue with MacOS.

14 years agoApply patch from Michael O to avoid sending multiple CDNs.
bodea [Mon, 11 Jan 2010 12:16:20 +0000 (12:16 +0000)]
Apply patch from Michael O to avoid sending multiple CDNs.

14 years agoApply patch from Michael O to avoid sending multiple CDNs.
Brendan O'Dea [Mon, 11 Jan 2010 12:16:20 +0000 (12:16 +0000)]
Apply patch from Michael O to avoid sending multiple CDNs.

14 years agoApply patch from Michael O to avoid sending multiple CDNs.
bodea [Sat, 9 Jan 2010 13:33:41 +0000 (13:33 +0000)]
Apply patch from Michael O to avoid sending multiple CDNs.

14 years agoApply patch from Michael O to avoid sending multiple CDNs.
Brendan O'Dea [Sat, 9 Jan 2010 13:33:41 +0000 (13:33 +0000)]
Apply patch from Michael O to avoid sending multiple CDNs.

14 years agoApply MLPPP patch from Muhammad Tayseer Alquoatli, very belatedly, with
bodea [Tue, 8 Dec 2009 14:49:28 +0000 (14:49 +0000)]
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

14 years agoApply MLPPP patch from Muhammad Tayseer Alquoatli, very belatedly, with
Brendan O'Dea [Tue, 8 Dec 2009 14:49:28 +0000 (14:49 +0000)]
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

17 years agopropagate select error
bodea [Thu, 28 Jun 2007 07:22:50 +0000 (07:22 +0000)]
propagate select error

17 years agopropagate select error
Brendan O'Dea [Thu, 28 Jun 2007 07:22:50 +0000 (07:22 +0000)]
propagate select error

17 years agosimplify throttle logic
bodea [Thu, 25 Jan 2007 12:36:48 +0000 (12:36 +0000)]
simplify throttle logic

17 years agosimplify throttle logic
Brendan O'Dea [Thu, 25 Jan 2007 12:36:48 +0000 (12:36 +0000)]
simplify throttle logic

17 years agoremove float
bodea [Sun, 14 Jan 2007 04:07:52 +0000 (04:07 +0000)]
remove float

17 years agoremove float
Brendan O'Dea [Sun, 14 Jan 2007 04:07:52 +0000 (04:07 +0000)]
remove float

17 years agoadd "shutdown" and "reload" CLI commands (Daryl Tester)
bodea [Mon, 18 Dec 2006 12:08:28 +0000 (12:08 +0000)]
add "shutdown" and "reload" CLI commands (Daryl Tester)

17 years agoadd "shutdown" and "reload" CLI commands (Daryl Tester)
Brendan O'Dea [Mon, 18 Dec 2006 12:08:28 +0000 (12:08 +0000)]
add "shutdown" and "reload" CLI commands (Daryl Tester)

17 years agodon't send interim records before session start (Daryl Tester)
bodea [Mon, 18 Dec 2006 12:05:36 +0000 (12:05 +0000)]
don't send interim records before session start (Daryl Tester)

17 years agodon't send interim records before session start (Daryl Tester)
Brendan O'Dea [Mon, 18 Dec 2006 12:05:36 +0000 (12:05 +0000)]
don't send interim records before session start (Daryl Tester)

17 years agoadd Makefile, cleanup for -std=c99
bodea [Mon, 18 Dec 2006 11:58:35 +0000 (11:58 +0000)]
add Makefile, cleanup for -std=c99

17 years agoadd Makefile, cleanup for -std=c99
Brendan O'Dea [Mon, 18 Dec 2006 11:58:35 +0000 (11:58 +0000)]
add Makefile, cleanup for -std=c99

17 years agoadd CVE
bodea [Thu, 7 Dec 2006 05:46:16 +0000 (05:46 +0000)]
add CVE

17 years agoadd CVE
Brendan O'Dea [Thu, 7 Dec 2006 05:46:16 +0000 (05:46 +0000)]
add CVE

17 years agominor cleanup
bodea [Tue, 5 Dec 2006 05:22:59 +0000 (05:22 +0000)]
minor cleanup

17 years agominor cleanup
Brendan O'Dea [Tue, 5 Dec 2006 05:22:59 +0000 (05:22 +0000)]
minor cleanup

17 years agofix heartt pad
bodea [Mon, 4 Dec 2006 20:54:51 +0000 (20:54 +0000)]
fix heartt pad

17 years agofix heartt pad
Brendan O'Dea [Mon, 4 Dec 2006 20:54:51 +0000 (20:54 +0000)]
fix heartt pad

17 years agoSecurity: Rhys Kidd identified a vulnerability in the handling of
bodea [Mon, 4 Dec 2006 20:50:02 +0000 (20:50 +0000)]
Security: Rhys Kidd identified a vulnerability in the handling of
heartbeat packets.  Drop oversize heartbeat packets.

17 years agoSecurity: Rhys Kidd identified a vulnerability in the handling of
Brendan O'Dea [Mon, 4 Dec 2006 20:50:02 +0000 (20:50 +0000)]
Security: Rhys Kidd identified a vulnerability in the handling of
heartbeat packets.  Drop oversize heartbeat packets.

18 years agofix comment
bodea [Mon, 23 Oct 2006 02:51:53 +0000 (02:51 +0000)]
fix comment

18 years agofix comment
Brendan O'Dea [Mon, 23 Oct 2006 02:51:53 +0000 (02:51 +0000)]
fix comment

18 years agoallow DNS servers to be specified using either old or new vendor-specific Ascend...
bodea [Wed, 2 Aug 2006 14:17:30 +0000 (14:17 +0000)]
allow DNS servers to be specified using either old or new vendor-specific Ascend formats

18 years agoallow DNS servers to be specified using either old or new vendor-specific Ascend...
Brendan O'Dea [Wed, 2 Aug 2006 14:17:30 +0000 (14:17 +0000)]
allow DNS servers to be specified using either old or new vendor-specific Ascend formats

18 years agocleanup clash between timeout and session_timout
bodea [Wed, 2 Aug 2006 13:35:39 +0000 (13:35 +0000)]
cleanup clash between timeout and session_timout

18 years agocleanup clash between timeout and session_timout
Brendan O'Dea [Wed, 2 Aug 2006 13:35:39 +0000 (13:35 +0000)]
cleanup clash between timeout and session_timout

18 years agofix sign problem with reporting of unknown RADIUS VSAs
bodea [Wed, 2 Aug 2006 12:54:45 +0000 (12:54 +0000)]
fix sign problem with reporting of unknown RADIUS VSAs

18 years agofix sign problem with reporting of unknown RADIUS VSAs
Brendan O'Dea [Wed, 2 Aug 2006 12:54:45 +0000 (12:54 +0000)]
fix sign problem with reporting of unknown RADIUS VSAs

18 years agofix log message
bodea [Mon, 17 Jul 2006 07:53:08 +0000 (07:53 +0000)]
fix log message

18 years agofix log message
Brendan O'Dea [Mon, 17 Jul 2006 07:53:08 +0000 (07:53 +0000)]
fix log message

18 years agoresolve gcc 4.1 warning by changing ip_hash to a union
bodea [Sat, 1 Jul 2006 14:07:35 +0000 (14:07 +0000)]
resolve gcc 4.1 warning by changing ip_hash to a union

18 years agoresolve gcc 4.1 warning by changing ip_hash to a union
Brendan O'Dea [Sat, 1 Jul 2006 14:07:35 +0000 (14:07 +0000)]
resolve gcc 4.1 warning by changing ip_hash to a union

18 years agoadd radius_bind_{min,max} options
bodea [Sat, 1 Jul 2006 12:40:10 +0000 (12:40 +0000)]
add radius_bind_{min,max} options

18 years agoadd radius_bind_{min,max} options
Brendan O'Dea [Sat, 1 Jul 2006 12:40:10 +0000 (12:40 +0000)]
add radius_bind_{min,max} options

18 years agoset acct-disconnect-cause from result code AVP if no disconnect cause AVP is present
bodea [Thu, 22 Jun 2006 15:30:29 +0000 (15:30 +0000)]
set acct-disconnect-cause from result code AVP if no disconnect cause AVP is present

18 years agoset acct-disconnect-cause from result code AVP if no disconnect cause AVP is present
Brendan O'Dea [Thu, 22 Jun 2006 15:30:29 +0000 (15:30 +0000)]
set acct-disconnect-cause from result code AVP if no disconnect cause AVP is present

18 years agoadd session/idle timeouts
bodea [Sun, 11 Jun 2006 12:46:18 +0000 (12:46 +0000)]
add session/idle timeouts

18 years agoadd session/idle timeouts
Brendan O'Dea [Sun, 11 Jun 2006 12:46:18 +0000 (12:46 +0000)]
add session/idle timeouts

18 years agokludge around problem with Netgear DM602 authentication
bodea [Sat, 3 Jun 2006 08:16:46 +0000 (08:16 +0000)]
kludge around problem with Netgear DM602 authentication

18 years agokludge around problem with Netgear DM602 authentication
Brendan O'Dea [Sat, 3 Jun 2006 08:16:46 +0000 (08:16 +0000)]
kludge around problem with Netgear DM602 authentication

18 years agoconvert manual.html to docbook
bodea [Tue, 23 May 2006 14:28:25 +0000 (14:28 +0000)]
convert manual.html to docbook

18 years agoconvert manual.html to docbook
Brendan O'Dea [Tue, 23 May 2006 14:28:25 +0000 (14:28 +0000)]
convert manual.html to docbook

18 years agoremove unused param_packet_[tr]x structures
bodea [Mon, 22 May 2006 07:41:33 +0000 (07:41 +0000)]
remove unused param_packet_[tr]x structures

18 years agoremove unused param_packet_[tr]x structures
Brendan O'Dea [Mon, 22 May 2006 07:41:33 +0000 (07:41 +0000)]
remove unused param_packet_[tr]x structures

18 years agoremove defunct PLUGIN_PACKET_{RX,TX} constants
bodea [Thu, 18 May 2006 16:49:30 +0000 (16:49 +0000)]
remove defunct PLUGIN_PACKET_{RX,TX} constants

18 years agoremove defunct PLUGIN_PACKET_{RX,TX} constants
Brendan O'Dea [Thu, 18 May 2006 16:49:30 +0000 (16:49 +0000)]
remove defunct PLUGIN_PACKET_{RX,TX} constants

18 years agocorrect comment: throttle_speed rather than throttle_rate
bodea [Thu, 18 May 2006 14:40:31 +0000 (14:40 +0000)]
correct comment: throttle_speed rather than throttle_rate

18 years agocorrect comment: throttle_speed rather than throttle_rate
Brendan O'Dea [Thu, 18 May 2006 14:40:31 +0000 (14:40 +0000)]
correct comment: throttle_speed rather than throttle_rate

18 years agouse %u when logging unsigned values
bodea [Tue, 16 May 2006 06:46:37 +0000 (06:46 +0000)]
use %u when logging unsigned values

18 years agouse %u when logging unsigned values
Brendan O'Dea [Tue, 16 May 2006 06:46:37 +0000 (06:46 +0000)]
use %u when logging unsigned values

18 years agono magic
bodea [Fri, 5 May 2006 08:10:18 +0000 (08:10 +0000)]
no magic

18 years agono magic
Brendan O'Dea [Fri, 5 May 2006 08:10:18 +0000 (08:10 +0000)]
no magic

18 years agoupdate copyright years
bodea [Thu, 4 May 2006 01:01:56 +0000 (01:01 +0000)]
update copyright years

18 years agoupdate copyright years
Brendan O'Dea [Thu, 4 May 2006 01:01:56 +0000 (01:01 +0000)]
update copyright years

18 years ago*** empty log message ***
bodea [Fri, 28 Apr 2006 08:51:16 +0000 (08:51 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Brendan O'Dea [Fri, 28 Apr 2006 08:51:16 +0000 (08:51 +0000)]
*** empty log message ***

18 years agocosmetic changes
bodea [Fri, 28 Apr 2006 07:17:49 +0000 (07:17 +0000)]
cosmetic changes

18 years agocosmetic changes
Brendan O'Dea [Fri, 28 Apr 2006 07:17:49 +0000 (07:17 +0000)]
cosmetic changes

18 years agoremove non-working setuid option
bodea [Thu, 27 Apr 2006 14:37:27 +0000 (14:37 +0000)]
remove non-working setuid option

18 years agoremove non-working setuid option
Brendan O'Dea [Thu, 27 Apr 2006 14:37:27 +0000 (14:37 +0000)]
remove non-working setuid option

18 years agoadd Multilink support from Khaled Al Hamwi
bodea [Thu, 27 Apr 2006 09:53:49 +0000 (09:53 +0000)]
add Multilink support from Khaled Al Hamwi

18 years agoadd Multilink support from Khaled Al Hamwi
Brendan O'Dea [Thu, 27 Apr 2006 09:53:49 +0000 (09:53 +0000)]
add Multilink support from Khaled Al Hamwi

18 years agoapply patch from liran
bodea [Wed, 26 Apr 2006 01:15:43 +0000 (01:15 +0000)]
apply patch from liran

18 years agoapply patch from liran
Brendan O'Dea [Wed, 26 Apr 2006 01:15:43 +0000 (01:15 +0000)]
apply patch from liran

18 years agoinitial converion of liran's "Practical VPNs" to docbook
bodea [Mon, 24 Apr 2006 15:19:41 +0000 (15:19 +0000)]
initial converion of liran's "Practical VPNs" to docbook

18 years agoinitial converion of liran's "Practical VPNs" to docbook
Brendan O'Dea [Mon, 24 Apr 2006 15:19:41 +0000 (15:19 +0000)]
initial converion of liran's "Practical VPNs" to docbook

18 years agoonly poll clifd if successfully bound
bodea [Sun, 23 Apr 2006 23:18:30 +0000 (23:18 +0000)]
only poll clifd if successfully bound

18 years agoonly poll clifd if successfully bound
Brendan O'Dea [Sun, 23 Apr 2006 23:18:30 +0000 (23:18 +0000)]
only poll clifd if successfully bound

18 years agointerpret "local" direction correctly (as LAC) in disconnect AVPs release_2_1_18
bodea [Tue, 18 Apr 2006 06:00:46 +0000 (06:00 +0000)]
interpret "local" direction correctly (as LAC) in disconnect AVPs

18 years agointerpret "local" direction correctly (as LAC) in disconnect AVPs
Brendan O'Dea [Tue, 18 Apr 2006 06:00:46 +0000 (06:00 +0000)]
interpret "local" direction correctly (as LAC) in disconnect AVPs

18 years agodon't shutdown on TerminateReq, wait for CDN
bodea [Tue, 18 Apr 2006 06:00:07 +0000 (06:00 +0000)]
don't shutdown on TerminateReq, wait for CDN

18 years agodon't shutdown on TerminateReq, wait for CDN
Brendan O'Dea [Tue, 18 Apr 2006 06:00:07 +0000 (06:00 +0000)]
don't shutdown on TerminateReq, wait for CDN

18 years agoadd Acct-Terminate-Cause to RADIUS stop records release_2_1_17
bodea [Thu, 13 Apr 2006 11:14:35 +0000 (11:14 +0000)]
add Acct-Terminate-Cause to RADIUS stop records

18 years agoadd Acct-Terminate-Cause to RADIUS stop records
Brendan O'Dea [Thu, 13 Apr 2006 11:14:35 +0000 (11:14 +0000)]
add Acct-Terminate-Cause to RADIUS stop records

18 years agoset source address for DAE responses
bodea [Wed, 5 Apr 2006 02:13:48 +0000 (02:13 +0000)]
set source address for DAE responses

18 years agoset source address for DAE responses
Brendan O'Dea [Wed, 5 Apr 2006 02:13:48 +0000 (02:13 +0000)]
set source address for DAE responses

18 years agoset IP_PKTINFO on controlfd for recvfromto
bodea [Wed, 5 Apr 2006 01:50:33 +0000 (01:50 +0000)]
set IP_PKTINFO on controlfd for recvfromto

18 years agoset IP_PKTINFO on controlfd for recvfromto
Brendan O'Dea [Wed, 5 Apr 2006 01:50:33 +0000 (01:50 +0000)]
set IP_PKTINFO on controlfd for recvfromto

18 years agosend nsctl responses back using the correct source address
bodea [Wed, 5 Apr 2006 01:45:57 +0000 (01:45 +0000)]
send nsctl responses back using the correct source address

18 years agosend nsctl responses back using the correct source address
Brendan O'Dea [Wed, 5 Apr 2006 01:45:57 +0000 (01:45 +0000)]
send nsctl responses back using the correct source address

18 years agofix IPCP length test to allow Terminate-Request (4 bytes)
bodea [Mon, 27 Mar 2006 03:01:08 +0000 (03:01 +0000)]
fix IPCP length test to allow Terminate-Request (4 bytes)