]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Decouple pap & chap output routines from the corresponding
authorbrian <brian@FreeBSD.org>
Sat, 6 Feb 1999 02:54:47 +0000 (02:54 +0000)
committerbrian <brian@FreeBSD.org>
Sat, 6 Feb 1999 02:54:47 +0000 (02:54 +0000)
commit4435d086fa4374c8a6b2091bf4acccf59f7db3d0
treed1336bbacc5640555b58b1ebfb93986ba3586343
parentbd140b22548c2a839c934b79c6dab11f47d412d3
Decouple pap & chap output routines from the corresponding
input routines and take advantage of the new init/continue
interface in libradius.  This allows a timely response on
other links in an MP setup while RADIUS requests are in
progress as well as the ability to handle other data from
the peer in parallel.  It should also make the future addition
of PAM support trivial.

While I'm in there, validate pap & chap header IDs if
``idcheck'' is enabled (the default) for other FSM packet
types.

NOTE: This involved integrating the generation of chap
      challenges and the validation of chap responses
      (and commenting what's going on in those routines).
      I currently have no way of testing ppps ability
      to respond to M$Chap CHALLENGEs correctly, so if
      someone could do the honours, it'd be much
      appreciated (it *looks* ok!).

Sponsored by: Internet Business Solutions Ltd., Switzerland
19 files changed:
usr.sbin/ppp/auth.c
usr.sbin/ppp/auth.h
usr.sbin/ppp/bundle.c
usr.sbin/ppp/ccp.c
usr.sbin/ppp/chap.c
usr.sbin/ppp/chap.h
usr.sbin/ppp/datalink.c
usr.sbin/ppp/datalink.h
usr.sbin/ppp/descriptor.h
usr.sbin/ppp/hdlc.c
usr.sbin/ppp/ipcp.c
usr.sbin/ppp/link.c
usr.sbin/ppp/main.c
usr.sbin/ppp/mbuf.c
usr.sbin/ppp/pap.c
usr.sbin/ppp/pap.h
usr.sbin/ppp/radius.c
usr.sbin/ppp/radius.h
usr.sbin/ppp/vjcomp.c