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/descriptor.h | |
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/descriptor.h')
-rw-r--r-- | usr.sbin/ppp/descriptor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/descriptor.h b/usr.sbin/ppp/descriptor.h index a4f43a3..70a16db 100644 --- a/usr.sbin/ppp/descriptor.h +++ b/usr.sbin/ppp/descriptor.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: descriptor.h,v 1.4 1998/06/24 19:33:31 brian Exp $ + * $Id: descriptor.h,v 1.5 1999/02/06 02:54:45 brian Exp $ */ #define PHYSICAL_DESCRIPTOR (1) @@ -34,6 +34,7 @@ #define BUNDLE_DESCRIPTOR (6) #define MPSERVER_DESCRIPTOR (7) #define RADIUS_DESCRIPTOR (8) +#define CHAP_DESCRIPTOR (9) struct bundle; |