Commit graph

57 commits

Author SHA1 Message Date
Brendan O'Dea
68606812dc "show running-config" output contains clear-text shared secrets; require enable 2005-05-09 08:53:50 +00:00
Brendan O'Dea
8eebdb18f2 Add interim accounting support from Vladislav Bjelic 2005-05-05 10:02:06 +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
621983b8d0 remove dead session fields 2005-04-18 05:07:20 +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
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
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
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
c9dedbc735 fix format strings; add call_random_data to counters 2005-01-07 07:15:10 +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
9d199a1046 use standard uintN_t types for portability 2004-12-16 08:49:52 +00:00
Brendan O'Dea
c5d43c5577 allow compilation with BGP unset 2004-12-15 03:09:56 +00:00
Brendan O'Dea
502ab27352 skip newlines in ringbuffer messages 2004-12-03 06:41:11 +00:00
Brendan O'Dea
c223bc0c14 cosmetic 2004-12-01 02:51:06 +00:00
Brendan O'Dea
fe6308444e typo 2004-11-29 12:36:54 +00:00
Brendan O'Dea
659c46ff4f disallow "fragments" on rules with layer 4 matches 2004-11-29 06:30:05 +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
5e337e7ed9 filters 2004-11-27 21:10:50 +00:00
Brendan O'Dea
0133cf7236 allow - in filter names; include in "show session" output 2004-11-27 20:41:41 +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
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
834b1001ca *** empty log message *** 2004-11-11 06:13:29 +00:00
Brendan O'Dea
8192b61353 new libcli required 2004-11-11 05:38:01 +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
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
caeeb2635b values not set yet 2004-11-04 23:41:54 +00:00
Brendan O'Dea
994c888b0b fix output format for TBFs 2004-11-02 06:45:36 +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
6f73a1b071 merge 2004-10-30 07:35:31 +00:00
Brendan O'Dea
4fa1b8bbfa unfsck 4->8 indenting change
hostname set via command line not config
2004-10-28 03:31:11 +00:00
David Parrish
947365e6fc Add mac address config option handling 2004-09-21 05:09:09 +00:00
David Parrish
3d72768fce Add configurable hostname 2004-09-19 23:26:46 +00:00
David Parrish
d52f68e6d3 Cleanups and sync 2004-09-02 04:18:07 +00:00
David Parrish
133cc062ad Make throttle without a username not crash 2004-08-26 06:24:12 +00:00
David Parrish
551daa285a Per-user upload and download throttle rates - Yuri
Make autothrottle.so understand cisco lcp:interface-config - Yuri
Show filter stats in show session - Yuri
2004-08-26 06:22:37 +00:00
David Parrish
8b14a0a8b1 Show full radius id in show radius 2004-08-26 04:38:40 +00:00
David Parrish
d490579025 Add renegotiation patch from Yuri (ppp-aug10-patch)
Indentation and style cleanups
Make md5.c use standard memcpy and memset
2004-08-13 00:02:50 +00:00
Brendan O'Dea
eae3c0527f - TerminateAck fix from Yuri
- Adject cli_loop args for libcli 1.8.0
- Allow for backward compatabity in C_PING packets
- Don't send RADIUS stop messages from sessionshutdown when called from
  sessionkill.
2004-07-11 07:57:33 +00:00
Brendan O'Dea
6adc660b49 - s/tap/tun/
- fix for LASTSEEN breakage:  don't do anything in the CLI other than
  flag changes to be made by the parent
- split out master parts from cluster_check_master() into cluster_check_slaves()
2004-07-08 16:54:35 +00:00
Brendan O'Dea
4ad7536258 - set hostname in CLI prompt
- add assertions to help identify odd LASTSEEN breakage
- make cluster_hb_interval work; include interval/timeout in heartbeats
  so that a change on the master is propagated immediately to the slaves
- use fast heartbeats when there are slaves not up to date
- ensure basetime of shut down master is set to zero (prevent delayed election)
- fix radius session leak on IPCP timeout
- fix some off-by-one errors in tunnel/session loops
2004-07-07 09:09:53 +00:00