Commit graph

88 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
dad3309278 fix IPCP negotiation of secondary DNS server 2005-12-04 13:06:49 +00:00
Brendan O'Dea
6c71960bcf ensure MRU is sane 2005-11-17 05:24:17 +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
5b30505fcf byte ordering 2005-09-16 13:20:39 +00:00
Brendan O'Dea
28dd7ee443 *** empty log message *** 2005-09-16 05:20:32 +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
bdc2baa573 increase size of PPP buffers to MAXETHER 2005-08-31 12:41:09 +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
bb371d8300 fix parsing of protocol rej 2005-08-29 03:21:14 +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
660b4d800e fix nak increment 2005-08-12 14:12:28 +00:00
Brendan O'Dea
5f269dec12 don't allocate radius for PAP if ip set 2005-08-12 08:18:46 +00:00
Brendan O'Dea
9187ed0d99 *** empty log message *** 2005-08-11 06:22:11 +00:00
Brendan O'Dea
b3f633a07d logging 2005-08-11 06:18:56 +00:00
Brendan O'Dea
36f0542ab7 lcp logging 2005-08-11 05:50:49 +00:00
Brendan O'Dea
f22a9cebbe normalise session, tunnel args 2005-08-10 11:25:56 +00:00
Brendan O'Dea
2c69f75dd3 logging 2005-08-10 08:59:23 +00:00
Brendan O'Dea
2643262af4 tidy up logging, RADIUS allocation 2005-08-10 08:04:26 +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
b84d4f934a Ignore duplicate ACKs for IPCP
Clear RADIUSIPCP for walled garden sessions on ACK
2005-06-24 08:34:53 +00:00
Brendan O'Dea
1bc0117ca9 comment typo 2005-06-24 06:59:06 +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
520b2cb24d it seems that some clients regularly attempt to reauth... just ignore (don't drop) 2005-05-13 09:23:00 +00:00
Brendan O'Dea
d8c5baa239 check all suggested auth mechanisms 2005-05-10 11:23:33 +00:00
Jonathan McDowell
750423daee Fix processing of ConfigNak responses to LCP. 2005-05-10 10:54:34 +00:00
Brendan O'Dea
4d3e657b28 *** empty log message *** 2005-05-10 09:57:50 +00:00
Brendan O'Dea
d908e3348f sendchap on ConfigAck 2005-05-10 09:57:19 +00:00
Brendan O'Dea
2267fbe504 set length properly 2005-05-10 09:47:23 +00:00
Brendan O'Dea
6b6c8a8933 reset length of lcp packets 2005-05-10 09:35:27 +00:00
Brendan O'Dea
092cd4db4e missed length 2005-05-10 00:56:12 +00:00
Brendan O'Dea
d80d528b9a more chap 2005-05-08 06:28:12 +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
c07a2e8553 *** empty log message *** 2005-05-07 08:53:23 +00:00
Brendan O'Dea
0f28e4f964 more CHAP changes 2005-05-07 08:17:25 +00:00
Brendan O'Dea
8eebdb18f2 Add interim accounting support from Vladislav Bjelic 2005-05-05 10:02:06 +00:00
Brendan O'Dea
4db668744a consistent messages 2005-04-27 13:53:15 +00:00
Brendan O'Dea
57aa5ef53d add result/error codes to CDN; use "try another" on out of IP addresses 2005-03-10 06:16:05 +00:00
Brendan O'Dea
a415c8e5f6 allow username to be set when ungardening 2005-03-10 03:31:25 +00:00
Brendan O'Dea
983b38e12f merge back 2.0 branch changes 2005-02-14 06:58:38 +00:00
Brendan O'Dea
b5d3f182cd don't send 4 byte header when snooping v6 packets 2005-01-25 04:38:49 +00:00
Brendan O'Dea
08360e49b4 finish incorporating ipv6 patches 2005-01-25 04:19:04 +00:00
Brendan O'Dea
17fd46618e rename sess_count to sess_local, fiddle with packet_limit log output 2005-01-13 07:57:35 +00:00
Brendan O'Dea
efd5b85a33 use bounds-checking lookup functions for string constants
use random_data() to set radius[].auth
2005-01-05 13:50:30 +00:00
Brendan O'Dea
9d199a1046 use standard uintN_t types for portability 2004-12-16 08:49:52 +00:00