]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Allow random IP number allocation to peer.
authorBrian Somers <brian@FreeBSD.org>
Sat, 13 Dec 1997 02:37:33 +0000 (02:37 +0000)
committerBrian Somers <brian@FreeBSD.org>
Sat, 13 Dec 1997 02:37:33 +0000 (02:37 +0000)
commitbcc332bdb0fffe5e7900c7e26954f062c95b0c23
tree8c08cf70d8453da3f030ecdaafd1a8d430065d98
parent80db913bd66e53ac6d80b3958cc3aa09c6d72a6f
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.
18 files changed:
usr.sbin/ppp/Makefile
usr.sbin/ppp/ccp.c
usr.sbin/ppp/command.c
usr.sbin/ppp/filter.c
usr.sbin/ppp/fsm.c
usr.sbin/ppp/ipcp.c
usr.sbin/ppp/ipcp.h
usr.sbin/ppp/iplist.c [new file with mode: 0644]
usr.sbin/ppp/iplist.h [new file with mode: 0644]
usr.sbin/ppp/main.c
usr.sbin/ppp/os.c
usr.sbin/ppp/os.h
usr.sbin/ppp/phase.c
usr.sbin/ppp/ppp.8
usr.sbin/ppp/ppp.8.m4
usr.sbin/ppp/route.c
usr.sbin/ppp/route.h
usr.sbin/ppp/vars.c