2001-06-04 14:38:29 +00:00
|
|
|
Copyright (c) 2001 Brian Somers <brian@Awfulhak.org>
|
|
|
|
based on work by Eivind Eklund <perhaps@yes.no>,
|
|
|
|
All rights reserved.
|
|
|
|
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
|
|
modification, are permitted provided that the following conditions
|
|
|
|
are met:
|
|
|
|
1. Redistributions of source code must retain the above copyright
|
|
|
|
notice, this list of conditions and the following disclaimer.
|
|
|
|
2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
notice, this list of conditions and the following disclaimer in the
|
|
|
|
documentation and/or other materials provided with the distribution.
|
|
|
|
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
|
|
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
SUCH DAMAGE.
|
|
|
|
|
1999-11-29 18:53:43 +00:00
|
|
|
$FreeBSD$
|
|
|
|
|
1998-05-21 21:49:08 +00:00
|
|
|
This file summarises changes made to ppp that effect
|
|
|
|
its configuration.
|
|
|
|
|
|
|
|
It does not describe new features, rather it attempts
|
|
|
|
to answer any `this used to work, why doesn't it now?'
|
|
|
|
questions.
|
|
|
|
|
|
|
|
o The `set debug' command was replaced with `set log'.
|
|
|
|
o The `set log LCP' command was split into LCP, IPCP and CCP logs.
|
|
|
|
o Syslogd is used for logging. /etc/syslog.conf must be updated.
|
|
|
|
o LQR is disabled by default.
|
|
|
|
o Openmode is active by default.
|
|
|
|
o Users must be a member of group `network' for ppp access. Furthermore,
|
|
|
|
they must be `allow'ed to run ppp via the `allow' command in the
|
|
|
|
configuration file.
|
|
|
|
For a brief period, ppp could only be run as root.
|
|
|
|
o No diagnostic socket is created by default. The `set server' command
|
|
|
|
must be used.
|
|
|
|
o The diagnostic socket password must be specified *only* on the `set
|
|
|
|
server' command line.
|
|
|
|
o When `set server' is used to re-select a diagnostic port, all existing
|
|
|
|
diagnostic connections are dropped.
|
|
|
|
o pppd-deflate is now called deflate24.
|
|
|
|
o Filter IPs of 0.0.0.0 have a default width of 0, not 32.
|
|
|
|
o Errors in `add' and `delete' are logged as warnings rather than being
|
|
|
|
written to the TCP/IP log.
|
|
|
|
o Any number of diagnostic prompts are allowed, and they are allowed in
|
|
|
|
interactive mode.
|
2004-11-19 03:56:47 +00:00
|
|
|
o The default `device' is cuad1, then cuad0
|
1998-05-21 21:49:08 +00:00
|
|
|
o A password of "*" in ppp.secret causes a passwd database lookup in
|
|
|
|
pap mode.
|
|
|
|
o The value of the CONNECT environment variable is logged in the
|
|
|
|
utmp host field in -direct mode.
|
|
|
|
o Out-of-sequence FSM packets (IPCP/LCP/CCP) are dropped by default.
|
|
|
|
o Reconnect values are used after an LQR timeout.
|
|
|
|
o ^C works on the parent in -background mode.
|
1998-05-29 18:32:41 +00:00
|
|
|
o The dial/call/open command works asynchronously. As a result, prompts
|
1998-05-21 21:49:08 +00:00
|
|
|
do not lose control while dialing.
|
|
|
|
o The `display' command has been removed. All information is available
|
|
|
|
with the appropriate `show' command.
|
|
|
|
o Msext does not need to be enabled/disabled. Setting the NBNS (set nbns)
|
|
|
|
will auto enable it. The DNS side may be enabled/disabled, and if
|
1998-06-08 20:23:44 +00:00
|
|
|
enabled without a `set dns' (was `set ns') will use values from
|
|
|
|
/etc/resolv.conf.
|
1998-05-21 21:49:08 +00:00
|
|
|
o Filters are now called `allow', `dial', `in' and `out'. `set
|
|
|
|
ifilter ...' becomes `set filter in ...' etc.
|
|
|
|
o Authname and Authkey may only be `set' in phase DEAD.
|
|
|
|
o Set encrypt is no longer necessary. Ppp will respond to M$CHAP
|
|
|
|
servers correctly if it's built with DES.
|
|
|
|
o Throughput statistics are enabled by default.
|
|
|
|
o `Set stopped' only has two parameters. It's no longer possible to
|
|
|
|
have an IPCP stopped timer.
|
1999-08-17 17:22:46 +00:00
|
|
|
o `Set timeout' only has one or two parameters. Use `set lqrperiod' and
|
|
|
|
`set {lcp,ccp,ipcp,chap,pap}retry' for the other timers. These timeout
|
|
|
|
values can be seen using the relevant show commands.
|
1998-05-21 21:49:08 +00:00
|
|
|
o `set loopback' is now `enable/disable loopback'.
|
|
|
|
o `show auto', `show loopback' and `show mtu' are all part of `show bundle'.
|
|
|
|
o `show mru' is part of `show lcp'
|
|
|
|
o `show msext' and `show vj' are part of `show ipcp'
|
|
|
|
o `show reconnect' and `show redial' are part of `show link'
|
|
|
|
o A signal 15 (TERM) will now shut down the link gracefully.
|
|
|
|
o A signal 2 (HUP) will drop all links immediately.
|
|
|
|
o Signal 30 (USR1) is now ignored.
|
|
|
|
o Add & delete commands are not necessary in ppp.linkup if they are
|
|
|
|
`sticky routes' (ie, contain MYADDR or HISADDR).
|
|
|
|
o LINK and CARRIER logging are no longer available.
|
|
|
|
o Timer based DEBUG messages are now logged in the new TIMER log.
|
|
|
|
o Ppp can use tun devices > tun255.
|
|
|
|
o Protocol-compressed packets are accepted even if they were denied
|
|
|
|
at LCP negotiation time.
|
|
|
|
o Passwords aren't logged when logging the ``set server'' line.
|
1998-05-29 18:32:41 +00:00
|
|
|
o Command line options only need enough characters to uniquely identify
|
|
|
|
them. -a == -auto, -dd == -ddial etc. -interactive is also allowed.
|
1998-12-14 01:15:14 +00:00
|
|
|
o If you don't like seeing additional interface aliases when running in
|
|
|
|
-auto -alias mode, add ``iface clear'' to your ppp.linkdown file -
|
|
|
|
check the sample file.
|
1999-02-16 00:16:56 +00:00
|
|
|
o Ppp waits for 1 second before checking whether the device supports
|
|
|
|
carrier. This is controllable with ``set cd''.
|
1999-02-25 12:00:04 +00:00
|
|
|
o Random dial timeouts are now between 1 and 30 seconds inclusive rather
|
|
|
|
than between 0 and 29.
|
1999-03-16 11:54:02 +00:00
|
|
|
o Ppp now accepts M$CHAP (as well as normal CHAP) by default. If this
|
|
|
|
is not required, you must ``deny chap05 chap80''.
|
1999-04-27 00:23:57 +00:00
|
|
|
o The ``set device'' command now expects each device to be specified as an
|
|
|
|
argument rather than concatentating all arguments and splitting based
|
|
|
|
on commas and spaces.
|
1999-11-29 18:53:43 +00:00
|
|
|
o The ``show modem'' command is deprecated and has been changed to
|
1999-05-08 11:07:56 +00:00
|
|
|
``show physical''.
|
1999-07-27 23:44:00 +00:00
|
|
|
o The words ``host'' and ``port'' are no longer accepted by the ``set filter''
|
|
|
|
command. Removing them should yield the same results as before.
|
1999-11-29 18:53:43 +00:00
|
|
|
o The ``set weight'' command has been deprecated. The ``set bandwidth''
|
1999-08-05 10:32:16 +00:00
|
|
|
command should now be used instead.
|
|
|
|
o The ``set autoload'' command syntax and implementation have changed as the
|
|
|
|
old implementation was mis-designed and dysfunctional.
|
1999-08-06 20:04:08 +00:00
|
|
|
o Ppp now waits either the full ``set cd'' time or until carrier is detected
|
|
|
|
before running the login script (whichever comes first).
|
1999-11-29 18:53:43 +00:00
|
|
|
o The -alias flag has been deprecated. The -nat flag should be used instead.
|
1999-12-20 20:30:02 +00:00
|
|
|
o Unbalanced quotes in commands are now warned about and the entire command
|
|
|
|
is ignored.
|
1999-12-29 22:31:10 +00:00
|
|
|
o It is now only necessary to escape the `-' character in chat scripts twice.
|
|
|
|
See the example files for details.
|
2000-03-14 01:47:31 +00:00
|
|
|
o Environment variables and ~ are expanded on in commands
|
2000-06-20 12:18:40 +00:00
|
|
|
o ``nat pptp'' is no longer necessary as this is now done transparently
|
2000-08-09 19:29:50 +00:00
|
|
|
o The ``!'' at the start of chat scripts and authkey can be made literal
|
|
|
|
(rather than meaning execute) by doubling it to ``!!''.
|
2000-08-15 10:25:42 +00:00
|
|
|
o MP autoload throughput measurements are now based on the maximum of input
|
|
|
|
and output averages rather than on the total.
|
2000-08-17 14:14:54 +00:00
|
|
|
o When only one link is open in MP mode, MP link level compression is not
|
|
|
|
open and the peer MRU >= the peer MRRU, ppp sends outbound traffic as
|
|
|
|
PROTO_IP traffic rather than PROTO_MP.
|
2000-11-19 16:53:50 +00:00
|
|
|
o MSCHAPv2 is now accepted by default. If you don't wish to negotiate
|
|
|
|
this, you must explicitly deny it.
|
|
|
|
o MPPE is enabled and accepted by default (although deflate and predictor1
|
|
|
|
are preferred.
|