xref: /freebsd/usr.sbin/ppp/README.changes (revision 05248206f720394d95c2a7475429311df670a2e9)
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
26d91d2861SBrian SomersThis file summarises changes made to ppp that effect
27d91d2861SBrian Somersits configuration.
28d91d2861SBrian Somers
29d91d2861SBrian SomersIt does not describe new features, rather it attempts
30d91d2861SBrian Somersto answer any `this used to work, why doesn't it now?'
31d91d2861SBrian Somersquestions.
32d91d2861SBrian Somers
33d91d2861SBrian Somerso The `set debug' command was replaced with `set log'.
34d91d2861SBrian Somerso The `set log LCP' command was split into LCP, IPCP and CCP logs.
35d91d2861SBrian Somerso Syslogd is used for logging.  /etc/syslog.conf must be updated.
36d91d2861SBrian Somerso LQR is disabled by default.
37d91d2861SBrian Somerso Openmode is active by default.
38d91d2861SBrian Somerso Users must be a member of group `network' for ppp access.  Furthermore,
39d91d2861SBrian Somers  they must be `allow'ed to run ppp via the `allow' command in the
40d91d2861SBrian Somers  configuration file.
41d91d2861SBrian Somers  For a brief period, ppp could only be run as root.
42d91d2861SBrian Somerso No diagnostic socket is created by default.  The `set server' command
43d91d2861SBrian Somers  must be used.
44d91d2861SBrian Somerso The diagnostic socket password must be specified *only* on the `set
45d91d2861SBrian Somers  server' command line.
46d91d2861SBrian Somerso When `set server' is used to re-select a diagnostic port, all existing
47d91d2861SBrian Somers  diagnostic connections are dropped.
48d91d2861SBrian Somerso pppd-deflate is now called deflate24.
49d91d2861SBrian Somerso Filter IPs of 0.0.0.0 have a default width of 0, not 32.
50d91d2861SBrian Somerso Errors in `add' and `delete' are logged as warnings rather than being
51d91d2861SBrian Somers  written to the TCP/IP log.
52d91d2861SBrian Somerso Any number of diagnostic prompts are allowed, and they are allowed in
53d91d2861SBrian Somers  interactive mode.
54*839f11a4SEitan Adlero The default `device' is cuau1, then cuau0
55d91d2861SBrian Somerso A password of "*" in ppp.secret causes a passwd database lookup in
56d91d2861SBrian Somers  pap mode.
57d91d2861SBrian Somerso The value of the CONNECT environment variable is logged in the
58d91d2861SBrian Somers  utmp host field in -direct mode.
59d91d2861SBrian Somerso Out-of-sequence FSM packets (IPCP/LCP/CCP) are dropped by default.
60d91d2861SBrian Somerso Reconnect values are used after an LQR timeout.
61d91d2861SBrian Somerso ^C works on the parent in -background mode.
6205dbe14bSBrian Somerso The dial/call/open command works asynchronously.  As a result, prompts
63d91d2861SBrian Somers  do not lose control while dialing.
64d91d2861SBrian Somerso The `display' command has been removed.  All information is available
65d91d2861SBrian Somers  with the appropriate `show' command.
66d91d2861SBrian Somerso Msext does not need to be enabled/disabled.  Setting the NBNS (set nbns)
67d91d2861SBrian Somers  will auto enable it.  The DNS side may be enabled/disabled, and if
68645b7985SBrian Somers  enabled without a `set dns' (was `set ns') will use values from
69645b7985SBrian Somers  /etc/resolv.conf.
70d91d2861SBrian Somerso Filters are now called `allow', `dial', `in' and `out'.  `set
71d91d2861SBrian Somers  ifilter ...' becomes `set filter in ...' etc.
72d91d2861SBrian Somerso Authname and Authkey may only be `set' in phase DEAD.
73d91d2861SBrian Somerso Set encrypt is no longer necessary.  Ppp will respond to M$CHAP
74d91d2861SBrian Somers  servers correctly if it's built with DES.
75d91d2861SBrian Somerso Throughput statistics are enabled by default.
76d91d2861SBrian Somerso `Set stopped' only has two parameters.  It's no longer possible to
77d91d2861SBrian Somers  have an IPCP stopped timer.
78dade2407SBrian Somerso `Set timeout' only has one or two parameters.  Use `set lqrperiod' and
79dade2407SBrian Somers  `set {lcp,ccp,ipcp,chap,pap}retry' for the other timers.  These timeout
80dade2407SBrian Somers  values can be seen using the relevant show commands.
81d91d2861SBrian Somerso `set loopback' is now `enable/disable loopback'.
82d91d2861SBrian Somerso `show auto', `show loopback' and `show mtu' are all part of `show bundle'.
83d91d2861SBrian Somerso `show mru' is part of `show lcp'
84d91d2861SBrian Somerso `show msext' and `show vj' are part of `show ipcp'
85d91d2861SBrian Somerso `show reconnect' and `show redial' are part of `show link'
86d91d2861SBrian Somerso A signal 15 (TERM) will now shut down the link gracefully.
87d91d2861SBrian Somerso A signal 2 (HUP) will drop all links immediately.
88d91d2861SBrian Somerso Signal 30 (USR1) is now ignored.
89d91d2861SBrian Somerso Add & delete commands are not necessary in ppp.linkup if they are
90d91d2861SBrian Somers  `sticky routes' (ie, contain MYADDR or HISADDR).
91d91d2861SBrian Somerso LINK and CARRIER logging are no longer available.
92d91d2861SBrian Somerso Timer based DEBUG messages are now logged in the new TIMER log.
93d91d2861SBrian Somerso Ppp can use tun devices > tun255.
94d91d2861SBrian Somerso Protocol-compressed packets are accepted even if they were denied
95d91d2861SBrian Somers  at LCP negotiation time.
96d91d2861SBrian Somerso Passwords aren't logged when logging the ``set server'' line.
9705dbe14bSBrian Somerso Command line options only need enough characters to uniquely identify
9805dbe14bSBrian Somers  them.  -a == -auto, -dd == -ddial etc.  -interactive is also allowed.
9980b2397cSBrian Somerso If you don't like seeing additional interface aliases when running in
10080b2397cSBrian Somers  -auto -alias mode, add ``iface clear'' to your ppp.linkdown file -
10180b2397cSBrian Somers  check the sample file.
1026b4286e0SBrian Somerso Ppp waits for 1 second before checking whether the device supports
1036b4286e0SBrian Somers  carrier.  This is controllable with ``set cd''.
104b5c347a3SBrian Somerso Random dial timeouts are now between 1 and 30 seconds inclusive rather
105b5c347a3SBrian Somers  than between 0 and 29.
106516bf2ccSBrian Somerso Ppp now accepts M$CHAP (as well as normal CHAP) by default.  If this
107516bf2ccSBrian Somers  is not required, you must ``deny chap05 chap80''.
108a8d7acdcSBrian Somerso The ``set device'' command now expects each device to be specified as an
109a8d7acdcSBrian Somers  argument rather than concatentating all arguments and splitting based
110a8d7acdcSBrian Somers  on commas and spaces.
111886530abSBrian Somerso The ``show modem'' command is deprecated and has been changed to
1125d9e6103SBrian Somers  ``show physical''.
113cad7e742SBrian Somerso The words ``host'' and ``port'' are no longer accepted by the ``set filter''
114cad7e742SBrian Somers  command.  Removing them should yield the same results as before.
115886530abSBrian Somerso The ``set weight'' command has been deprecated.  The ``set bandwidth''
116ab2de065SBrian Somers  command should now be used instead.
117ab2de065SBrian Somerso The ``set autoload'' command syntax and implementation have changed as the
118ab2de065SBrian Somers  old implementation was mis-designed and dysfunctional.
119eb6e5e05SBrian Somerso Ppp now waits either the full ``set cd'' time or until carrier is detected
120eb6e5e05SBrian Somers  before running the login script (whichever comes first).
121886530abSBrian Somerso The -alias flag has been deprecated.  The -nat flag should be used instead.
122c39aa54eSBrian Somerso Unbalanced quotes in commands are now warned about and the entire command
123c39aa54eSBrian Somers  is ignored.
124bb7d10c9SBrian Somerso It is now only necessary to escape the `-' character in chat scripts twice.
125bb7d10c9SBrian Somers  See the example files for details.
1262a30e2acSBrian Somerso Environment variables and ~ are expanded on in commands
12786c5e1eaSBrian Somerso ``nat pptp'' is no longer necessary as this is now done transparently
128a2240f35SBrian Somerso The ``!'' at the start of chat scripts and authkey can be made literal
129a2240f35SBrian Somers  (rather than meaning execute) by doubling it to ``!!''.
13091cbd2eeSBrian Somerso MP autoload throughput measurements are now based on the maximum of input
13191cbd2eeSBrian Somers  and output averages rather than on the total.
1323fd1e17cSBrian Somerso When only one link is open in MP mode, MP link level compression is not
1333fd1e17cSBrian Somers  open and the peer MRU >= the peer MRRU, ppp sends outbound traffic as
1343fd1e17cSBrian Somers  PROTO_IP traffic rather than PROTO_MP.
135385167a6SBrian Somerso MSCHAPv2 is now accepted by default.  If you don't wish to negotiate
136385167a6SBrian Somers  this, you must explicitly deny it.
137385167a6SBrian Somerso MPPE is enabled and accepted by default (although deflate and predictor1
138385167a6SBrian Somers  are preferred.
139