Commit graph

112 commits

Author SHA1 Message Date
Brendan O'Dea
39071c8ab5 Don't resend IPCP while still in progress 2005-06-24 07:05:03 +00:00
Brendan O'Dea
02bdc1c32b fix segv in unhide_value 2005-06-14 04:47:24 +00:00
Brendan O'Dea
1c08f2bf3b Always initialise PRNG.
Sanity check length of random_vector.
2005-06-14 03:36:16 +00:00
Brendan O'Dea
401271b5bb - Don't send CDN for each session when shutting down tunnels (this is
implicit).
- Move tunnel shutdown from SIGQUIT signal handler to be run once from
  still_busy().  Reject new tunnels/sessions while in the process of
  shutting down.
2005-06-12 06:10:29 +00:00
Brendan O'Dea
b830a899ca Include endpoint address in accounting dump files.
Convert mainloop to use epoll rather than select.
2005-06-04 15:42:35 +00:00
Brendan O'Dea
bd2ec60149 merge in changes from 2.0 branch; fix byte counters in accounting records, add gigawords 2005-06-02 11:32:30 +00:00
Brendan O'Dea
404aee88c9 add "allow_duplicate_users" config option 2005-06-02 04:04:07 +00:00
Brendan O'Dea
83699acac6 merge cluster fixes from release_2_0 branch 2005-05-26 12:17:30 +00:00
Brendan O'Dea
847b4c6b1d fix RADIUS indexing (should have 16K entries with 64 sockets) 2005-05-16 04:51:16 +00:00
Brendan O'Dea
c650fd367a always send LCP ConfigReq after we get ICCN 2005-05-13 01:29:40 +00:00
Brendan O'Dea
344fe61510 send CDN when ICRQ cannot be accepted (no sessions, no RADIUS) 2005-05-12 04:08:45 +00:00
Brendan O'Dea
8dbbff949f init pluginfuncs properly 2005-05-10 08:48:00 +00:00
Brendan O'Dea
c909485d50 fix radius_authtypes parsing 2005-05-09 20:48:00 +00:00
Brendan O'Dea
8e607fbac3 more lcp auth changes 2005-05-07 13:12:25 +00:00
Brendan O'Dea
998f1c564e configure MRU in initlcp 2005-05-07 11:57:53 +00:00
Brendan O'Dea
c07a2e8553 *** empty log message *** 2005-05-07 08:53:23 +00:00
Brendan O'Dea
0f28e4f964 more CHAP changes 2005-05-07 08:17:25 +00:00
Brendan O'Dea
f9e4ccb5e9 typo 2005-05-06 23:31:50 +00:00
Brendan O'Dea
20c0473753 missing newline on log message 2005-05-06 06:35:37 +00:00
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
4db668744a consistent messages 2005-04-27 13:53:15 +00:00
Brendan O'Dea
621983b8d0 remove dead session fields 2005-04-18 05:07:20 +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
4b0c9226f7 add result/error codes to StopCCN 2005-03-10 05:47:24 +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
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
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
17fd46618e rename sess_count to sess_local, fiddle with packet_limit log output 2005-01-13 07:57:35 +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
5e68a154b6 CHAP support 2005-01-07 07:18:33 +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
Brendan O'Dea
ddfdb8e32a count select_called, multi_read_used and multi_read_exceeded 2004-12-17 00:28:00 +00:00
Brendan O'Dea
0ab682e580 add counters for select_called, select_ready and select_processed
fix cli_print format strings
2004-12-16 23:40:30 +00:00
Brendan O'Dea
8dd1897a89 missed arg 2004-12-16 08:54:16 +00:00
Brendan O'Dea
9d199a1046 use standard uintN_t types for portability 2004-12-16 08:49:52 +00:00
Brendan O'Dea
fcf03c43e3 cosmetic logging change 2004-12-16 03:03:41 +00:00
Brendan O'Dea
d4191490e7 defer shutdown counters for a minute after normal acct dump 2004-12-13 05:27:19 +00:00
Brendan O'Dea
9eead72450 typo 2004-12-13 05:20:39 +00:00
Brendan O'Dea
4577ff0e9b don't trample n 2004-12-13 05:09:35 +00:00
Brendan O'Dea
cda8d6eddd retain counters of shutdown sessions to dump once per minute 2004-12-13 02:27:30 +00:00
Brendan O'Dea
2dbea54201 typo 2004-12-09 13:05:00 +00:00
Brendan O'Dea
f7cda1ed1b read multiple packets off cluster_sockfd as well as udpfd, tunfd 2004-12-09 00:50:45 +00:00