5d9e610366
the layering. We now ``stack'' layers as soon as we open the device (when we figure out what we're dealing with). A static set of `dispatch' routines are also declared for dealing with incoming packets after they've been `pulled' up through the stacked layers. Physical devices are now assigned handlers based on the device type when they're opened. For the moment there are three device types; ttys, execs and tcps. o Increment version number to 2.2 o Make an entry in [uw]tmp for non-tty -direct invocations (after pap/chap authentication). o Make throughput counters quad_t's o Account for the absolute number of mbuf malloc()s and free()s in ``show mem''. o ``show modem'' becomes ``show physical''.
88 lines
4.4 KiB
Plaintext
88 lines
4.4 KiB
Plaintext
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.
|
|
o The default `device' is cuaa1, then cuaa0
|
|
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.
|
|
o The dial/call/open command works asynchronously. As a result, prompts
|
|
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
|
|
enabled without a `set dns' (was `set ns') will use values from
|
|
/etc/resolv.conf.
|
|
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.
|
|
o `Set timeout' only has one parameter. Use `set lqrperiod' and `set
|
|
{lcp,ccp,ipcp,chap,pap}retry' for the other timers. `show timeout'
|
|
is also now available using the relevant show commands.
|
|
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.
|
|
o Command line options only need enough characters to uniquely identify
|
|
them. -a == -auto, -dd == -ddial etc. -interactive is also allowed.
|
|
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.
|
|
o Ppp waits for 1 second before checking whether the device supports
|
|
carrier. This is controllable with ``set cd''.
|
|
o Random dial timeouts are now between 1 and 30 seconds inclusive rather
|
|
than between 0 and 29.
|
|
o Ppp now accepts M$CHAP (as well as normal CHAP) by default. If this
|
|
is not required, you must ``deny chap05 chap80''.
|
|
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.
|
|
o The ``show modem'' command is depricated and has been changed to
|
|
``show physical''.
|