From owner-cvs-usrsbin Sun Jun 8 20:28:27 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA01039 for cvs-usrsbin-outgoing; Sun, 8 Jun 1997 20:28:27 -0700 (PDT) Received: from freefall.freebsd.org (freefall.cdrom.com [204.216.27.21]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA00995; Sun, 8 Jun 1997 20:27:57 -0700 (PDT) From: Brian Somers Received: (from brian@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id UAA06879; Sun, 8 Jun 1997 20:27:51 -0700 (PDT) Date: Sun, 8 Jun 1997 20:27:51 -0700 (PDT) Message-Id: <199706090327.UAA06879@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp Makefile alias_cmd.c arp.c arp.h async.c auth.c auth.h ccp.c ccp.h chap.c chap.h chat.c chat.h command.c defs.h filter.c filter.h fsm.c fsm.h hdlc.c hdlc.h ip.c ip.h ipcp.c ipcp.h lcp.c lcp.h lcpproto.h loadalias.c log.c log.h ... Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/06/08 20:27:51 PDT Modified files: usr.sbin/ppp Makefile alias_cmd.c arp.c arp.h async.c auth.c auth.h ccp.c ccp.h chap.c chap.h chat.c chat.h command.c defs.h filter.c filter.h fsm.c fsm.h hdlc.c hdlc.h ip.c ip.h ipcp.c ipcp.h lcp.c lcp.h lcpproto.h loadalias.c log.c log.h lqr.c lqr.h main.c main.h mbuf.c mbuf.h modem.c modem.h os.c os.h pap.c passwdauth.c passwdauth.h phase.h pred.c pred.h route.c route.h sig.c sig.h slcompress.c slcompress.h systems.c systems.h timeout.h timer.c vars.c vars.h vjcomp.c Removed files: usr.sbin/ppp cdefs.h Log: Overhaul ppp: o Use syslog o Remove references to stdout/stderr (incl perror()) o Introduce VarTerm - the interactive terminal or zero o Allow "set timeout" to affect current session o Change "set debug" to "set log" o Allow "set log [+|-]flag" o Make MSEXT and PASSWDAUTH stuff the default o Move all #ifdef DEBUG stuff into the code - this shouldn't be too much overhead. It's now controlled with "set log +debug" o Add "set log command, debug, tun, warn, error, alert" o Remove cdefs.h, and assume an ansi compiler. o Improve all diagnostic output o Don't trap SIGSEGV o SIGHUP now terminates again (log files are controlled by syslog) o Call CloseModem() when changing devices o Fix parsing of third arg of "delete" I think this fixes the "magic is same" problems that some people have been experiencing. The man page is being rewritten. It'll follow soon. Revision Changes Path 1.21 +4 -5 src/usr.sbin/ppp/Makefile 1.4 +45 -33 src/usr.sbin/ppp/alias_cmd.c 1.12 +20 -19 src/usr.sbin/ppp/arp.c 1.4 +3 -3 src/usr.sbin/ppp/arp.h 1.9 +3 -3 src/usr.sbin/ppp/async.c 1.14 +2 -4 src/usr.sbin/ppp/auth.c 1.6 +7 -7 src/usr.sbin/ppp/auth.h 1.13 +28 -30 src/usr.sbin/ppp/ccp.c 1.6 +7 -7 src/usr.sbin/ppp/ccp.h 1.18 +11 -40 src/usr.sbin/ppp/chap.c 1.6 +2 -2 src/usr.sbin/ppp/chap.h 1.26 +28 -40 src/usr.sbin/ppp/chat.c 1.6 +3 -4 src/usr.sbin/ppp/chat.h 1.54 +452 -371 src/usr.sbin/ppp/command.c 1.15 +1 -2 src/usr.sbin/ppp/defs.h 1.10 +68 -59 src/usr.sbin/ppp/filter.c 1.8 +2 -2 src/usr.sbin/ppp/filter.h 1.13 +35 -47 src/usr.sbin/ppp/fsm.c 1.8 +25 -26 src/usr.sbin/ppp/fsm.h 1.16 +22 -28 src/usr.sbin/ppp/hdlc.c 1.9 +8 -8 src/usr.sbin/ppp/hdlc.h 1.21 +43 -43 src/usr.sbin/ppp/ip.c 1.4 +4 -4 src/usr.sbin/ppp/ip.h 1.21 +62 -62 src/usr.sbin/ppp/ipcp.c 1.7 +7 -9 src/usr.sbin/ppp/ipcp.h 1.23 +56 -61 src/usr.sbin/ppp/lcp.c 1.7 +7 -8 src/usr.sbin/ppp/lcp.h 1.7 +9 -10 src/usr.sbin/ppp/lcpproto.h 1.2 +7 -11 src/usr.sbin/ppp/loadalias.c 1.13 +108 -277 src/usr.sbin/ppp/log.c 1.11 +31 -72 src/usr.sbin/ppp/log.h 1.15 +27 -35 src/usr.sbin/ppp/lqr.c 1.6 +7 -7 src/usr.sbin/ppp/lqr.h 1.60 +129 -140 src/usr.sbin/ppp/main.c 1.4 +2 -2 src/usr.sbin/ppp/main.h 1.7 +22 -44 src/usr.sbin/ppp/mbuf.c 1.5 +12 -10 src/usr.sbin/ppp/mbuf.h 1.42 +76 -127 src/usr.sbin/ppp/modem.c 1.8 +17 -18 src/usr.sbin/ppp/modem.h 1.22 +43 -36 src/usr.sbin/ppp/os.c 1.6 +12 -12 src/usr.sbin/ppp/os.h 1.13 +14 -16 src/usr.sbin/ppp/pap.c 1.4 +5 -7 src/usr.sbin/ppp/passwdauth.c 1.2 +1 -1 src/usr.sbin/ppp/passwdauth.h 1.6 +2 -3 src/usr.sbin/ppp/phase.h 1.12 +7 -10 src/usr.sbin/ppp/pred.c 1.4 +4 -4 src/usr.sbin/ppp/pred.h 1.14 +56 -86 src/usr.sbin/ppp/route.c 1.4 +2 -2 src/usr.sbin/ppp/route.h 1.7 +3 -3 src/usr.sbin/ppp/sig.c 1.8 +3 -3 src/usr.sbin/ppp/sig.h 1.9 +23 -30 src/usr.sbin/ppp/slcompress.c 1.6 +4 -5 src/usr.sbin/ppp/slcompress.h 1.12 +17 -23 src/usr.sbin/ppp/systems.c 1.5 +4 -4 src/usr.sbin/ppp/systems.h 1.10 +9 -8 src/usr.sbin/ppp/timeout.h 1.17 +23 -35 src/usr.sbin/ppp/timer.c 1.19 +50 -101 src/usr.sbin/ppp/vars.c 1.18 +8 -6 src/usr.sbin/ppp/vars.h 1.8 +7 -13 src/usr.sbin/ppp/vjcomp.c