Commit graph

151 commits

Author SHA1 Message Date
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
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
a52279783d fix checksum recalc 2005-11-17 06:46:24 +00:00
Brendan O'Dea
e1f961edee layer 4 info implies !frag 2005-11-14 21:08:30 +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
890bffb510 add Cisco-AVPairs to RADIUS accounting records via plugin_radius_account 2005-10-11 09:04:53 +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
52fcfd5b19 calc Mbps correctly 2005-09-19 02:39:57 +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
5b30505fcf byte ordering 2005-09-16 13:20:39 +00:00
Brendan O'Dea
7f7035065f fix protocol-reject 2005-09-16 11:46:48 +00:00
Brendan O'Dea
988074a770 *** empty log message *** 2005-09-16 06:11:28 +00:00
Brendan O'Dea
3d2da2d77b *** empty log message *** 2005-09-16 06:10:21 +00:00
Brendan O'Dea
58617785d5 set mss, adjust checksum 2005-09-16 05:54:53 +00:00
Brendan O'Dea
739356c34c *** empty log message *** 2005-09-16 05:35:31 +00:00
Brendan O'Dea
46f70a1e3a *** empty log message *** 2005-09-16 05:30:30 +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
90a81d13b5 *** empty log message *** 2005-09-13 14:27:14 +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
4b02e4442e bug fix 2005-09-01 06:59:06 +00:00
Brendan O'Dea
bdc2baa573 increase size of PPP buffers to MAXETHER 2005-08-31 12:41:09 +00:00
Brendan O'Dea
45c1cc3c5e use local hostname for tunnel in SCCRP 2005-08-29 11:24:31 +00:00
Brendan O'Dea
43196d6577 handle rejection of MRU negotiation by peer 2005-08-29 06:17:53 +00:00
Brendan O'Dea
23b599442a oops, not that "t" 2005-08-12 08:35:16 +00:00
Brendan O'Dea
b3f633a07d logging 2005-08-11 06:18:56 +00:00
Brendan O'Dea
8aa16e6262 *** empty log message *** 2005-08-11 05:50:24 +00:00
Brendan O'Dea
b900bf62dc ignore proxy auth type: always try preferred method first (but allow negotiation) 2005-08-11 05:49:03 +00:00
Brendan O'Dea
f22a9cebbe normalise session, tunnel args 2005-08-10 11:25:56 +00:00
Brendan O'Dea
55da6699c1 fix inverted timeout test 2005-08-10 08:36:48 +00:00
Brendan O'Dea
2643262af4 tidy up logging, RADIUS allocation 2005-08-10 08:04:26 +00:00
Brendan O'Dea
0280d21184 re-instate local md5.[ch] due to issues with linking openssl to GPL code 2005-08-10 07:25:23 +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
e2a3f0371e remove old compatability code 2005-07-04 05:49:46 +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
02bdc1c32b fix segv in unhide_value 2005-06-14 04:47:24 +00:00
Brendan O'Dea
1c08f2bf3b Always initialise PRNG.
Sanity check length of random_vector.
2005-06-14 03:36:16 +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
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
847b4c6b1d fix RADIUS indexing (should have 16K entries with 64 sockets) 2005-05-16 04:51:16 +00:00
Brendan O'Dea
c650fd367a always send LCP ConfigReq after we get ICCN 2005-05-13 01:29:40 +00:00
Brendan O'Dea
344fe61510 send CDN when ICRQ cannot be accepted (no sessions, no RADIUS) 2005-05-12 04:08:45 +00:00