Commit graph

114 commits

Author SHA1 Message Date
Brendan O'Dea
71f2642774 only poll clifd if successfully bound 2006-04-23 23:18:30 +00:00
Brendan O'Dea
7462628249 don't shutdown on TerminateReq, wait for CDN 2006-04-18 06:00:07 +00:00
Brendan O'Dea
1b6a7a95e6 add Acct-Terminate-Cause to RADIUS stop records 2006-04-13 11:14:35 +00:00
Brendan O'Dea
0251304ce2 set source address for DAE responses 2006-04-05 02:13:48 +00:00
Brendan O'Dea
be9795fce9 fix IPCP length test to allow Terminate-Request (4 bytes) 2006-03-27 03:01:08 +00:00
Brendan O'Dea
b5ab056462 send configured magic-no in LCP EchoReq when LCP is opened 2005-12-20 04:57:16 +00:00
Brendan O'Dea
03d3752c9f fix session MRU, tunnel MTU 2005-12-19 06:08:42 +00:00
Brendan O'Dea
5151ca4054 drop backtrace 2005-12-14 02:19:15 +00:00
Brendan O'Dea
d14808035d run PLUGIN_RADIUS_ACCOUNT for Start records 2005-12-09 00:43:17 +00:00
Brendan O'Dea
42f10c1ea0 - Reject unknown/unconfigured protocols on the master.
- Sanity check MRU before using in ppp_code_rej, protoreject.
2005-12-07 05:21:37 +00:00
Brendan O'Dea
eba4c99dd2 boring: spacing change 2005-12-06 23:53:14 +00:00
Brendan O'Dea
f2cf5e1487 remove unused MAC config type 2005-12-06 00:00:31 +00:00
Brendan O'Dea
b3eeda4574 unused: sessiont.{ns,nr} 2005-12-05 14:10:42 +00:00
Brendan O'Dea
b78e45723b indicate spare (struct padding) bytes 2005-12-05 13:56:12 +00:00
Brendan O'Dea
9ca5c6e72e add test/ping-sweep 2005-11-25 02:18:40 +00:00
Brendan O'Dea
b3c856c934 set MTU on tunnel interface so the kernel will re-fragment large packets to within MRU 2005-11-17 07:35:35 +00:00
Brendan O'Dea
2d66b44732 fix fragment handling in ip_filter 2005-11-14 08:38:02 +00:00
Brendan O'Dea
10c35633a5 - Reset restart counters correctly.
- Reset timers on sending ConfigReq.
- Only send one RADIUS Start record, even if IPCP is restarted.
2005-11-04 14:41:50 +00:00
Brendan O'Dea
4b3b34b994 fix LCP Echo frequency 2005-10-18 07:19:28 +00:00
Brendan O'Dea
9f4e77cdac add intercept-capture script 2005-10-12 07:16:13 +00:00
Brendan O'Dea
2d71fa112c don't send tunnel HELLO when there are pending control messages 2005-10-11 07:06:56 +00:00
Brendan O'Dea
d266f5fc93 fix Calling-Station-Id in RADIUS accounting records 2005-09-30 13:13:26 +00:00
Brendan O'Dea
1d2a952feb move code from signal handlers into mainloop, avoiding a race
condition when forking CLI
2005-09-19 00:29:12 +00:00
Brendan O'Dea
bde7904f92 - Add l2tp_mtu configuration option, used to define MRU, MSS.
- Adjust TCP MSS options in SYN and SYN,ACK packets to avoid
  fragmentation of tcp packets.
2005-09-16 05:04:28 +00:00
Brendan O'Dea
0c678c5a03 make MRU configurable, NAK config requests for larger values 2005-09-15 09:34:46 +00:00
Brendan O'Dea
733f582897 fix code-reject/protocol-reject 2005-09-13 14:23:07 +00:00
Brendan O'Dea
30a697b2b1 any traffic on a tunnel resets lastrec, not just control messages 2005-09-12 05:16:42 +00:00
Brendan O'Dea
2b05f31dc7 add cluster_mcast_ttl option 2005-09-02 23:59:56 +00:00
Brendan O'Dea
3fdc1ce373 avoid Code-Reject loop 2005-08-31 12:38:38 +00:00
Brendan O'Dea
43196d6577 handle rejection of MRU negotiation by peer 2005-08-29 06:17:53 +00:00
Brendan O'Dea
87a0b48170 drop level of "Unexpected CHAP message" log 2005-08-24 23:44:08 +00:00
Brendan O'Dea
567f8e3653 fail IPCP negotiation only on ConfigRej of IP-Address 2005-08-17 03:56:27 +00:00
Brendan O'Dea
f22a9cebbe normalise session, tunnel args 2005-08-10 11:25:56 +00:00
Brendan O'Dea
aabf1d3fe9 - 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
Brendan O'Dea
a685501f64 add DAE support (PoD/CoA) from Vladislav Bjelic 2005-06-28 14:48:17 +00:00
Brendan O'Dea
39071c8ab5 Don't resend IPCP while still in progress 2005-06-24 07:05:03 +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
fab0162764 missing newline on backtrace log 2005-06-08 04:02:39 +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
c98bf0cb8b use 1452 as MRU 2005-05-20 01:32:14 +00:00
Brendan O'Dea
2b5cae3b51 supress warning 2005-05-16 05:56:33 +00:00
Brendan O'Dea
ed5752f084 off by one 2005-05-16 05:50:54 +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
b6ed56dbaf re-order sessiont elements to remove padding 2005-05-08 07:13:56 +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
8eebdb18f2 Add interim accounting support from Vladislav Bjelic 2005-05-05 10:02:06 +00:00