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

18 years agodecrease ip_conntrack_tcp_timeout_established to 5hrs release_2_1_16
bodea [Thu, 23 Feb 2006 01:07:23 +0000 (01:07 +0000)]
decrease ip_conntrack_tcp_timeout_established to 5hrs

18 years agoadditional length checks in processlcp
bodea [Fri, 17 Feb 2006 15:05:13 +0000 (15:05 +0000)]
additional length checks in processlcp
allow peer to request a new magic-number, or to disable magic-numbers

18 years agoavoid endless loop in processipcp, processipv6cp
bodea [Fri, 17 Feb 2006 14:35:53 +0000 (14:35 +0000)]
avoid endless loop in processipcp, processipv6cp

18 years agovalidate source of RADIUS packets
bodea [Fri, 17 Feb 2006 13:27:07 +0000 (13:27 +0000)]
validate source of RADIUS packets

18 years agoensure session changes from LCP ConfigReq/ConfigNak are sent to cluster
bodea [Thu, 19 Jan 2006 21:31:25 +0000 (21:31 +0000)]
ensure session changes from LCP ConfigReq/ConfigNak are sent to cluster

18 years agoreturn on failed lcp
bodea [Thu, 19 Jan 2006 21:06:39 +0000 (21:06 +0000)]
return on failed lcp

18 years agohandle LCP NAK of magic-number
bodea [Thu, 19 Jan 2006 21:00:24 +0000 (21:00 +0000)]
handle LCP NAK of magic-number

18 years agocorrect addition of single IP to pool
bodea [Thu, 19 Jan 2006 20:55:03 +0000 (20:55 +0000)]
correct addition of single IP to pool

18 years agosend configured magic-no in LCP EchoReq when LCP is opened
bodea [Tue, 20 Dec 2005 04:57:16 +0000 (04:57 +0000)]
send configured magic-no in LCP EchoReq when LCP is opened

18 years agoadd service-type/framed-protocol to RADIUS records release_2_1_15
bodea [Mon, 19 Dec 2005 06:18:13 +0000 (06:18 +0000)]
add service-type/framed-protocol to RADIUS records

18 years agofix session MRU, tunnel MTU
bodea [Mon, 19 Dec 2005 06:08:42 +0000 (06:08 +0000)]
fix session MRU, tunnel MTU

18 years agobreak LCP configure loop with shutdown
bodea [Thu, 15 Dec 2005 14:23:03 +0000 (14:23 +0000)]
break LCP configure loop with shutdown

18 years agoreduce logging of LCP EchoReply packets
bodea [Thu, 15 Dec 2005 14:18:16 +0000 (14:18 +0000)]
reduce logging of LCP EchoReply packets

18 years agodrop backtrace
bodea [Wed, 14 Dec 2005 02:19:15 +0000 (02:19 +0000)]
drop backtrace

18 years agorun PLUGIN_RADIUS_ACCOUNT for Start records release_2_1_14
bodea [Fri, 9 Dec 2005 00:43:17 +0000 (00:43 +0000)]
run PLUGIN_RADIUS_ACCOUNT for Start records

18 years ago- Reject unknown/unconfigured protocols on the master. release_2_1_13
bodea [Wed, 7 Dec 2005 05:21:37 +0000 (05:21 +0000)]
- Reject unknown/unconfigured protocols on the 
- Sanity check MRU before using in ppp_code_rej, protoreject.

18 years agoboring: spacing change
bodea [Tue, 6 Dec 2005 23:53:14 +0000 (23:53 +0000)]
boring: spacing change

18 years agoadd ping-sweep
bodea [Tue, 6 Dec 2005 12:48:47 +0000 (12:48 +0000)]
add ping-sweep

18 years agoremove parsemac
bodea [Tue, 6 Dec 2005 09:43:42 +0000 (09:43 +0000)]
remove parsemac

18 years agoremove unused MAC config type
bodea [Tue, 6 Dec 2005 00:00:31 +0000 (00:00 +0000)]
remove unused MAC config type

18 years agounused: sessiont.{ns,nr}
bodea [Mon, 5 Dec 2005 14:10:42 +0000 (14:10 +0000)]
unused: sessiont.{ns,nr}

18 years agoindicate spare (struct padding) bytes
bodea [Mon, 5 Dec 2005 13:56:12 +0000 (13:56 +0000)]
indicate spare (struct padding) bytes

18 years agofix CTUNNEL decompress error message
bodea [Mon, 5 Dec 2005 12:47:12 +0000 (12:47 +0000)]
fix CTUNNEL decompress error message

18 years agofix IPCP negotiation of secondary DNS server
bodea [Sun, 4 Dec 2005 13:06:49 +0000 (13:06 +0000)]
fix IPCP negotiation of secondary DNS server

18 years agouse License header, fix BuildRoot
bodea [Fri, 25 Nov 2005 04:55:38 +0000 (04:55 +0000)]
use License header, fix BuildRoot

18 years agofix constants
bodea [Fri, 25 Nov 2005 04:23:55 +0000 (04:23 +0000)]
fix constants

18 years agoadd test/ping-sweep
bodea [Fri, 25 Nov 2005 02:18:40 +0000 (02:18 +0000)]
add test/ping-sweep

18 years ago*** empty log message *** release_2_1_12
bodea [Thu, 17 Nov 2005 23:50:35 +0000 (23:50 +0000)]
*** empty log message ***

18 years agoset MTU on tunnel interface so the kernel will re-fragment large packets to within MRU
bodea [Thu, 17 Nov 2005 07:35:35 +0000 (07:35 +0000)]
set MTU on tunnel interface so the kernel will re-fragment large packets to within MRU

18 years agofix checksum recalc
bodea [Thu, 17 Nov 2005 06:46:24 +0000 (06:46 +0000)]
fix checksum recalc

18 years agoensure MRU is sane
bodea [Thu, 17 Nov 2005 05:24:17 +0000 (05:24 +0000)]
ensure MRU is sane

18 years agolayer 4 info implies !frag release_2_1_11
bodea [Mon, 14 Nov 2005 21:08:30 +0000 (21:08 +0000)]
layer 4 info implies !frag

18 years agoaccess-list rule counters are unsigned
bodea [Mon, 14 Nov 2005 20:19:08 +0000 (20:19 +0000)]
access-list rule counters are unsigned

18 years agoexclude counter when comparing filter rules
bodea [Mon, 14 Nov 2005 09:49:01 +0000 (09:49 +0000)]
exclude counter when comparing filter rules

18 years agofix fragment handling in ip_filter
bodea [Mon, 14 Nov 2005 08:38:02 +0000 (08:38 +0000)]
fix fragment handling in ip_filter

19 years ago- Reset restart counters correctly. release_2_1_10
bodea [Fri, 4 Nov 2005 14:41:50 +0000 (14:41 +0000)]
- Reset restart counters correctly.
- Reset timers on sending ConfigReq.
- Only send one RADIUS Start record, even if IPCP is restarted.

19 years agoadd Framed-Route entries to RADIUS records
bodea [Wed, 19 Oct 2005 03:09:29 +0000 (03:09 +0000)]
add Framed-Route entries to RADIUS records

19 years agofix LCP Echo frequency
bodea [Tue, 18 Oct 2005 07:19:28 +0000 (07:19 +0000)]
fix LCP Echo frequency

19 years ago*** empty log message ***
bodea [Wed, 12 Oct 2005 07:16:53 +0000 (07:16 +0000)]
*** empty log message ***

19 years agoadd intercept-capture script
bodea [Wed, 12 Oct 2005 07:16:13 +0000 (07:16 +0000)]
add intercept-capture script

19 years agoadd Cisco-AVPairs to RADIUS accounting records via plugin_radius_account release_2_1_9
bodea [Tue, 11 Oct 2005 09:04:53 +0000 (09:04 +0000)]
add Cisco-AVPairs to RADIUS accounting records via plugin_radius_account

19 years agomove plugin_radius_reset from *ctl to auto* plugins
bodea [Tue, 11 Oct 2005 07:59:09 +0000 (07:59 +0000)]
move plugin_radius_reset from *ctl to auto* plugins

19 years agodon't send tunnel HELLO when there are pending control messages
bodea [Tue, 11 Oct 2005 07:06:56 +0000 (07:06 +0000)]
don't send tunnel HELLO when there are pending control messages

19 years agoFix RADIUS authentication on DAE responses.
foonly [Tue, 11 Oct 2005 02:27:40 +0000 (02:27 +0000)]
Fix RADIUS authentication on DAE responses.

19 years agofix Calling-Station-Id in RADIUS accounting records
bodea [Fri, 30 Sep 2005 13:13:26 +0000 (13:13 +0000)]
fix Calling-Station-Id in RADIUS accounting records

19 years agocalc Mbps correctly release_2_1_8
bodea [Mon, 19 Sep 2005 02:39:57 +0000 (02:39 +0000)]
calc Mbps correctly

19 years agomove code from signal handlers into mainloop, avoiding a race
bodea [Mon, 19 Sep 2005 00:29:12 +0000 (00:29 +0000)]
move code from signal handlers into mainloop, avoiding a race
condition when forking CLI

19 years agobyte ordering release_2_1_7
bodea [Fri, 16 Sep 2005 13:20:39 +0000 (13:20 +0000)]
byte ordering

19 years agofix protocol-reject
bodea [Fri, 16 Sep 2005 12:13:22 +0000 (12:13 +0000)]
fix protocol-reject

19 years agofix protocol-reject
bodea [Fri, 16 Sep 2005 11:46:48 +0000 (11:46 +0000)]
fix protocol-reject

19 years ago*** empty log message *** release_2_1_6
bodea [Fri, 16 Sep 2005 06:11:28 +0000 (06:11 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
bodea [Fri, 16 Sep 2005 06:10:21 +0000 (06:10 +0000)]
*** empty log message ***

19 years agoset mss, adjust checksum
bodea [Fri, 16 Sep 2005 05:54:53 +0000 (05:54 +0000)]
set mss, adjust checksum

19 years ago*** empty log message ***
bodea [Fri, 16 Sep 2005 05:35:31 +0000 (05:35 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
bodea [Fri, 16 Sep 2005 05:30:30 +0000 (05:30 +0000)]
*** empty log message ***

19 years ago*** empty log message ***
bodea [Fri, 16 Sep 2005 05:20:32 +0000 (05:20 +0000)]
*** empty log message ***

19 years agomss tweaking now internal
bodea [Fri, 16 Sep 2005 05:05:18 +0000 (05:05 +0000)]
mss tweaking now internal

19 years ago- Add l2tp_mtu configuration option, used to define MRU, MSS.
bodea [Fri, 16 Sep 2005 05:04:28 +0000 (05:04 +0000)]
- Add l2tp_mtu configuration option, used to define MRU, MSS.
- Adjust TCP MSS options in SYN and SYN,ACK packets to avoid
  fragmentation of tcp packets.

19 years agomake MRU configurable, NAK config requests for larger values
bodea [Thu, 15 Sep 2005 09:34:46 +0000 (09:34 +0000)]
make MRU configurable, NAK config requests for larger values

19 years ago*** empty log message ***
bodea [Tue, 13 Sep 2005 14:27:14 +0000 (14:27 +0000)]
*** empty log message ***

19 years agofix code-reject/protocol-reject
bodea [Tue, 13 Sep 2005 14:23:07 +0000 (14:23 +0000)]
fix code-reject/protocol-reject

19 years agoany traffic on a tunnel resets lastrec, not just control messages
bodea [Mon, 12 Sep 2005 05:16:42 +0000 (05:16 +0000)]
any traffic on a tunnel resets lastrec, not just control messages

19 years agoadd cluster_mcast_ttl release_2_1_5
bodea [Tue, 6 Sep 2005 01:44:46 +0000 (01:44 +0000)]
add cluster_mcast_ttl

19 years agoadd cluster_mcast_ttl option
bodea [Fri, 2 Sep 2005 23:59:56 +0000 (23:59 +0000)]
add cluster_mcast_ttl option

19 years agorestart BGP on receipt of CEASE
bodea [Fri, 2 Sep 2005 23:39:34 +0000 (23:39 +0000)]
restart BGP on receipt of CEASE

19 years agobug fix
bodea [Thu, 1 Sep 2005 06:59:06 +0000 (06:59 +0000)]
bug fix

19 years agoincrease size of PPP buffers to MAXETHER
bodea [Wed, 31 Aug 2005 12:41:09 +0000 (12:41 +0000)]
increase size of PPP buffers to MAXETHER

19 years agoavoid Code-Reject loop
bodea [Wed, 31 Aug 2005 12:38:38 +0000 (12:38 +0000)]
avoid Code-Reject loop

19 years agouse local hostname for tunnel in SCCRP release_2_1_4
bodea [Mon, 29 Aug 2005 11:24:31 +0000 (11:24 +0000)]
use local hostname for tunnel in SCCRP

19 years agohandle rejection of MRU negotiation by peer
bodea [Mon, 29 Aug 2005 06:17:53 +0000 (06:17 +0000)]
handle rejection of MRU negotiation by peer

19 years agofix parsing of protocol rej
bodea [Mon, 29 Aug 2005 03:21:14 +0000 (03:21 +0000)]
fix parsing of protocol rej

19 years agodrop level of "Unexpected CHAP message" log
bodea [Wed, 24 Aug 2005 23:44:08 +0000 (23:44 +0000)]
drop level of "Unexpected CHAP message" log

19 years agofail IPCP negotiation only on ConfigRej of IP-Address release_2_1_3
bodea [Wed, 17 Aug 2005 03:56:27 +0000 (03:56 +0000)]
fail IPCP negotiation only on ConfigRej of IP-Address

19 years agofix nak increment release_2_1_2
bodea [Fri, 12 Aug 2005 14:12:28 +0000 (14:12 +0000)]
fix nak increment

19 years agore-instate local md5.[ch]
bodea [Fri, 12 Aug 2005 13:48:19 +0000 (13:48 +0000)]
re-instate local md5.[ch]

19 years agoremove openssl crypto lib
bodea [Fri, 12 Aug 2005 10:31:22 +0000 (10:31 +0000)]
remove openssl crypto lib

19 years agooops, not that "t"
bodea [Fri, 12 Aug 2005 08:35:16 +0000 (08:35 +0000)]
oops, not that "t"

19 years agodon't allocate radius for PAP if ip set
bodea [Fri, 12 Aug 2005 08:18:46 +0000 (08:18 +0000)]
don't allocate radius for PAP if ip set

19 years ago*** empty log message ***
bodea [Thu, 11 Aug 2005 06:22:11 +0000 (06:22 +0000)]
*** empty log message ***

19 years agologging
bodea [Thu, 11 Aug 2005 06:18:56 +0000 (06:18 +0000)]
logging

19 years agolcp logging
bodea [Thu, 11 Aug 2005 05:50:49 +0000 (05:50 +0000)]
lcp logging

19 years ago*** empty log message ***
bodea [Thu, 11 Aug 2005 05:50:24 +0000 (05:50 +0000)]
*** empty log message ***

19 years agoignore proxy auth type: always try preferred method first (but allow negotiation)
bodea [Thu, 11 Aug 2005 05:49:03 +0000 (05:49 +0000)]
ignore proxy auth type: always try preferred method first (but allow negotiation)

19 years agonormalise session, tunnel args
bodea [Wed, 10 Aug 2005 11:25:56 +0000 (11:25 +0000)]
normalise session, tunnel args

19 years agologging
bodea [Wed, 10 Aug 2005 08:59:23 +0000 (08:59 +0000)]
logging

19 years agofix inverted timeout test
bodea [Wed, 10 Aug 2005 08:36:48 +0000 (08:36 +0000)]
fix inverted timeout test

19 years agotidy up logging, RADIUS allocation
bodea [Wed, 10 Aug 2005 08:04:26 +0000 (08:04 +0000)]
tidy up logging, RADIUS allocation

19 years agocosmetic
bodea [Wed, 10 Aug 2005 07:53:56 +0000 (07:53 +0000)]
cosmetic

19 years agore-instate local md5.[ch] due to issues with linking openssl to GPL code
bodea [Wed, 10 Aug 2005 07:25:23 +0000 (07:25 +0000)]
re-instate local md5.[ch] due to issues with linking openssl to GPL code

19 years agofix generateload
bodea [Tue, 2 Aug 2005 11:48:44 +0000 (11:48 +0000)]
fix generateload

19 years agoupdate startup-config defaults
bodea [Tue, 2 Aug 2005 07:33:14 +0000 (07:33 +0000)]
update startup-config defaults

19 years agoinclude Acct-Session-Time in interim records
bodea [Sun, 31 Jul 2005 10:35:39 +0000 (10:35 +0000)]
include Acct-Session-Time in interim records

19 years ago- Replace flags used for LCP/IPCP with state machine.
bodea [Sun, 31 Jul 2005 10:04:09 +0000 (10:04 +0000)]
- Replace flags used for LCP/IPCP with state machine.
- Use openssl MD5, fix DAE vector (Alex Kiernan).

19 years agoremove old compatability code
bodea [Mon, 4 Jul 2005 05:49:46 +0000 (05:49 +0000)]
remove old compatability code

19 years agoalways call filter_session on CoA
bodea [Thu, 30 Jun 2005 14:31:26 +0000 (14:31 +0000)]
always call filter_session on CoA