From owner-cvs-usrsbin Tue Nov 11 15:02:19 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA01370 for cvs-usrsbin-outgoing; Tue, 11 Nov 1997 15:02:19 -0800 (PST) (envelope-from owner-cvs-usrsbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA01224; Tue, 11 Nov 1997 15:00:26 -0800 (PST) (envelope-from brian@FreeBSD.org) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id OAA11684; Tue, 11 Nov 1997 14:58:16 -0800 (PST) Date: Tue, 11 Nov 1997 14:58:16 -0800 (PST) Message-Id: <199711112258.OAA11684@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp auth.c command.c command.h defs.c defs.h ipcp.c main.c os.c ppp.8 route.c server.c systems.c systems.h vars.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/11/11 14:58:15 PST Modified files: usr.sbin/ppp auth.c command.c command.h defs.c defs.h ipcp.c main.c os.c ppp.8 route.c server.c systems.c systems.h vars.c Log: Finish the security improvements: o Add "allow" command: "allow users a b c" gives access to users a, b and c. "allow modes auto" gives those users access to auto mode only. "allow users *" and "allow modes *" are accepted. No users and all modes are allowed by default. UID 0 can do anything. o Set the current label with the "load" and "dial" commands so that the call to ppp.linkdown makes sense. o Up the verison number. o Don't OR MODE_AUTO for -background and -ddial. o Don't OR MODE_INTER when we get a diagnostic connection. o Allow up to 40 args per line (was 20). o "set ifaddr" only changes the interface in AUTO mode (with other modes, it happens after IPCP negotiation). o Sort command descriptions in the man page. o Support -dedicated mode where we just talk ppp forever (no login etc). Revision Changes Path 1.22 +3 -3 src/usr.sbin/ppp/auth.c 1.98 +85 -49 src/usr.sbin/ppp/command.c 1.10 +3 -1 src/usr.sbin/ppp/command.h 1.2 +19 -2 src/usr.sbin/ppp/defs.c 1.25 +6 -2 src/usr.sbin/ppp/defs.h 1.35 +2 -2 src/usr.sbin/ppp/ipcp.c 1.93 +46 -46 src/usr.sbin/ppp/main.c 1.32 +7 -8 src/usr.sbin/ppp/os.c 1.78 +206 -119 src/usr.sbin/ppp/ppp.8 1.25 +2 -2 src/usr.sbin/ppp/route.c 1.10 +3 -3 src/usr.sbin/ppp/server.c 1.23 +102 -13 src/usr.sbin/ppp/systems.c 1.9 +5 -2 src/usr.sbin/ppp/systems.h 1.34 +3 -3 src/usr.sbin/ppp/vars.c