Commit graph

177 commits

Author SHA1 Message Date
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
Brendan O'Dea
38abd6684e drop "Session N is closing" message level to 4; don't process PPPIP packets in this state 2004-12-05 23:45:04 +00:00
Brendan O'Dea
af2489f67a oops 2004-11-29 03:55:19 +00:00
Brendan O'Dea
2f5b811429 make "established" a different tcp flag match
add fragment handling
drop IP address from LOG macro (function)
2004-11-29 02:17:17 +00:00
Brendan O'Dea
80308e8838 add filtering 2004-11-28 20:09:52 +00:00
Brendan O'Dea
6d5c3ecb4d update filter refcounts
add cli commands for filtering/unfiltering
2004-11-28 02:53:11 +00:00
Brendan O'Dea
3057f5e655 - Revise CCP, send ConfigReq once only.
- Check control serial before clearing window, prevents looping tunnel
  setup in some instances.
- Add configuration syntax for adding named access lists (work in progress).
2004-11-27 05:19:53 +00:00
Brendan O'Dea
26fb3ab9ac continue, not return 2004-11-25 02:49:18 +00:00
Brendan O'Dea
0753f6fc9f - Drop sendccp. If client sends a CCP request for compression just NAK it.
- Don't copy the old buffer into Config{Nak,Rej} LCP responses (oops);
  add length checks when appending.
- Have makeppp print a backtrace on overflow.
2004-11-25 02:45:27 +00:00
Brendan O'Dea
a5da286a96 don't route Framed-IP-Address if contained in a Framed-Route 2004-11-18 09:02:29 +00:00
Brendan O'Dea
c79eb06333 pass cluster master state to plugin_control functions 2004-11-18 06:41:03 +00:00
Brendan O'Dea
eb6906a28c - Add startup-config(5) manpage.
- Add snoopctl, throttlectl plugins.
- Update documentation.
2004-11-17 15:08:19 +00:00
Brendan O'Dea
5e01d2924d - Add startup-config(5) manpage [FIXME].
- Revise nsctl to allow arbitrary strings/args to be passed to plugins.
2004-11-17 08:23:34 +00:00
David Parrish
5d4d6bb059 Add manpages from Jonathan McDowell
Remove reference to old -a command line argument
2004-11-16 21:54:46 +00:00
Brendan O'Dea
4f5ea4fbe0 - Ignore gateway address in Framed-Route (from Jonathan McDowell).
- Call sessionshutdown() when a tunnel is dropped rather than
  sessionkill() to ensure that RADIUS stop records are sent.
- Cleanup: make a bunch of global functions/variables static.
2004-11-16 07:54:32 +00:00
Brendan O'Dea
3ab5eeb379 make BGP keepalive/hold time configurable, revise config syntax 2004-11-11 03:07:42 +00:00
Brendan O'Dea
9cb9a8b436 add a callback to allow plugins to fetch values from the running config 2004-11-09 08:05:01 +00:00
Brendan O'Dea
32f6edf266 Fix intercepts: don't double-snoop throttled customers, ensure
byte/packet counts are only updated once
2004-11-09 05:42:53 +00:00
Brendan O'Dea
f0cab7b0b1 setsid 2004-11-05 07:50:05 +00:00
Brendan O'Dea
4e0597cd50 use LOG for logging macro
clean up initlcp handling
2004-11-05 04:55:25 +00:00
Brendan O'Dea
1a8d1e7b24 add peer_address config option 2004-11-05 02:47:47 +00:00
Brendan O'Dea
4da9597503 add length checks and comments to proxy LCP parsing 2004-11-05 02:25:25 +00:00
Brendan O'Dea
fa7204fcf4 byte counters are sent to the master frequently which resets the idle
counter, don't bother forwarding packets for this reason
2004-11-04 06:05:55 +00:00
Brendan O'Dea
c66fc8c6b9 retain subdomain of hostname if any 2004-11-04 05:08:36 +00:00
Brendan O'Dea
284e4dd546 make log a conditional macro for _log 2004-11-03 13:23:58 +00:00
Brendan O'Dea
8031ce79f6 fix cut-n-paste error 2004-11-02 06:45:03 +00:00
Brendan O'Dea
14013054f3 - Use 2 seperate u16 values for throttle rate in/out
- Defer adding radius fds to the select loop until become_master
2004-11-02 04:35:03 +00:00
Brendan O'Dea
060799b077 merge 2004-10-30 07:17:41 +00:00
Brendan O'Dea
cdf7603bf4 need to init_cli before loading config 2004-10-30 06:58:55 +00:00
Brendan O'Dea
7ecd8a42e5 make number of throttle buckets configurable 2004-10-29 04:01:11 +00:00
Brendan O'Dea
aa4877277a unused 2004-10-28 03:58:38 +00:00
Brendan O'Dea
290f8d05ab hostname set via command line not config 2004-10-28 03:31:39 +00:00
Brendan O'Dea
c775894509 fix command line args 2004-10-25 15:07:51 +00:00
David Parrish
020c472e75 Don't continue creating session if no IP addresses are free 2004-10-05 02:50:03 +00:00
David Parrish
5e9fdf2e5f Don't write accounting files if not required.
Fix checking for mmap success
2004-09-23 03:59:09 +00:00
David Parrish
aa750c5e05 l2tpns-dont-timeshift-unidirectional-traffic.patch 2004-09-20 23:34:35 +00:00