xref: /freebsd/usr.sbin/ppp/README.changes (revision a8d7acdc03c05a0eb8b9fd78edc3cfc9cd06e4da)
1d91d2861SBrian SomersThis file summarises changes made to ppp that effect
2d91d2861SBrian Somersits configuration.
3d91d2861SBrian Somers
4d91d2861SBrian SomersIt does not describe new features, rather it attempts
5d91d2861SBrian Somersto answer any `this used to work, why doesn't it now?'
6d91d2861SBrian Somersquestions.
7d91d2861SBrian Somers
8d91d2861SBrian Somerso The `set debug' command was replaced with `set log'.
9d91d2861SBrian Somerso The `set log LCP' command was split into LCP, IPCP and CCP logs.
10d91d2861SBrian Somerso Syslogd is used for logging.  /etc/syslog.conf must be updated.
11d91d2861SBrian Somerso LQR is disabled by default.
12d91d2861SBrian Somerso Openmode is active by default.
13d91d2861SBrian Somerso Users must be a member of group `network' for ppp access.  Furthermore,
14d91d2861SBrian Somers  they must be `allow'ed to run ppp via the `allow' command in the
15d91d2861SBrian Somers  configuration file.
16d91d2861SBrian Somers  For a brief period, ppp could only be run as root.
17d91d2861SBrian Somerso No diagnostic socket is created by default.  The `set server' command
18d91d2861SBrian Somers  must be used.
19d91d2861SBrian Somerso The diagnostic socket password must be specified *only* on the `set
20d91d2861SBrian Somers  server' command line.
21d91d2861SBrian Somerso When `set server' is used to re-select a diagnostic port, all existing
22d91d2861SBrian Somers  diagnostic connections are dropped.
23d91d2861SBrian Somerso pppd-deflate is now called deflate24.
24d91d2861SBrian Somerso Filter IPs of 0.0.0.0 have a default width of 0, not 32.
25d91d2861SBrian Somerso Errors in `add' and `delete' are logged as warnings rather than being
26d91d2861SBrian Somers  written to the TCP/IP log.
27d91d2861SBrian Somerso Any number of diagnostic prompts are allowed, and they are allowed in
28d91d2861SBrian Somers  interactive mode.
29d91d2861SBrian Somerso The default `device' is cuaa1, then cuaa0
30d91d2861SBrian Somerso A password of "*" in ppp.secret causes a passwd database lookup in
31d91d2861SBrian Somers  pap mode.
32d91d2861SBrian Somerso The value of the CONNECT environment variable is logged in the
33d91d2861SBrian Somers  utmp host field in -direct mode.
34d91d2861SBrian Somerso Out-of-sequence FSM packets (IPCP/LCP/CCP) are dropped by default.
35d91d2861SBrian Somerso Reconnect values are used after an LQR timeout.
36d91d2861SBrian Somerso ^C works on the parent in -background mode.
3705dbe14bSBrian Somerso The dial/call/open command works asynchronously.  As a result, prompts
38d91d2861SBrian Somers  do not lose control while dialing.
39d91d2861SBrian Somerso The `display' command has been removed.  All information is available
40d91d2861SBrian Somers  with the appropriate `show' command.
41d91d2861SBrian Somerso Msext does not need to be enabled/disabled.  Setting the NBNS (set nbns)
42d91d2861SBrian Somers  will auto enable it.  The DNS side may be enabled/disabled, and if
43645b7985SBrian Somers  enabled without a `set dns' (was `set ns') will use values from
44645b7985SBrian Somers  /etc/resolv.conf.
45d91d2861SBrian Somerso Filters are now called `allow', `dial', `in' and `out'.  `set
46d91d2861SBrian Somers  ifilter ...' becomes `set filter in ...' etc.
47d91d2861SBrian Somerso Authname and Authkey may only be `set' in phase DEAD.
48d91d2861SBrian Somerso Set encrypt is no longer necessary.  Ppp will respond to M$CHAP
49d91d2861SBrian Somers  servers correctly if it's built with DES.
50d91d2861SBrian Somerso Throughput statistics are enabled by default.
51d91d2861SBrian Somerso `Set stopped' only has two parameters.  It's no longer possible to
52d91d2861SBrian Somers  have an IPCP stopped timer.
53d91d2861SBrian Somerso `Set timeout' only has one parameter.  Use `set lqrperiod' and `set
54d91d2861SBrian Somers  {lcp,ccp,ipcp,chap,pap}retry' for the other timers.  `show timeout'
5505dbe14bSBrian Somers  is also now available using the relevant show commands.
56d91d2861SBrian Somerso `set loopback' is now `enable/disable loopback'.
57d91d2861SBrian Somerso `show auto', `show loopback' and `show mtu' are all part of `show bundle'.
58d91d2861SBrian Somerso `show mru' is part of `show lcp'
59d91d2861SBrian Somerso `show msext' and `show vj' are part of `show ipcp'
60d91d2861SBrian Somerso `show reconnect' and `show redial' are part of `show link'
61d91d2861SBrian Somerso A signal 15 (TERM) will now shut down the link gracefully.
62d91d2861SBrian Somerso A signal 2 (HUP) will drop all links immediately.
63d91d2861SBrian Somerso Signal 30 (USR1) is now ignored.
64d91d2861SBrian Somerso Add & delete commands are not necessary in ppp.linkup if they are
65d91d2861SBrian Somers  `sticky routes' (ie, contain MYADDR or HISADDR).
66d91d2861SBrian Somerso LINK and CARRIER logging are no longer available.
67d91d2861SBrian Somerso Timer based DEBUG messages are now logged in the new TIMER log.
68d91d2861SBrian Somerso Ppp can use tun devices > tun255.
69d91d2861SBrian Somerso Protocol-compressed packets are accepted even if they were denied
70d91d2861SBrian Somers  at LCP negotiation time.
71d91d2861SBrian Somerso Passwords aren't logged when logging the ``set server'' line.
7205dbe14bSBrian Somerso Command line options only need enough characters to uniquely identify
7305dbe14bSBrian Somers  them.  -a == -auto, -dd == -ddial etc.  -interactive is also allowed.
7480b2397cSBrian Somerso If you don't like seeing additional interface aliases when running in
7580b2397cSBrian Somers  -auto -alias mode, add ``iface clear'' to your ppp.linkdown file -
7680b2397cSBrian Somers  check the sample file.
776b4286e0SBrian Somerso Ppp waits for 1 second before checking whether the device supports
786b4286e0SBrian Somers  carrier.  This is controllable with ``set cd''.
79b5c347a3SBrian Somerso Random dial timeouts are now between 1 and 30 seconds inclusive rather
80b5c347a3SBrian Somers  than between 0 and 29.
81516bf2ccSBrian Somerso Ppp now accepts M$CHAP (as well as normal CHAP) by default.  If this
82516bf2ccSBrian Somers  is not required, you must ``deny chap05 chap80''.
83a8d7acdcSBrian Somerso The ``set device'' command now expects each device to be specified as an
84a8d7acdcSBrian Somers  argument rather than concatentating all arguments and splitting based
85a8d7acdcSBrian Somers  on commas and spaces.
86