Commit graph

53 commits

Author SHA1 Message Date
bodea
071f1d77eb more chap 2005-05-08 06:28:12 +00:00
bodea
6799ee6826 more lcp auth changes 2005-05-07 13:12:25 +00:00
bodea
98b15d3dd0 configure MRU in initlcp 2005-05-07 11:57:53 +00:00
bodea
c266121a2c *** empty log message *** 2005-05-07 08:53:23 +00:00
bodea
59b55de4d7 more CHAP changes 2005-05-07 08:17:25 +00:00
bodea
1642e0dbaa Add interim accounting support from Vladislav Bjelic 2005-05-05 10:02:06 +00:00
bodea
469f01fe49 consistent messages 2005-04-27 13:53:15 +00:00
bodea
811379c1a6 add result/error codes to CDN; use "try another" on out of IP addresses 2005-03-10 06:16:05 +00:00
bodea
29c173cadc allow username to be set when ungardening 2005-03-10 03:31:25 +00:00
bodea
7825a26691 merge back 2.0 branch changes 2005-02-14 06:58:38 +00:00
bodea
9a77f7fa6a don't send 4 byte header when snooping v6 packets 2005-01-25 04:38:49 +00:00
bodea
97ad99cc23 finish incorporating ipv6 patches 2005-01-25 04:19:04 +00:00
bodea
e55b28c107 rename sess_count to sess_local, fiddle with packet_limit log output 2005-01-13 07:57:35 +00:00
bodea
f00ae0afdc use bounds-checking lookup functions for string constants
use random_data() to set radius[].auth
2005-01-05 13:50:30 +00:00
bodea
6b1075b65c use standard uintN_t types for portability 2004-12-16 08:49:52 +00:00
bodea
3b7755fd2b *cough* 2004-11-30 19:34:57 +00:00
bodea
280e18d0dc fix byte ordering in log 2004-11-30 01:35:19 +00:00
bodea
037b9bd3ee *** empty log message *** 2004-11-30 01:10:44 +00:00
bodea
951e323abd *** empty log message *** 2004-11-30 01:08:21 +00:00
bodea
d9211ca5fc copy identifier from request for ConfigNak, ConfigRej; update LCP
header length
2004-11-30 00:50:03 +00:00
bodea
bc5b25832a 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
bodea
386fbf71ab add filtering 2004-11-28 20:09:52 +00:00
bodea
12f16f60c1 - 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
bodea
98e9766a66 oop 2004-11-25 12:46:48 +00:00
bodea
e81de14faf reinstate sendccp as initccp; send only once 2004-11-25 12:41:35 +00:00
bodea
6fbc46c03b - 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
bodea
2455ce5da0 Allow LCP re-negotiation after connection completes 2004-11-18 13:15:28 +00:00
bodea
27329d23aa - 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
bodea
0076e25dee *** empty log message *** 2004-11-09 05:49:08 +00:00
bodea
c94265dbc2 *** empty log message *** 2004-11-09 05:48:28 +00:00
bodea
1be4c47f88 Fix intercepts: don't double-snoop throttled customers, ensure
byte/packet counts are only updated once
2004-11-09 05:42:53 +00:00
bodea
1e77cbf108 Nak asyncmap (unless == 0)
bundle ConfigRej options
2004-11-05 23:18:54 +00:00
bodea
d2c470fb4e use LOG for logging macro
clean up initlcp handling
2004-11-05 04:55:25 +00:00
bodea
af4e0b7d1f use constants 2004-11-05 02:21:55 +00:00
bodea
2ca0cabce4 send snooped packets before adding the tun header 2004-11-04 23:33:13 +00:00
bodea
6b74bac40e cleanup packet length handling 2004-11-03 13:22:39 +00:00
bodea
6c12196d4e typo 2004-10-29 04:01:53 +00:00
fred_nerk
dedb360c1a - Renegotiate MRU - Yuri
- Take LCP ConfigReq length from the packet length field - Yuri
2004-09-23 04:01:36 +00:00
fred_nerk
7f13b85569 Add support for Hidden AVPs and chap-response 2004-09-19 23:19:23 +00:00
fred_nerk
272e831e80 Cleanups and sync 2004-09-02 04:18:07 +00:00
fred_nerk
32febcb0c7 Set a maximum time to wait for radius to be ready on shutdown 2004-08-26 04:43:52 +00:00
fred_nerk
43d0275f6d 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
fred_nerk
4b16fcbdfd Allow cli session changes to happen if the session is timing out 2004-08-02 06:06:28 +00:00
fred_nerk
6e3d21bbdc - Add support for LCP Ident and CallBack (rejection only) from Yuri
- Initiate LCP if not attempted by the client
2004-08-02 05:40:21 +00:00
fred_nerk
8c861521ae - Write pid file if filename is set
- Add startup script and monitor script from Yuri
- Some logging correctness fixes from Iain Wade
- Combined LCP patches from Iain and Yuri. This should allow Windows 2k/XP
  clients to connect, as well Linksys DSL modems.
2004-08-02 03:38:01 +00:00
bodea
3ef237977d - 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
bodea
570d0d5385 - 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
fred_nerk
eb3a6cd62d * Update cli callbacks to work with libcli 1.6.
This supports privileged and unprivileged commands, as well as a configuration
  mode
* Add help for all cli commands
* Add "show version" command
* Fix uptime counter display
* Fix nasty bug where cluster basetime can be set to 0 when sending initial
  heartbeat
* Don't rmmod ip_conntrack, as this can take a lot of time
* Re-order logging in routeset such that the action is given before any error
* Use the correct gateway address when deleting routes
* Remove any routes when address changes
* Require authentication if telnet from remote ip
* Require enable password always
* Return error if show pool done on slave
* We MUST immediately exit if we're the wrong master!
2004-06-28 02:43:13 +00:00
fred_nerk
ed90ea49e0 * Wed Jun 23 2004 David Parrish <david@dparrish.com> 2.0.0
- Major release
- Completely replace active/standby clustering with a new peer-to-peer
  clustering method which allows much greater throughput and is a lot more fault
  tolerant
- Add internal tbf implementation for throttling without relying on tc and
  kernel HTB
- Add support for iBGP and eBGP to advertise routes
- Add cli commands "show cluster", "show bgp", "show ipcache", "show throttle",
  "show tbf", "suspend bgp", "restart bgp", "show user"
- Interception destination must be set per-user
- If SMP machine, allow use of SCHED_FIFO, which should improve performance
- Added config option to send GARP at startup
- Added plugin_become_master and plugin_new_session_master plugin hooks
- Remove useless sessionsendarp(). This isn't needed now that we are using TUN
  instead of TAP.
- ICMP rate limiting so not every unreachable packet is replied with an ICMP
  unreachable message
- mangle table is not required on anything but the cluster master, so slaves
  will drop the mangle table and attempt to unload the ip_conntrack module
- Statically assigned IP addresses (by Radius) work now
- Add -d command-line flag to detach and become a daemon
- Configuration file is now "/etc/l2tpns/startup-config"
- Reduced MIN_IP_SIZE to 0x19 to stop a pile of Short IP warnings
- Resend initial IPCP request until it's acknowleged by the client
- Better radius session cleanup logic
- Many miscellaenous bugfixes and performance enhancements
- Thanks to Michael O'Reilly and Brendan O'Dea for most of these new features
2004-06-23 03:52:24 +00:00
fred_nerk
1af4c16721 Use multiple radius sockets to allow more concurrent authentication requests
Remove per-packet plugin hooks (they are slow)
2004-05-24 04:26:01 +00:00