diff options
author | brian <brian@FreeBSD.org> | 1999-02-11 10:14:08 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-02-11 10:14:08 +0000 |
commit | 5dc50d8ed53887553c9cb516e2b7915e55171a9f (patch) | |
tree | f9ab8c0680569eb7727b37072506b8ada5abb174 /usr.sbin/ppp/hdlc.c | |
parent | 4ef23fab94c614e2e42029a09de004d3a1613d62 (diff) | |
download | FreeBSD-src-5dc50d8ed53887553c9cb516e2b7915e55171a9f.zip FreeBSD-src-5dc50d8ed53887553c9cb516e2b7915e55171a9f.tar.gz |
When resending chap challenges, resend the same challenge
each time rather than making up a new one.
Increase the authname/authkey max sizes to 100 characters.
Allow ``authkey'' specifications beginning with ``!''.
When a challenge is received, the text following the
``!'' is executed as a program (expanding stuff in the same
way that ``sh'' and ``!bg'' do). The program is passed the
peer name, peer challenge and local ``authname'' on standard
input and is expected to output the name/key combination that
should be used to build the CHAP response.
This provides support for Secure ID cards (guess what I was
given at work recently!) using CHAP.
Examples will follow.
Diffstat (limited to 'usr.sbin/ppp/hdlc.c')
-rw-r--r-- | usr.sbin/ppp/hdlc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/hdlc.c b/usr.sbin/ppp/hdlc.c index bca157d..ff509b8 100644 --- a/usr.sbin/ppp/hdlc.c +++ b/usr.sbin/ppp/hdlc.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: hdlc.c,v 1.37 1999/01/28 01:56:32 brian Exp $ + * $Id: hdlc.c,v 1.38 1999/02/06 02:54:45 brian Exp $ * * TODO: */ @@ -48,12 +48,12 @@ #include "vjcomp.h" #include "auth.h" #include "pap.h" -#include "chap.h" #include "lcp.h" #include "async.h" #include "ccp.h" #include "link.h" #include "descriptor.h" +#include "chap.h" #include "physical.h" #include "prompt.h" #include "chat.h" |