Commit graph

56 commits

Author SHA1 Message Date
bodea
ac773ac88d Apply MLPPP patch from Muhammad Tayseer Alquoatli, very belatedly, with
thanks.  Changes:
- Handle session shutdown gracefully regarding leaving the bundle (bug that is
  caused when a all session leaves a bundle then another join)
- IP assignment is done only for the first session in the bundle (save IP
  waste for multiple MLPPP sessions)
- Route is being added only for the first session in the bundle (less routes
  on l2tpns system)
- Fix route deletion problem for MLPPP sessions (bug that caused when a
  session leaves a bundle)
- Uniformity of sequence number space satisfied (according to RFC1990)
- Fix reassembling fragmented packets and handling lost fragments (according
  to RFC 1990)
- FragmentatConnection to l2tpns.cvs.sourceforge.net closed by remote host.n
  across N session rather than two)
- Sequence numbers extraction mask has been corrected (bug in extracting
  sequence numbers)
- some clustering support fixes
- Upload/Download statistics has been corrected
- add "kill_timedout_sessions" config option
2009-12-08 14:49:28 +00:00
bodea
33f430ac77 allow DNS servers to be specified using either old or new vendor-specific Ascend formats 2006-08-02 14:17:30 +00:00
bodea
cb031e775d cleanup clash between timeout and session_timout 2006-08-02 13:35:39 +00:00
bodea
a1772fdad1 fix sign problem with reporting of unknown RADIUS VSAs 2006-08-02 12:54:45 +00:00
bodea
9bc9ec99e6 add radius_bind_{min,max} options 2006-07-01 12:40:10 +00:00
bodea
e6bb332ba2 add session/idle timeouts 2006-06-11 12:46:18 +00:00
bodea
5e631c6978 add Multilink support from Khaled Al Hamwi 2006-04-27 09:53:49 +00:00
bodea
b089008c05 add Acct-Terminate-Cause to RADIUS stop records 2006-04-13 11:14:35 +00:00
bodea
42bf2e312d set source address for DAE responses 2006-04-05 02:13:48 +00:00
bodea
ea91ab4562 add service-type/framed-protocol to RADIUS records 2005-12-19 06:18:13 +00:00
bodea
6ec70a632b run PLUGIN_RADIUS_ACCOUNT for Start records 2005-12-09 00:43:17 +00:00
bodea
149c87a729 add Framed-Route entries to RADIUS records 2005-10-19 03:09:29 +00:00
bodea
f6b56a0f4d add Cisco-AVPairs to RADIUS accounting records via plugin_radius_account 2005-10-11 09:04:53 +00:00
foonly
f333003786 Fix RADIUS authentication on DAE responses. 2005-10-11 02:27:40 +00:00
bodea
c463b012b7 fix Calling-Station-Id in RADIUS accounting records 2005-09-30 13:13:26 +00:00
bodea
b70e7cef20 increase size of PPP buffers to MAXETHER 2005-08-31 12:41:09 +00:00
bodea
04879a503b re-instate local md5.[ch] 2005-08-12 13:48:19 +00:00
bodea
2211825760 normalise session, tunnel args 2005-08-10 11:25:56 +00:00
bodea
6f2dddc914 include Acct-Session-Time in interim records 2005-07-31 10:35:39 +00:00
bodea
afc8f4c6c0 - Replace flags used for LCP/IPCP with state machine.
- Use openssl MD5, fix DAE vector (Alex Kiernan).
2005-07-31 10:04:09 +00:00
bodea
e020fbba4d always call filter_session on CoA 2005-06-30 14:31:26 +00:00
bodea
fe6177d6ec Don't restrict DAE requests to the configured RADIUS servers 2005-06-30 06:13:40 +00:00
bodea
4f253feef0 add DAE support (PoD/CoA) from Vladislav Bjelic 2005-06-28 14:48:17 +00:00
bodea
ec4de7f8c5 Include endpoint address in accounting dump files.
Convert mainloop to use epoll rather than select.
2005-06-04 15:42:35 +00:00
bodea
10b6ddcfc1 merge in changes from 2.0 branch; fix byte counters in accounting records, add gigawords 2005-06-02 11:32:30 +00:00
bodea
af44e3e3bc fix RADIUS indexing (should have 16K entries with 64 sockets) 2005-05-16 04:51:16 +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
1ba0a50edc Add a Cisco-Avpair with intercept details to RADIUS Start/Stop records 2005-05-03 05:11:34 +00:00
bodea
469f01fe49 consistent messages 2005-04-27 13:53:15 +00:00
bodea
5f9801f30e remove dead session fields 2005-04-18 05:07:20 +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
7825a26691 merge back 2.0 branch changes 2005-02-14 06:58:38 +00:00
bodea
97ad99cc23 finish incorporating ipv6 patches 2005-01-25 04:19:04 +00:00
bodea
bbe84e53bf comment 2005-01-05 14:35:01 +00:00
bodea
c8ec92d66c use bounds-checking lookup functions for string constants
replace some magic numbers with enum
2005-01-05 13:45:49 +00:00
bodea
6b1075b65c use standard uintN_t types for portability 2004-12-16 08:49:52 +00:00
bodea
63f4e051f5 more paranoid length checking for RADIUS replies 2004-11-30 06:50:26 +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
0a29a72f55 update filter refcounts
add cli commands for filtering/unfiltering
2004-11-28 02:53:11 +00:00
bodea
4b25f13aef filters 2004-11-27 21:10:50 +00:00
bodea
d76fce9105 parse Filter-Id attributes 2004-11-27 20:42:02 +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
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
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
d2c470fb4e use LOG for logging macro
clean up initlcp handling
2004-11-05 04:55:25 +00:00
fred_nerk
272e831e80 Cleanups and sync 2004-09-02 04:18:07 +00:00
fred_nerk
ba1abbbd05 Makefile fix and config radius port patches from JK 2004-07-26 00:20:41 +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
def1dfd3cc - 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