README.changes revision 55246
156337Skato$FreeBSD: head/usr.sbin/ppp/README.changes 55246 1999-12-29 22:31:10Z brian $ 256337Skato 356337SkatoThis file summarises changes made to ppp that effect 456337Skatoits configuration. 556337Skato 656337SkatoIt does not describe new features, rather it attempts 756337Skatoto answer any `this used to work, why doesn't it now?' 856337Skatoquestions. 956337Skato 1056337Skatoo The `set debug' command was replaced with `set log'. 1156337Skatoo The `set log LCP' command was split into LCP, IPCP and CCP logs. 1256337Skatoo Syslogd is used for logging. /etc/syslog.conf must be updated. 1356337Skatoo LQR is disabled by default. 1456337Skatoo Openmode is active by default. 1556337Skatoo Users must be a member of group `network' for ppp access. Furthermore, 1656337Skato they must be `allow'ed to run ppp via the `allow' command in the 1756337Skato configuration file. 1856337Skato For a brief period, ppp could only be run as root. 1956337Skatoo No diagnostic socket is created by default. The `set server' command 2056337Skato must be used. 2156337Skatoo The diagnostic socket password must be specified *only* on the `set 2256337Skato server' command line. 2356337Skatoo When `set server' is used to re-select a diagnostic port, all existing 2456337Skato diagnostic connections are dropped. 2556337Skatoo pppd-deflate is now called deflate24. 2656337Skatoo Filter IPs of 0.0.0.0 have a default width of 0, not 32. 2756337Skatoo Errors in `add' and `delete' are logged as warnings rather than being 2856337Skato written to the TCP/IP log. 2956337Skatoo Any number of diagnostic prompts are allowed, and they are allowed in 3056337Skato interactive mode. 3156337Skatoo The default `device' is cuaa1, then cuaa0 3256337Skatoo A password of "*" in ppp.secret causes a passwd database lookup in 3356337Skato pap mode. 3456337Skatoo The value of the CONNECT environment variable is logged in the 3556337Skato utmp host field in -direct mode. 3656337Skatoo Out-of-sequence FSM packets (IPCP/LCP/CCP) are dropped by default. 3756337Skatoo Reconnect values are used after an LQR timeout. 3856337Skatoo ^C works on the parent in -background mode. 3956337Skatoo The dial/call/open command works asynchronously. As a result, prompts 4056337Skato do not lose control while dialing. 4156337Skatoo The `display' command has been removed. All information is available 4256337Skato with the appropriate `show' command. 4356337Skatoo Msext does not need to be enabled/disabled. Setting the NBNS (set nbns) 4456337Skato will auto enable it. The DNS side may be enabled/disabled, and if 4556337Skato enabled without a `set dns' (was `set ns') will use values from 4656337Skato /etc/resolv.conf. 4756337Skatoo Filters are now called `allow', `dial', `in' and `out'. `set 4856337Skato ifilter ...' becomes `set filter in ...' etc. 4956337Skatoo Authname and Authkey may only be `set' in phase DEAD. 5056337Skatoo Set encrypt is no longer necessary. Ppp will respond to M$CHAP 5156337Skato servers correctly if it's built with DES. 5256337Skatoo Throughput statistics are enabled by default. 5356337Skatoo `Set stopped' only has two parameters. It's no longer possible to 5456337Skato have an IPCP stopped timer. 5556337Skatoo `Set timeout' only has one or two parameters. Use `set lqrperiod' and 5656337Skato `set {lcp,ccp,ipcp,chap,pap}retry' for the other timers. These timeout 5756337Skato values can be seen using the relevant show commands. 5856337Skatoo `set loopback' is now `enable/disable loopback'. 5956337Skatoo `show auto', `show loopback' and `show mtu' are all part of `show bundle'. 6056337Skatoo `show mru' is part of `show lcp' 6156337Skatoo `show msext' and `show vj' are part of `show ipcp' 6256337Skatoo `show reconnect' and `show redial' are part of `show link' 6356337Skatoo A signal 15 (TERM) will now shut down the link gracefully. 6456337Skatoo A signal 2 (HUP) will drop all links immediately. 6556337Skatoo Signal 30 (USR1) is now ignored. 6656337Skatoo Add & delete commands are not necessary in ppp.linkup if they are 6756337Skato `sticky routes' (ie, contain MYADDR or HISADDR). 6856337Skatoo LINK and CARRIER logging are no longer available. 6956337Skatoo Timer based DEBUG messages are now logged in the new TIMER log. 7056337Skatoo Ppp can use tun devices > tun255. 7156337Skatoo Protocol-compressed packets are accepted even if they were denied 7256337Skato at LCP negotiation time. 7356337Skatoo Passwords aren't logged when logging the ``set server'' line. 7456337Skatoo Command line options only need enough characters to uniquely identify 7556337Skato them. -a == -auto, -dd == -ddial etc. -interactive is also allowed. 7656337Skatoo If you don't like seeing additional interface aliases when running in 7756337Skato -auto -alias mode, add ``iface clear'' to your ppp.linkdown file - 7856337Skato check the sample file. 7956337Skatoo Ppp waits for 1 second before checking whether the device supports 8056337Skato carrier. This is controllable with ``set cd''. 8156337Skatoo Random dial timeouts are now between 1 and 30 seconds inclusive rather 8256337Skato than between 0 and 29. 8356337Skatoo Ppp now accepts M$CHAP (as well as normal CHAP) by default. If this 8456337Skato is not required, you must ``deny chap05 chap80''. 8556337Skatoo The ``set device'' command now expects each device to be specified as an 8656337Skato argument rather than concatentating all arguments and splitting based 8756337Skato on commas and spaces. 8856337Skatoo The ``show modem'' command is deprecated and has been changed to 8956337Skato ``show physical''. 9056337Skatoo The words ``host'' and ``port'' are no longer accepted by the ``set filter'' 9156337Skato command. Removing them should yield the same results as before. 9256337Skatoo The ``set weight'' command has been deprecated. The ``set bandwidth'' 9356337Skato command should now be used instead. 9456337Skatoo The ``set autoload'' command syntax and implementation have changed as the 9556337Skato old implementation was mis-designed and dysfunctional. 9656337Skatoo Ppp now waits either the full ``set cd'' time or until carrier is detected 9756337Skato before running the login script (whichever comes first). 9856337Skatoo The -alias flag has been deprecated. The -nat flag should be used instead. 9956337Skatoo Unbalanced quotes in commands are now warned about and the entire command 10056337Skato is ignored. 10156337Skatoo It is now only necessary to escape the `-' character in chat scripts twice. 10256337Skato See the example files for details. 10356337Skato