1057fee78SBrian SomersCopyright (c) 2001 Brian Somers <brian@Awfulhak.org> 2057fee78SBrian Somers based on work by Eivind Eklund <perhaps@yes.no>, 3057fee78SBrian SomersAll rights reserved. 4057fee78SBrian Somers 5057fee78SBrian SomersRedistribution and use in source and binary forms, with or without 6057fee78SBrian Somersmodification, are permitted provided that the following conditions 7057fee78SBrian Somersare met: 8057fee78SBrian Somers1. Redistributions of source code must retain the above copyright 9057fee78SBrian Somers notice, this list of conditions and the following disclaimer. 10057fee78SBrian Somers2. Redistributions in binary form must reproduce the above copyright 11057fee78SBrian Somers notice, this list of conditions and the following disclaimer in the 12057fee78SBrian Somers documentation and/or other materials provided with the distribution. 13057fee78SBrian Somers 14057fee78SBrian SomersTHIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15057fee78SBrian SomersANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16057fee78SBrian SomersIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17057fee78SBrian SomersARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18057fee78SBrian SomersFOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19057fee78SBrian SomersDAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20057fee78SBrian SomersOR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21057fee78SBrian SomersHOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22057fee78SBrian SomersLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23057fee78SBrian SomersOUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24057fee78SBrian SomersSUCH DAMAGE. 25057fee78SBrian Somers 26886530abSBrian Somers$FreeBSD$ 27886530abSBrian Somers 28d91d2861SBrian SomersThis file summarises changes made to ppp that effect 29d91d2861SBrian Somersits configuration. 30d91d2861SBrian Somers 31d91d2861SBrian SomersIt does not describe new features, rather it attempts 32d91d2861SBrian Somersto answer any `this used to work, why doesn't it now?' 33d91d2861SBrian Somersquestions. 34d91d2861SBrian Somers 35d91d2861SBrian Somerso The `set debug' command was replaced with `set log'. 36d91d2861SBrian Somerso The `set log LCP' command was split into LCP, IPCP and CCP logs. 37d91d2861SBrian Somerso Syslogd is used for logging. /etc/syslog.conf must be updated. 38d91d2861SBrian Somerso LQR is disabled by default. 39d91d2861SBrian Somerso Openmode is active by default. 40d91d2861SBrian Somerso Users must be a member of group `network' for ppp access. Furthermore, 41d91d2861SBrian Somers they must be `allow'ed to run ppp via the `allow' command in the 42d91d2861SBrian Somers configuration file. 43d91d2861SBrian Somers For a brief period, ppp could only be run as root. 44d91d2861SBrian Somerso No diagnostic socket is created by default. The `set server' command 45d91d2861SBrian Somers must be used. 46d91d2861SBrian Somerso The diagnostic socket password must be specified *only* on the `set 47d91d2861SBrian Somers server' command line. 48d91d2861SBrian Somerso When `set server' is used to re-select a diagnostic port, all existing 49d91d2861SBrian Somers diagnostic connections are dropped. 50d91d2861SBrian Somerso pppd-deflate is now called deflate24. 51d91d2861SBrian Somerso Filter IPs of 0.0.0.0 have a default width of 0, not 32. 52d91d2861SBrian Somerso Errors in `add' and `delete' are logged as warnings rather than being 53d91d2861SBrian Somers written to the TCP/IP log. 54d91d2861SBrian Somerso Any number of diagnostic prompts are allowed, and they are allowed in 55d91d2861SBrian Somers interactive mode. 56*839f11a4SEitan Adlero The default `device' is cuau1, then cuau0 57d91d2861SBrian Somerso A password of "*" in ppp.secret causes a passwd database lookup in 58d91d2861SBrian Somers pap mode. 59d91d2861SBrian Somerso The value of the CONNECT environment variable is logged in the 60d91d2861SBrian Somers utmp host field in -direct mode. 61d91d2861SBrian Somerso Out-of-sequence FSM packets (IPCP/LCP/CCP) are dropped by default. 62d91d2861SBrian Somerso Reconnect values are used after an LQR timeout. 63d91d2861SBrian Somerso ^C works on the parent in -background mode. 6405dbe14bSBrian Somerso The dial/call/open command works asynchronously. As a result, prompts 65d91d2861SBrian Somers do not lose control while dialing. 66d91d2861SBrian Somerso The `display' command has been removed. All information is available 67d91d2861SBrian Somers with the appropriate `show' command. 68d91d2861SBrian Somerso Msext does not need to be enabled/disabled. Setting the NBNS (set nbns) 69d91d2861SBrian Somers will auto enable it. The DNS side may be enabled/disabled, and if 70645b7985SBrian Somers enabled without a `set dns' (was `set ns') will use values from 71645b7985SBrian Somers /etc/resolv.conf. 72d91d2861SBrian Somerso Filters are now called `allow', `dial', `in' and `out'. `set 73d91d2861SBrian Somers ifilter ...' becomes `set filter in ...' etc. 74d91d2861SBrian Somerso Authname and Authkey may only be `set' in phase DEAD. 75d91d2861SBrian Somerso Set encrypt is no longer necessary. Ppp will respond to M$CHAP 76d91d2861SBrian Somers servers correctly if it's built with DES. 77d91d2861SBrian Somerso Throughput statistics are enabled by default. 78d91d2861SBrian Somerso `Set stopped' only has two parameters. It's no longer possible to 79d91d2861SBrian Somers have an IPCP stopped timer. 80dade2407SBrian Somerso `Set timeout' only has one or two parameters. Use `set lqrperiod' and 81dade2407SBrian Somers `set {lcp,ccp,ipcp,chap,pap}retry' for the other timers. These timeout 82dade2407SBrian Somers values can be seen using the relevant show commands. 83d91d2861SBrian Somerso `set loopback' is now `enable/disable loopback'. 84d91d2861SBrian Somerso `show auto', `show loopback' and `show mtu' are all part of `show bundle'. 85d91d2861SBrian Somerso `show mru' is part of `show lcp' 86d91d2861SBrian Somerso `show msext' and `show vj' are part of `show ipcp' 87d91d2861SBrian Somerso `show reconnect' and `show redial' are part of `show link' 88d91d2861SBrian Somerso A signal 15 (TERM) will now shut down the link gracefully. 89d91d2861SBrian Somerso A signal 2 (HUP) will drop all links immediately. 90d91d2861SBrian Somerso Signal 30 (USR1) is now ignored. 91d91d2861SBrian Somerso Add & delete commands are not necessary in ppp.linkup if they are 92d91d2861SBrian Somers `sticky routes' (ie, contain MYADDR or HISADDR). 93d91d2861SBrian Somerso LINK and CARRIER logging are no longer available. 94d91d2861SBrian Somerso Timer based DEBUG messages are now logged in the new TIMER log. 95d91d2861SBrian Somerso Ppp can use tun devices > tun255. 96d91d2861SBrian Somerso Protocol-compressed packets are accepted even if they were denied 97d91d2861SBrian Somers at LCP negotiation time. 98d91d2861SBrian Somerso Passwords aren't logged when logging the ``set server'' line. 9905dbe14bSBrian Somerso Command line options only need enough characters to uniquely identify 10005dbe14bSBrian Somers them. -a == -auto, -dd == -ddial etc. -interactive is also allowed. 10180b2397cSBrian Somerso If you don't like seeing additional interface aliases when running in 10280b2397cSBrian Somers -auto -alias mode, add ``iface clear'' to your ppp.linkdown file - 10380b2397cSBrian Somers check the sample file. 1046b4286e0SBrian Somerso Ppp waits for 1 second before checking whether the device supports 1056b4286e0SBrian Somers carrier. This is controllable with ``set cd''. 106b5c347a3SBrian Somerso Random dial timeouts are now between 1 and 30 seconds inclusive rather 107b5c347a3SBrian Somers than between 0 and 29. 108516bf2ccSBrian Somerso Ppp now accepts M$CHAP (as well as normal CHAP) by default. If this 109516bf2ccSBrian Somers is not required, you must ``deny chap05 chap80''. 110a8d7acdcSBrian Somerso The ``set device'' command now expects each device to be specified as an 111a8d7acdcSBrian Somers argument rather than concatentating all arguments and splitting based 112a8d7acdcSBrian Somers on commas and spaces. 113886530abSBrian Somerso The ``show modem'' command is deprecated and has been changed to 1145d9e6103SBrian Somers ``show physical''. 115cad7e742SBrian Somerso The words ``host'' and ``port'' are no longer accepted by the ``set filter'' 116cad7e742SBrian Somers command. Removing them should yield the same results as before. 117886530abSBrian Somerso The ``set weight'' command has been deprecated. The ``set bandwidth'' 118ab2de065SBrian Somers command should now be used instead. 119ab2de065SBrian Somerso The ``set autoload'' command syntax and implementation have changed as the 120ab2de065SBrian Somers old implementation was mis-designed and dysfunctional. 121eb6e5e05SBrian Somerso Ppp now waits either the full ``set cd'' time or until carrier is detected 122eb6e5e05SBrian Somers before running the login script (whichever comes first). 123886530abSBrian Somerso The -alias flag has been deprecated. The -nat flag should be used instead. 124c39aa54eSBrian Somerso Unbalanced quotes in commands are now warned about and the entire command 125c39aa54eSBrian Somers is ignored. 126bb7d10c9SBrian Somerso It is now only necessary to escape the `-' character in chat scripts twice. 127bb7d10c9SBrian Somers See the example files for details. 1282a30e2acSBrian Somerso Environment variables and ~ are expanded on in commands 12986c5e1eaSBrian Somerso ``nat pptp'' is no longer necessary as this is now done transparently 130a2240f35SBrian Somerso The ``!'' at the start of chat scripts and authkey can be made literal 131a2240f35SBrian Somers (rather than meaning execute) by doubling it to ``!!''. 13291cbd2eeSBrian Somerso MP autoload throughput measurements are now based on the maximum of input 13391cbd2eeSBrian Somers and output averages rather than on the total. 1343fd1e17cSBrian Somerso When only one link is open in MP mode, MP link level compression is not 1353fd1e17cSBrian Somers open and the peer MRU >= the peer MRRU, ppp sends outbound traffic as 1363fd1e17cSBrian Somers PROTO_IP traffic rather than PROTO_MP. 137385167a6SBrian Somerso MSCHAPv2 is now accepted by default. If you don't wish to negotiate 138385167a6SBrian Somers this, you must explicitly deny it. 139385167a6SBrian Somerso MPPE is enabled and accepted by default (although deflate and predictor1 140385167a6SBrian Somers are preferred. 141