186d7f5d3SJohn MarinoCopyright (c) 2001 Brian Somers <brian@Awfulhak.org> 286d7f5d3SJohn Marino based on work by Eivind Eklund <perhaps@yes.no>, 386d7f5d3SJohn MarinoAll rights reserved. 486d7f5d3SJohn Marino 586d7f5d3SJohn MarinoRedistribution and use in source and binary forms, with or without 686d7f5d3SJohn Marinomodification, are permitted provided that the following conditions 786d7f5d3SJohn Marinoare met: 886d7f5d3SJohn Marino1. Redistributions of source code must retain the above copyright 986d7f5d3SJohn Marino notice, this list of conditions and the following disclaimer. 1086d7f5d3SJohn Marino2. Redistributions in binary form must reproduce the above copyright 1186d7f5d3SJohn Marino notice, this list of conditions and the following disclaimer in the 1286d7f5d3SJohn Marino documentation and/or other materials provided with the distribution. 1386d7f5d3SJohn Marino 1486d7f5d3SJohn MarinoTHIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1586d7f5d3SJohn MarinoANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1686d7f5d3SJohn MarinoIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1786d7f5d3SJohn MarinoARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1886d7f5d3SJohn MarinoFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1986d7f5d3SJohn MarinoDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2086d7f5d3SJohn MarinoOR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2186d7f5d3SJohn MarinoHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2286d7f5d3SJohn MarinoLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2386d7f5d3SJohn MarinoOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2486d7f5d3SJohn MarinoSUCH DAMAGE. 2586d7f5d3SJohn Marino 2686d7f5d3SJohn Marino$FreeBSD: src/usr.sbin/ppp/README.changes,v 1.16.2.6 2001/06/04 14:46:12 brian Exp $ 2786d7f5d3SJohn Marino$DragonFly: src/usr.sbin/ppp/README.changes,v 1.2 2003/06/17 04:30:00 dillon Exp $ 2886d7f5d3SJohn Marino 2986d7f5d3SJohn MarinoThis file summarises changes made to ppp that effect 3086d7f5d3SJohn Marinoits configuration. 3186d7f5d3SJohn Marino 3286d7f5d3SJohn MarinoIt does not describe new features, rather it attempts 3386d7f5d3SJohn Marinoto answer any `this used to work, why doesn't it now?' 3486d7f5d3SJohn Marinoquestions. 3586d7f5d3SJohn Marino 3686d7f5d3SJohn Marinoo The `set debug' command was replaced with `set log'. 3786d7f5d3SJohn Marinoo The `set log LCP' command was split into LCP, IPCP and CCP logs. 3886d7f5d3SJohn Marinoo Syslogd is used for logging. /etc/syslog.conf must be updated. 3986d7f5d3SJohn Marinoo LQR is disabled by default. 4086d7f5d3SJohn Marinoo Openmode is active by default. 4186d7f5d3SJohn Marinoo Users must be a member of group `network' for ppp access. Furthermore, 4286d7f5d3SJohn Marino they must be `allow'ed to run ppp via the `allow' command in the 4386d7f5d3SJohn Marino configuration file. 4486d7f5d3SJohn Marino For a brief period, ppp could only be run as root. 4586d7f5d3SJohn Marinoo No diagnostic socket is created by default. The `set server' command 4686d7f5d3SJohn Marino must be used. 4786d7f5d3SJohn Marinoo The diagnostic socket password must be specified *only* on the `set 4886d7f5d3SJohn Marino server' command line. 4986d7f5d3SJohn Marinoo When `set server' is used to re-select a diagnostic port, all existing 5086d7f5d3SJohn Marino diagnostic connections are dropped. 5186d7f5d3SJohn Marinoo pppd-deflate is now called deflate24. 5286d7f5d3SJohn Marinoo Filter IPs of 0.0.0.0 have a default width of 0, not 32. 5386d7f5d3SJohn Marinoo Errors in `add' and `delete' are logged as warnings rather than being 5486d7f5d3SJohn Marino written to the TCP/IP log. 5586d7f5d3SJohn Marinoo Any number of diagnostic prompts are allowed, and they are allowed in 5686d7f5d3SJohn Marino interactive mode. 5786d7f5d3SJohn Marinoo The default `device' is cuaa1, then cuaa0 5886d7f5d3SJohn Marinoo A password of "*" in ppp.secret causes a passwd database lookup in 5986d7f5d3SJohn Marino pap mode. 6086d7f5d3SJohn Marinoo The value of the CONNECT environment variable is logged in the 6186d7f5d3SJohn Marino utmp host field in -direct mode. 6286d7f5d3SJohn Marinoo Out-of-sequence FSM packets (IPCP/LCP/CCP) are dropped by default. 6386d7f5d3SJohn Marinoo Reconnect values are used after an LQR timeout. 6486d7f5d3SJohn Marinoo ^C works on the parent in -background mode. 6586d7f5d3SJohn Marinoo The dial/call/open command works asynchronously. As a result, prompts 6686d7f5d3SJohn Marino do not lose control while dialing. 6786d7f5d3SJohn Marinoo The `display' command has been removed. All information is available 6886d7f5d3SJohn Marino with the appropriate `show' command. 6986d7f5d3SJohn Marinoo Msext does not need to be enabled/disabled. Setting the NBNS (set nbns) 7086d7f5d3SJohn Marino will auto enable it. The DNS side may be enabled/disabled, and if 7186d7f5d3SJohn Marino enabled without a `set dns' (was `set ns') will use values from 7286d7f5d3SJohn Marino /etc/resolv.conf. 7386d7f5d3SJohn Marinoo Filters are now called `allow', `dial', `in' and `out'. `set 7486d7f5d3SJohn Marino ifilter ...' becomes `set filter in ...' etc. 7586d7f5d3SJohn Marinoo Authname and Authkey may only be `set' in phase DEAD. 7686d7f5d3SJohn Marinoo Set encrypt is no longer necessary. Ppp will respond to M$CHAP 7786d7f5d3SJohn Marino servers correctly if it's built with DES. 7886d7f5d3SJohn Marinoo Throughput statistics are enabled by default. 7986d7f5d3SJohn Marinoo `Set stopped' only has two parameters. It's no longer possible to 8086d7f5d3SJohn Marino have an IPCP stopped timer. 8186d7f5d3SJohn Marinoo `Set timeout' only has one or two parameters. Use `set lqrperiod' and 8286d7f5d3SJohn Marino `set {lcp,ccp,ipcp,chap,pap}retry' for the other timers. These timeout 8386d7f5d3SJohn Marino values can be seen using the relevant show commands. 8486d7f5d3SJohn Marinoo `set loopback' is now `enable/disable loopback'. 8586d7f5d3SJohn Marinoo `show auto', `show loopback' and `show mtu' are all part of `show bundle'. 8686d7f5d3SJohn Marinoo `show mru' is part of `show lcp' 8786d7f5d3SJohn Marinoo `show msext' and `show vj' are part of `show ipcp' 8886d7f5d3SJohn Marinoo `show reconnect' and `show redial' are part of `show link' 8986d7f5d3SJohn Marinoo A signal 15 (TERM) will now shut down the link gracefully. 9086d7f5d3SJohn Marinoo A signal 2 (HUP) will drop all links immediately. 9186d7f5d3SJohn Marinoo Signal 30 (USR1) is now ignored. 9286d7f5d3SJohn Marinoo Add & delete commands are not necessary in ppp.linkup if they are 9386d7f5d3SJohn Marino `sticky routes' (ie, contain MYADDR or HISADDR). 9486d7f5d3SJohn Marinoo LINK and CARRIER logging are no longer available. 9586d7f5d3SJohn Marinoo Timer based DEBUG messages are now logged in the new TIMER log. 9686d7f5d3SJohn Marinoo Ppp can use tun devices > tun255. 9786d7f5d3SJohn Marinoo Protocol-compressed packets are accepted even if they were denied 9886d7f5d3SJohn Marino at LCP negotiation time. 9986d7f5d3SJohn Marinoo Passwords aren't logged when logging the ``set server'' line. 10086d7f5d3SJohn Marinoo Command line options only need enough characters to uniquely identify 10186d7f5d3SJohn Marino them. -a == -auto, -dd == -ddial etc. -interactive is also allowed. 10286d7f5d3SJohn Marinoo If you don't like seeing additional interface aliases when running in 10386d7f5d3SJohn Marino -auto -alias mode, add ``iface clear'' to your ppp.linkdown file - 10486d7f5d3SJohn Marino check the sample file. 10586d7f5d3SJohn Marinoo Ppp waits for 1 second before checking whether the device supports 10686d7f5d3SJohn Marino carrier. This is controllable with ``set cd''. 10786d7f5d3SJohn Marinoo Random dial timeouts are now between 1 and 30 seconds inclusive rather 10886d7f5d3SJohn Marino than between 0 and 29. 10986d7f5d3SJohn Marinoo Ppp now accepts M$CHAP (as well as normal CHAP) by default. If this 11086d7f5d3SJohn Marino is not required, you must ``deny chap05 chap80''. 11186d7f5d3SJohn Marinoo The ``set device'' command now expects each device to be specified as an 11286d7f5d3SJohn Marino argument rather than concatentating all arguments and splitting based 11386d7f5d3SJohn Marino on commas and spaces. 11486d7f5d3SJohn Marinoo The ``show modem'' command is deprecated and has been changed to 11586d7f5d3SJohn Marino ``show physical''. 11686d7f5d3SJohn Marinoo The words ``host'' and ``port'' are no longer accepted by the ``set filter'' 11786d7f5d3SJohn Marino command. Removing them should yield the same results as before. 11886d7f5d3SJohn Marinoo The ``set weight'' command has been deprecated. The ``set bandwidth'' 11986d7f5d3SJohn Marino command should now be used instead. 12086d7f5d3SJohn Marinoo The ``set autoload'' command syntax and implementation have changed as the 12186d7f5d3SJohn Marino old implementation was mis-designed and dysfunctional. 12286d7f5d3SJohn Marinoo Ppp now waits either the full ``set cd'' time or until carrier is detected 12386d7f5d3SJohn Marino before running the login script (whichever comes first). 12486d7f5d3SJohn Marinoo The -alias flag has been deprecated. The -nat flag should be used instead. 12586d7f5d3SJohn Marinoo Unbalanced quotes in commands are now warned about and the entire command 12686d7f5d3SJohn Marino is ignored. 12786d7f5d3SJohn Marinoo It is now only necessary to escape the `-' character in chat scripts twice. 12886d7f5d3SJohn Marino See the example files for details. 12986d7f5d3SJohn Marinoo Environment variables and ~ are expanded on in commands 13086d7f5d3SJohn Marinoo ``nat pptp'' is no longer necessary as this is now done transparently 13186d7f5d3SJohn Marinoo The ``!'' at the start of chat scripts and authkey can be made literal 13286d7f5d3SJohn Marino (rather than meaning execute) by doubling it to ``!!''. 13386d7f5d3SJohn Marinoo MP autoload throughput measurements are now based on the maximum of input 13486d7f5d3SJohn Marino and output averages rather than on the total. 13586d7f5d3SJohn Marinoo When only one link is open in MP mode, MP link level compression is not 13686d7f5d3SJohn Marino open and the peer MRU >= the peer MRRU, ppp sends outbound traffic as 13786d7f5d3SJohn Marino PROTO_IP traffic rather than PROTO_MP. 13886d7f5d3SJohn Marinoo MSCHAPv2 is now accepted by default. If you don't wish to negotiate 13986d7f5d3SJohn Marino this, you must explicitly deny it. 14086d7f5d3SJohn Marinoo MPPE is enabled and accepted by default (although deflate and predictor1 14186d7f5d3SJohn Marino are preferred. 142