Date: Fri, 26 Feb 1999 13:28:18 -0800 (PST) From: Brian Somers <brian@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/ppp auth.c auth.h cbcp.c ccp.c ccp.h command.c datalink.c defs.h fsm.c fsm.h ipcp.c ipcp.h lcp.c lcp.h modem.c ppp.8 Message-ID: <199902262128.NAA19086@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
brian 1999/02/26 13:28:18 PST Modified files: usr.sbin/ppp auth.c auth.h cbcp.c ccp.c ccp.h command.c datalink.c defs.h fsm.c fsm.h ipcp.c ipcp.h lcp.c lcp.h modem.c ppp.8 Log: Allow control over the number of ConfigREQ & TermREQ attempts that are made in each of the FSMs (LCP, CCP & IPCP) and the number of REQs/Challenges for PAP/CHAP by accepting more arguments in the ``set {c,ip,l}cpretry'' and ``set {ch,p}apretry'' commands. Change the non-convergence thresholds to 3 times the number of configured REQ tries (rather than the previous fixed ``10''). We now notice repeated NAKs and REJs rather than just REQs. Don't suggest that CHAP 0x05 isn't supported when it's not configured. Fix some bugs that expose themselves with smaller numbers of retries: o Handle instantaneous disconnects (set device /dev/null) correctly by stopping all fsm timers in fsm2initial. o Don't forget to uu_unlock() devices that are files but are not ttys (set device /dev/zero). Fix a *HORRENDOUS* bug in RFC1661 (already fixed for an Open event in state ``Closed''): According to the state transition table, a RCR+ or RCR- received in the ``Stopped'' state are supposed to InitRestartCounter, SendConfigReq and SendConfig{Ack,Nak}. However, in ``Stopped'', we haven't yet done a TLS (or the last thing we did is a TLF). We must therefore do the TLS at this point ! This was never noticed before because LCP and CCP used not use LayerStart() for anything interesting, and IPCP tends to go into Stopped then get a Down because of an LCP RTR rather than getting a RCR again. Revision Changes Path 1.42 +6 -4 src/usr.sbin/ppp/auth.c 1.17 +2 -2 src/usr.sbin/ppp/auth.h 1.10 +5 -5 src/usr.sbin/ppp/cbcp.c 1.43 +33 -9 src/usr.sbin/ppp/ccp.c 1.20 +2 -2 src/usr.sbin/ppp/ccp.h 1.184 +71 -47 src/usr.sbin/ppp/command.c 1.34 +8 -8 src/usr.sbin/ppp/datalink.c 1.41 +3 -2 src/usr.sbin/ppp/defs.h 1.39 +53 -25 src/usr.sbin/ppp/fsm.c 1.20 +18 -4 src/usr.sbin/ppp/fsm.h 1.72 +27 -11 src/usr.sbin/ppp/ipcp.c 1.24 +2 -2 src/usr.sbin/ppp/ipcp.h 1.69 +35 -15 src/usr.sbin/ppp/lcp.c 1.21 +2 -3 src/usr.sbin/ppp/lcp.h 1.104 +3 -1 src/usr.sbin/ppp/modem.c 1.152 +31 -7 src/usr.sbin/ppp/ppp.8 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902262128.NAA19086>