From owner-cvs-usrsbin Fri Dec 12 18:41:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA17484 for cvs-usrsbin-outgoing; Fri, 12 Dec 1997 18:41:24 -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 SAA17369; Fri, 12 Dec 1997 18:39:45 -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 SAA28510; Fri, 12 Dec 1997 18:37:36 -0800 (PST) Date: Fri, 12 Dec 1997 18:37:36 -0800 (PST) Message-Id: <199712130237.SAA28510@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/ppp iplist.c iplist.h Makefile ccp.c command.c filter.c fsm.c ipcp.c ipcp.h main.c os.c os.h phase.c ppp.8 route.c route.h vars.c Sender: owner-cvs-usrsbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk brian 1997/12/12 18:37:35 PST Modified files: usr.sbin/ppp Makefile ccp.c command.c filter.c fsm.c ipcp.c ipcp.h main.c os.c os.h phase.c ppp.8 route.c route.h vars.c Added files: usr.sbin/ppp iplist.c iplist.h Log: Allow random IP number allocation to peer. Validate the peers suggested IP by attempting to make a routing table entry. Give up IPCP negotiation if the peer NAKs us with an unusable IP. Always SIOCDIFADDR then SIOCAIFADDR when configuring the tun device. Using SIOCSIFDSTADDR allows duplicate dst addresses (which we don't want)!!! Allow up to 200 interface names (was 50) (now that ppp can play server properly). Up the version number (1.5 -> 1.6). Cosmetic: Log unexpected CCP packets in the CCP log rather than the ERROR log. Log unexpected Config Reqs in the appropriate LCP/IPCP/CCP log rather than the ERROR log. Log failed route additions and deletions with WARN, not TCPIP. Log the option id and length for unrecognised IPCP options. Change some .Sq to .Ar in the man page. Revision Changes Path 1.34 +2 -2 src/usr.sbin/ppp/Makefile 1.24 +2 -2 src/usr.sbin/ppp/ccp.c 1.109 +25 -13 src/usr.sbin/ppp/command.c 1.20 +10 -5 src/usr.sbin/ppp/filter.c 1.24 +3 -2 src/usr.sbin/ppp/fsm.c 1.42 +30 -9 src/usr.sbin/ppp/ipcp.c 1.15 +2 -1 src/usr.sbin/ppp/ipcp.h 1.107 +2 -2 src/usr.sbin/ppp/main.c 1.37 +34 -45 src/usr.sbin/ppp/os.c 1.13 +3 -2 src/usr.sbin/ppp/os.h 1.5 +2 -2 src/usr.sbin/ppp/phase.c 1.84 +63 -25 src/usr.sbin/ppp/ppp.8 1.31 +36 -6 src/usr.sbin/ppp/route.c 1.8 +2 -1 src/usr.sbin/ppp/route.h 1.40 +3 -3 src/usr.sbin/ppp/vars.c