Commit graph

416 commits

Author SHA1 Message Date
Brendan O'Dea
8eebdb18f2 Add interim accounting support from Vladislav Bjelic 2005-05-05 10:02:06 +00:00
Brendan O'Dea
07db0c42ba - 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.
2005-05-05 02:39:54 +00:00
Brendan O'Dea
a24e3186ff Add a Cisco-Avpair with intercept details to RADIUS Start/Stop records 2005-05-03 05:11:34 +00:00
Brendan O'Dea
a2056a2184 use cli_error() for error messages and help 2005-05-02 09:55:04 +00:00
Brendan O'Dea
7514d053bc 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).
2005-05-02 09:06:05 +00:00
Brendan O'Dea
4db668744a consistent messages 2005-04-27 13:53:15 +00:00
Brendan O'Dea
3b84520c73 remove dead session fields 2005-04-18 05:32:16 +00:00
Brendan O'Dea
621983b8d0 remove dead session fields 2005-04-18 05:07:20 +00:00
Brendan O'Dea
f9603d4832 more state_state removal 2005-04-18 04:18:15 +00:00
Brendan O'Dea
804d90bb98 missed merge from stable branch 2005-04-01 08:55:29 +00:00
Brendan O'Dea
d7fbaf8b70 reset .die on master takeover 2005-04-01 08:46:03 +00:00
Brendan O'Dea
4f94b2184e only send RADIUS stop in sessionshutdown if there's an ip address 2005-04-01 06:39:00 +00:00
Brendan O'Dea
bedc556e1e *** empty log message *** 2005-03-10 06:18:47 +00:00
Brendan O'Dea
57aa5ef53d add result/error codes to CDN; use "try another" on out of IP addresses 2005-03-10 06:16:05 +00:00
Brendan O'Dea
aa80a00724 add result/error codes to StopCCN 2005-03-10 06:12:02 +00:00
Brendan O'Dea
4b0c9226f7 add result/error codes to StopCCN 2005-03-10 05:47:24 +00:00
Brendan O'Dea
ecbeaedee6 save state is no more 2005-03-10 05:46:55 +00:00
Brendan O'Dea
a415c8e5f6 allow username to be set when ungardening 2005-03-10 03:31:25 +00:00
Brendan O'Dea
7a42b7193b simplify AVP unhiding code 2005-03-10 03:08:07 +00:00
Brendan O'Dea
983b38e12f merge back 2.0 branch changes 2005-02-14 06:58:38 +00:00
Brendan O'Dea
d833d6c26a bump MAXSESSION 2005-02-09 02:39:05 +00:00
Brendan O'Dea
df834e98ff use constant 2005-02-09 02:38:51 +00:00
Brendan O'Dea
d93ad23283 off by one 2005-02-09 00:45:34 +00:00
Brendan O'Dea
be29ef6cb2 remove unmaintained "save_state" option 2005-02-09 00:16:17 +00:00
Brendan O'Dea
bdb517e525 make some functions static 2005-02-08 01:20:38 +00:00
Brendan O'Dea
b5d3f182cd don't send 4 byte header when snooping v6 packets 2005-01-25 04:38:49 +00:00
Brendan O'Dea
08360e49b4 finish incorporating ipv6 patches 2005-01-25 04:19:04 +00:00
Brendan O'Dea
1c209703a3 doh 2005-01-13 08:42:52 +00:00
Brendan O'Dea
69d5f5d085 use ctime rather than duration 2005-01-13 08:26:25 +00:00
Brendan O'Dea
5d609c89f2 move duration to before cmd_show_counters 2005-01-13 08:03:04 +00:00
Brendan O'Dea
17fd46618e rename sess_count to sess_local, fiddle with packet_limit log output 2005-01-13 07:57:35 +00:00
Brendan O'Dea
17714a3ca7 log CLI connections at 4 from localhost; show last counter reset 2005-01-13 07:05:56 +00:00
Brendan O'Dea
0a443cca73 fix show counters alignment 2005-01-12 05:21:26 +00:00
Brendan O'Dea
972a4feb70 fix "clear counters" 2005-01-10 08:00:43 +00:00
Brendan O'Dea
60d1a5f35a missing newline 2005-01-10 07:45:03 +00:00
Brendan O'Dea
4d76778200 more DoS prevention: add packet_limit option to apply a hard limit to downstream packets per session 2005-01-10 07:17:37 +00:00
Brendan O'Dea
ef828aaac5 CHAP support from Jordan Hrycaj (work in progress) 2005-01-07 07:19:19 +00:00
Brendan O'Dea
5e68a154b6 CHAP support 2005-01-07 07:18:33 +00:00
Brendan O'Dea
04d0b477be CSTAT() adds "call_"; CHAP support 2005-01-07 07:17:13 +00:00
Brendan O'Dea
c9dedbc735 fix format strings; add call_random_data to counters 2005-01-07 07:15:10 +00:00
Brendan O'Dea
2e11f00642 CSTAT() adds "call_" 2005-01-07 07:14:14 +00:00
Brendan O'Dea
19a90ac4d9 add -Wformat-security -Wno-format-zero-length 2005-01-06 02:35:03 +00:00
Brendan O'Dea
89eb5a00ec comment 2005-01-05 14:35:01 +00:00
Brendan O'Dea
411a4819f0 Add Jordan (chap patches) 2005-01-05 13:51:26 +00:00
Brendan O'Dea
efd5b85a33 use bounds-checking lookup functions for string constants
use random_data() to set radius[].auth
2005-01-05 13:50:30 +00:00
Brendan O'Dea
692ad810ce use bounds-checking lookup functions for string constants
replace some magic numbers with enum
2005-01-05 13:45:49 +00:00
Brendan O'Dea
2a09904461 use bounds-checking lookup functions for string constants 2005-01-05 13:37:56 +00:00
Brendan O'Dea
5c3bc79ed4 typo 2004-12-22 05:30:58 +00:00
Brendan O'Dea
8454a49d0c 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#
2004-12-20 07:23:41 +00:00
Brendan O'Dea
54443c26c4 start merging Jonathan's IPv6 patches (01-defines, 02-ipv6-cli) 2004-12-18 01:20:05 +00:00