From owner-cvs-all Thu Feb 11 02:14:17 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA24108 for cvs-all-outgoing; Thu, 11 Feb 1999 02:14:17 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA24103; Thu, 11 Feb 1999 02:14:15 -0800 (PST) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id CAA12424; Thu, 11 Feb 1999 02:14:11 -0800 (PST) (envelope-from brian@FreeBSD.org) Date: Thu, 11 Feb 1999 02:14:11 -0800 (PST) Message-Id: <199902111014.CAA12424@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp chap.c chap.h command.c command.h datalink.c defs.h descriptor.h hdlc.c ppp.8 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk brian 1999/02/11 02:14:10 PST Modified files: usr.sbin/ppp chap.c chap.h command.c command.h datalink.c defs.h descriptor.h hdlc.c ppp.8 Log: 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. Revision Changes Path 1.43 +241 -30 src/usr.sbin/ppp/chap.c 1.12 +14 -2 src/usr.sbin/ppp/chap.h 1.180 +7 -7 src/usr.sbin/ppp/command.c 1.16 +3 -1 src/usr.sbin/ppp/command.h 1.30 +21 -5 src/usr.sbin/ppp/datalink.c 1.38 +2 -2 src/usr.sbin/ppp/defs.h 1.6 +2 -1 src/usr.sbin/ppp/descriptor.h 1.39 +2 -2 src/usr.sbin/ppp/hdlc.c 1.145 +56 -6 src/usr.sbin/ppp/ppp.8 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message