l2tpns.git
19 years agomerge in changes from 2.0 branch; fix byte counters in accounting records, add gigawords
Brendan O'Dea [Thu, 2 Jun 2005 11:32:30 +0000 (11:32 +0000)]
merge in changes from 2.0 branch; fix byte counters in accounting records, add gigawords

19 years agoadd "allow_duplicate_users" config option
Brendan O'Dea [Thu, 2 Jun 2005 04:38:42 +0000 (04:38 +0000)]
add "allow_duplicate_users" config option

19 years agoadd "allow_duplicate_users" config option
Brendan O'Dea [Thu, 2 Jun 2005 04:04:07 +0000 (04:04 +0000)]
add "allow_duplicate_users" config option

19 years agoshow session open time in "show session"/"show user" detailed output
Brendan O'Dea [Thu, 2 Jun 2005 03:52:46 +0000 (03:52 +0000)]
show session open time in "show session"/"show user" detailed output

19 years agoRADIUS load test
Brendan O'Dea [Tue, 31 May 2005 06:51:53 +0000 (06:51 +0000)]
RADIUS load test

19 years agomerge cluster fixes from release_2_0 branch
Brendan O'Dea [Thu, 26 May 2005 12:17:30 +0000 (12:17 +0000)]
merge cluster fixes from release_2_0 branch

19 years agoback out C_LASTSEEN change (to be replaced by different solution in merge from 2.0)
Brendan O'Dea [Tue, 24 May 2005 07:45:13 +0000 (07:45 +0000)]
back out C_LASTSEEN change (to be replaced by different solution in merge from 2.0)

19 years agouse 1452 as MRU
Brendan O'Dea [Fri, 20 May 2005 01:32:14 +0000 (01:32 +0000)]
use 1452 as MRU

19 years agoadd new radius state
Brendan O'Dea [Mon, 16 May 2005 06:01:08 +0000 (06:01 +0000)]
add new radius state

19 years agosupress warning
Brendan O'Dea [Mon, 16 May 2005 05:56:33 +0000 (05:56 +0000)]
supress warning

19 years agooff by one
Brendan O'Dea [Mon, 16 May 2005 05:50:54 +0000 (05:50 +0000)]
off by one

19 years agofix RADIUS indexing (should have 16K entries with 64 sockets)
Brendan O'Dea [Mon, 16 May 2005 04:51:16 +0000 (04:51 +0000)]
fix RADIUS indexing (should have 16K entries with 64 sockets)

19 years agoit seems that some clients regularly attempt to reauth... just ignore (don't drop)
Brendan O'Dea [Fri, 13 May 2005 09:23:00 +0000 (09:23 +0000)]
it seems that some clients regularly attempt to reauth...  just ignore (don't drop)

19 years agoadd "throttle=N"
Brendan O'Dea [Fri, 13 May 2005 05:28:16 +0000 (05:28 +0000)]
add "throttle=N"

19 years agoalways send LCP ConfigReq after we get ICCN
Brendan O'Dea [Fri, 13 May 2005 01:29:40 +0000 (01:29 +0000)]
always send LCP ConfigReq after we get ICCN

19 years agosend CDN when ICRQ cannot be accepted (no sessions, no RADIUS)
Brendan O'Dea [Thu, 12 May 2005 04:08:45 +0000 (04:08 +0000)]
send CDN when ICRQ cannot be accepted (no sessions, no RADIUS)

19 years agoupdate ipv6_prefix description
Brendan O'Dea [Tue, 10 May 2005 11:59:25 +0000 (11:59 +0000)]
update ipv6_prefix description

19 years agocheck all suggested auth mechanisms
Brendan O'Dea [Tue, 10 May 2005 11:23:33 +0000 (11:23 +0000)]
check all suggested auth mechanisms

19 years agoFix processing of ConfigNak responses to LCP.
Jonathan McDowell [Tue, 10 May 2005 10:54:34 +0000 (10:54 +0000)]
Fix processing of ConfigNak responses to LCP.

19 years ago*** empty log message ***
Brendan O'Dea [Tue, 10 May 2005 09:57:50 +0000 (09:57 +0000)]
*** empty log message ***

19 years agosendchap on ConfigAck
Brendan O'Dea [Tue, 10 May 2005 09:57:19 +0000 (09:57 +0000)]
sendchap on ConfigAck

19 years agoset length properly
Brendan O'Dea [Tue, 10 May 2005 09:47:23 +0000 (09:47 +0000)]
set length properly

19 years agoreset length of lcp packets
Brendan O'Dea [Tue, 10 May 2005 09:35:27 +0000 (09:35 +0000)]
reset length of lcp packets

19 years agoinit pluginfuncs properly
Brendan O'Dea [Tue, 10 May 2005 08:48:00 +0000 (08:48 +0000)]
init pluginfuncs properly

19 years agoupdate docs
Brendan O'Dea [Tue, 10 May 2005 08:11:29 +0000 (08:11 +0000)]
update docs

19 years ago$(call) seems to break expaniion on older (3.79) versions of make
Brendan O'Dea [Tue, 10 May 2005 08:01:15 +0000 (08:01 +0000)]
$(call) seems to break expaniion on older (3.79) versions of make

19 years ago*** empty log message ***
Brendan O'Dea [Tue, 10 May 2005 06:48:16 +0000 (06:48 +0000)]
*** empty log message ***

19 years agoadd sessionctl
Brendan O'Dea [Tue, 10 May 2005 06:44:11 +0000 (06:44 +0000)]
add sessionctl

19 years agomissed length
Brendan O'Dea [Tue, 10 May 2005 00:56:12 +0000 (00:56 +0000)]
missed length

19 years agofix radius_authtypes parsing
Brendan O'Dea [Mon, 9 May 2005 20:48:00 +0000 (20:48 +0000)]
fix radius_authtypes parsing

19 years ago"show running-config" output contains clear-text shared secrets; require enable
Brendan O'Dea [Mon, 9 May 2005 08:53:50 +0000 (08:53 +0000)]
"show running-config" output contains clear-text shared secrets; require enable

19 years agosession structure has changed: bump heartbeat version and convert old format heartbeats
Brendan O'Dea [Sun, 8 May 2005 08:00:49 +0000 (08:00 +0000)]
session structure has changed: bump heartbeat version and convert old format heartbeats

19 years agore-order sessiont elements to remove padding
Brendan O'Dea [Sun, 8 May 2005 07:13:56 +0000 (07:13 +0000)]
re-order sessiont elements to remove padding

19 years agomore chap
Brendan O'Dea [Sun, 8 May 2005 06:28:12 +0000 (06:28 +0000)]
more chap

19 years agomore lcp auth changes
Brendan O'Dea [Sat, 7 May 2005 13:12:25 +0000 (13:12 +0000)]
more lcp auth changes

19 years agoconfigure MRU in initlcp
Brendan O'Dea [Sat, 7 May 2005 11:57:53 +0000 (11:57 +0000)]
configure MRU in initlcp

19 years agoDon't process C_LASTSEEN unless we're a master (otherwise a crashed
Brendan O'Dea [Sat, 7 May 2005 10:14:33 +0000 (10:14 +0000)]
Don't process C_LASTSEEN unless we're a master (otherwise a crashed
master kills all slaves once restarted).

19 years ago*** empty log message ***
Brendan O'Dea [Sat, 7 May 2005 08:53:23 +0000 (08:53 +0000)]
*** empty log message ***

19 years agomore CHAP changes
Brendan O'Dea [Sat, 7 May 2005 08:17:25 +0000 (08:17 +0000)]
more CHAP changes

19 years agoensure that config files are not overwritten
Brendan O'Dea [Sat, 7 May 2005 00:32:12 +0000 (00:32 +0000)]
ensure that config files are not overwritten

19 years agotypo
Brendan O'Dea [Fri, 6 May 2005 23:31:50 +0000 (23:31 +0000)]
typo

19 years agomissing newline on log message
Brendan O'Dea [Fri, 6 May 2005 06:35:37 +0000 (06:35 +0000)]
missing newline on log message

19 years agoAdd interim accounting support from Vladislav Bjelic
Brendan O'Dea [Thu, 5 May 2005 10:02:06 +0000 (10:02 +0000)]
Add interim accounting support from Vladislav Bjelic

19 years ago- Don't use LOG() macro in initdata() until the config struct has been
Brendan O'Dea [Thu, 5 May 2005 02:39:54 +0000 (02:39 +0000)]
- Don't use LOG() macro in initdata() until the config struct has been
  allocated (uses config->debug).
- Initialise log_stream to stderr to catch errors before the config file
  is read.

19 years agoAdd a Cisco-Avpair with intercept details to RADIUS Start/Stop records
Brendan O'Dea [Tue, 3 May 2005 05:11:34 +0000 (05:11 +0000)]
Add a Cisco-Avpair with intercept details to RADIUS Start/Stop records

19 years agouse cli_error() for error messages and help
Brendan O'Dea [Mon, 2 May 2005 09:55:04 +0000 (09:55 +0000)]
use cli_error() for error messages and help

19 years agoUpdate .last_packet in cluster_handle_bytes only when there have
Brendan O'Dea [Mon, 2 May 2005 09:06:05 +0000 (09:06 +0000)]
Update .last_packet in cluster_handle_bytes only when there have
been bytes received from the modem (dead sessions were having the
idle timeout reset by stray packets).

19 years agoconsistent messages
Brendan O'Dea [Wed, 27 Apr 2005 13:53:15 +0000 (13:53 +0000)]
consistent messages

19 years agoremove dead session fields
Brendan O'Dea [Mon, 18 Apr 2005 05:32:16 +0000 (05:32 +0000)]
remove dead session fields

19 years agoremove dead session fields
Brendan O'Dea [Mon, 18 Apr 2005 05:07:20 +0000 (05:07 +0000)]
remove dead session fields

19 years agomore state_state removal
Brendan O'Dea [Mon, 18 Apr 2005 04:18:15 +0000 (04:18 +0000)]
more state_state removal

19 years agomissed merge from stable branch
Brendan O'Dea [Fri, 1 Apr 2005 08:55:29 +0000 (08:55 +0000)]
missed merge from stable branch

19 years agoreset .die on master takeover
Brendan O'Dea [Fri, 1 Apr 2005 08:46:03 +0000 (08:46 +0000)]
reset .die on master takeover

19 years agoonly send RADIUS stop in sessionshutdown if there's an ip address
Brendan O'Dea [Fri, 1 Apr 2005 06:39:00 +0000 (06:39 +0000)]
only send RADIUS stop in sessionshutdown if there's an ip address

19 years ago*** empty log message ***
Brendan O'Dea [Thu, 10 Mar 2005 06:18:47 +0000 (06:18 +0000)]
*** empty log message ***

19 years agoadd result/error codes to CDN; use "try another" on out of IP addresses
Brendan O'Dea [Thu, 10 Mar 2005 06:16:05 +0000 (06:16 +0000)]
add result/error codes to CDN; use "try another" on out of IP addresses

19 years agoadd result/error codes to StopCCN
Brendan O'Dea [Thu, 10 Mar 2005 06:12:02 +0000 (06:12 +0000)]
add result/error codes to StopCCN

19 years agoadd result/error codes to StopCCN
Brendan O'Dea [Thu, 10 Mar 2005 05:47:24 +0000 (05:47 +0000)]
add result/error codes to StopCCN

19 years agosave state is no more
Brendan O'Dea [Thu, 10 Mar 2005 05:46:55 +0000 (05:46 +0000)]
save state is no more

19 years agoallow username to be set when ungardening
Brendan O'Dea [Thu, 10 Mar 2005 03:31:25 +0000 (03:31 +0000)]
allow username to be set when ungardening

19 years agosimplify AVP unhiding code
Brendan O'Dea [Thu, 10 Mar 2005 03:08:07 +0000 (03:08 +0000)]
simplify AVP unhiding code

19 years agomerge back 2.0 branch changes
Brendan O'Dea [Mon, 14 Feb 2005 06:58:38 +0000 (06:58 +0000)]
merge back 2.0 branch changes

19 years agobump MAXSESSION
Brendan O'Dea [Wed, 9 Feb 2005 02:39:05 +0000 (02:39 +0000)]
bump MAXSESSION

19 years agouse constant
Brendan O'Dea [Wed, 9 Feb 2005 02:38:51 +0000 (02:38 +0000)]
use constant

19 years agooff by one
Brendan O'Dea [Wed, 9 Feb 2005 00:45:34 +0000 (00:45 +0000)]
off by one

19 years agoremove unmaintained "save_state" option
Brendan O'Dea [Wed, 9 Feb 2005 00:16:17 +0000 (00:16 +0000)]
remove unmaintained "save_state" option

19 years agomake some functions static
Brendan O'Dea [Tue, 8 Feb 2005 01:20:38 +0000 (01:20 +0000)]
make some functions static

19 years agodon't send 4 byte header when snooping v6 packets
Brendan O'Dea [Tue, 25 Jan 2005 04:38:49 +0000 (04:38 +0000)]
don't send 4 byte header when snooping v6 packets

19 years agofinish incorporating ipv6 patches
Brendan O'Dea [Tue, 25 Jan 2005 04:19:04 +0000 (04:19 +0000)]
finish incorporating ipv6 patches

19 years agodoh
Brendan O'Dea [Thu, 13 Jan 2005 08:42:52 +0000 (08:42 +0000)]
doh

19 years agouse ctime rather than duration
Brendan O'Dea [Thu, 13 Jan 2005 08:26:25 +0000 (08:26 +0000)]
use ctime rather than duration

19 years agomove duration to before cmd_show_counters
Brendan O'Dea [Thu, 13 Jan 2005 08:03:04 +0000 (08:03 +0000)]
move duration to before cmd_show_counters

19 years agorename sess_count to sess_local, fiddle with packet_limit log output
Brendan O'Dea [Thu, 13 Jan 2005 07:57:35 +0000 (07:57 +0000)]
rename sess_count to sess_local, fiddle with packet_limit log output

19 years agolog CLI connections at 4 from localhost; show last counter reset
Brendan O'Dea [Thu, 13 Jan 2005 07:05:56 +0000 (07:05 +0000)]
log CLI connections at 4 from localhost; show last counter reset

19 years agofix show counters alignment
Brendan O'Dea [Wed, 12 Jan 2005 05:21:26 +0000 (05:21 +0000)]
fix show counters alignment

19 years agofix "clear counters"
Brendan O'Dea [Mon, 10 Jan 2005 08:00:43 +0000 (08:00 +0000)]
fix "clear counters"

19 years agomissing newline
Brendan O'Dea [Mon, 10 Jan 2005 07:45:03 +0000 (07:45 +0000)]
missing newline

19 years agomore DoS prevention: add packet_limit option to apply a hard limit to downstream...
Brendan O'Dea [Mon, 10 Jan 2005 07:17:37 +0000 (07:17 +0000)]
more DoS prevention: add packet_limit option to apply a hard limit to downstream packets per session

19 years agoCHAP support from Jordan Hrycaj (work in progress)
Brendan O'Dea [Fri, 7 Jan 2005 07:19:19 +0000 (07:19 +0000)]
CHAP support from Jordan Hrycaj (work in progress)

19 years agoCHAP support
Brendan O'Dea [Fri, 7 Jan 2005 07:18:33 +0000 (07:18 +0000)]
CHAP support

19 years agoCSTAT() adds "call_"; CHAP support
Brendan O'Dea [Fri, 7 Jan 2005 07:17:13 +0000 (07:17 +0000)]
CSTAT() adds "call_"; CHAP support

19 years agofix format strings; add call_random_data to counters
Brendan O'Dea [Fri, 7 Jan 2005 07:15:10 +0000 (07:15 +0000)]
fix format strings; add call_random_data to counters

19 years agoCSTAT() adds "call_"
Brendan O'Dea [Fri, 7 Jan 2005 07:14:14 +0000 (07:14 +0000)]
CSTAT() adds "call_"

19 years agoadd -Wformat-security -Wno-format-zero-length
Brendan O'Dea [Thu, 6 Jan 2005 02:35:03 +0000 (02:35 +0000)]
add -Wformat-security -Wno-format-zero-length

19 years agocomment
Brendan O'Dea [Wed, 5 Jan 2005 14:35:01 +0000 (14:35 +0000)]
comment

19 years agoAdd Jordan (chap patches)
Brendan O'Dea [Wed, 5 Jan 2005 13:51:26 +0000 (13:51 +0000)]
Add Jordan (chap patches)

19 years agouse bounds-checking lookup functions for string constants
Brendan O'Dea [Wed, 5 Jan 2005 13:50:30 +0000 (13:50 +0000)]
use bounds-checking lookup functions for string constants
use random_data() to set radius[].auth

19 years agouse bounds-checking lookup functions for string constants
Brendan O'Dea [Wed, 5 Jan 2005 13:45:49 +0000 (13:45 +0000)]
use bounds-checking lookup functions for string constants
replace some magic numbers with enum

19 years agouse bounds-checking lookup functions for string constants
Brendan O'Dea [Wed, 5 Jan 2005 13:37:56 +0000 (13:37 +0000)]
use bounds-checking lookup functions for string constants

20 years agotypo
Brendan O'Dea [Wed, 22 Dec 2004 05:30:58 +0000 (05:30 +0000)]
typo

20 years agosanity check that cluster_send_session is not called from a child process
Brendan O'Dea [Mon, 20 Dec 2004 07:23:41 +0000 (07:23 +0000)]
sanity check that cluster_send_session is not called from a child process
throttle outgoing LASTSEEN packets to at most one per second for a given seq#

20 years agostart merging Jonathan's IPv6 patches (01-defines, 02-ipv6-cli)
Brendan O'Dea [Sat, 18 Dec 2004 01:20:05 +0000 (01:20 +0000)]
start merging Jonathan's IPv6 patches (01-defines, 02-ipv6-cli)

20 years agocount select_called, multi_read_used and multi_read_exceeded
Brendan O'Dea [Fri, 17 Dec 2004 00:28:00 +0000 (00:28 +0000)]
count select_called, multi_read_used and multi_read_exceeded

20 years agoadd counters for select_called, select_ready and select_processed
Brendan O'Dea [Thu, 16 Dec 2004 23:40:30 +0000 (23:40 +0000)]
add counters for select_called, select_ready and select_processed
fix cli_print format strings

20 years agomissed arg
Brendan O'Dea [Thu, 16 Dec 2004 08:54:16 +0000 (08:54 +0000)]
missed arg

20 years agouse standard uintN_t types for portability
Brendan O'Dea [Thu, 16 Dec 2004 08:49:52 +0000 (08:49 +0000)]
use standard uintN_t types for portability

20 years agocosmetic logging change
Brendan O'Dea [Thu, 16 Dec 2004 03:03:41 +0000 (03:03 +0000)]
cosmetic logging change

20 years agoallow compilation with BGP unset
Brendan O'Dea [Wed, 15 Dec 2004 03:09:56 +0000 (03:09 +0000)]
allow compilation with BGP unset

20 years agoremove old cruft
Brendan O'Dea [Wed, 15 Dec 2004 03:02:16 +0000 (03:02 +0000)]
remove old cruft

20 years agotypo
Brendan O'Dea [Wed, 15 Dec 2004 02:56:38 +0000 (02:56 +0000)]
typo