README.changes revision 61863
153889Sbrian$FreeBSD: head/usr.sbin/ppp/README.changes 61863 2000-06-20 12:18:40Z brian $
253889Sbrian
336285SbrianThis file summarises changes made to ppp that effect
436285Sbrianits configuration.
536285Sbrian
636285SbrianIt does not describe new features, rather it attempts
736285Sbrianto answer any `this used to work, why doesn't it now?'
836285Sbrianquestions.
936285Sbrian
1036285Sbriano The `set debug' command was replaced with `set log'.
1136285Sbriano The `set log LCP' command was split into LCP, IPCP and CCP logs.
1236285Sbriano Syslogd is used for logging.  /etc/syslog.conf must be updated.
1336285Sbriano LQR is disabled by default.
1436285Sbriano Openmode is active by default.
1536285Sbriano Users must be a member of group `network' for ppp access.  Furthermore,
1636285Sbrian  they must be `allow'ed to run ppp via the `allow' command in the
1736285Sbrian  configuration file.
1836285Sbrian  For a brief period, ppp could only be run as root.
1936285Sbriano No diagnostic socket is created by default.  The `set server' command
2036285Sbrian  must be used.
2136285Sbriano The diagnostic socket password must be specified *only* on the `set
2236285Sbrian  server' command line.
2336285Sbriano When `set server' is used to re-select a diagnostic port, all existing
2436285Sbrian  diagnostic connections are dropped.
2536285Sbriano pppd-deflate is now called deflate24.
2636285Sbriano Filter IPs of 0.0.0.0 have a default width of 0, not 32.
2736285Sbriano Errors in `add' and `delete' are logged as warnings rather than being
2836285Sbrian  written to the TCP/IP log.
2936285Sbriano Any number of diagnostic prompts are allowed, and they are allowed in
3036285Sbrian  interactive mode.
3136285Sbriano The default `device' is cuaa1, then cuaa0
3236285Sbriano A password of "*" in ppp.secret causes a passwd database lookup in
3336285Sbrian  pap mode.
3436285Sbriano The value of the CONNECT environment variable is logged in the
3536285Sbrian  utmp host field in -direct mode.
3636285Sbriano Out-of-sequence FSM packets (IPCP/LCP/CCP) are dropped by default.
3736285Sbriano Reconnect values are used after an LQR timeout.
3836285Sbriano ^C works on the parent in -background mode.
3936466Sbriano The dial/call/open command works asynchronously.  As a result, prompts
4036285Sbrian  do not lose control while dialing.
4136285Sbriano The `display' command has been removed.  All information is available
4236285Sbrian  with the appropriate `show' command.
4336285Sbriano Msext does not need to be enabled/disabled.  Setting the NBNS (set nbns)
4436285Sbrian  will auto enable it.  The DNS side may be enabled/disabled, and if
4536774Sbrian  enabled without a `set dns' (was `set ns') will use values from
4636774Sbrian  /etc/resolv.conf.
4736285Sbriano Filters are now called `allow', `dial', `in' and `out'.  `set
4836285Sbrian  ifilter ...' becomes `set filter in ...' etc.
4936285Sbriano Authname and Authkey may only be `set' in phase DEAD.
5036285Sbriano Set encrypt is no longer necessary.  Ppp will respond to M$CHAP
5136285Sbrian  servers correctly if it's built with DES.
5236285Sbriano Throughput statistics are enabled by default.
5336285Sbriano `Set stopped' only has two parameters.  It's no longer possible to
5436285Sbrian  have an IPCP stopped timer.
5549978Sbriano `Set timeout' only has one or two parameters.  Use `set lqrperiod' and
5649978Sbrian  `set {lcp,ccp,ipcp,chap,pap}retry' for the other timers.  These timeout
5749978Sbrian  values can be seen using the relevant show commands.
5836285Sbriano `set loopback' is now `enable/disable loopback'.
5936285Sbriano `show auto', `show loopback' and `show mtu' are all part of `show bundle'.
6036285Sbriano `show mru' is part of `show lcp'
6136285Sbriano `show msext' and `show vj' are part of `show ipcp'
6236285Sbriano `show reconnect' and `show redial' are part of `show link'
6336285Sbriano A signal 15 (TERM) will now shut down the link gracefully.
6436285Sbriano A signal 2 (HUP) will drop all links immediately.
6536285Sbriano Signal 30 (USR1) is now ignored.
6636285Sbriano Add & delete commands are not necessary in ppp.linkup if they are
6736285Sbrian  `sticky routes' (ie, contain MYADDR or HISADDR).
6836285Sbriano LINK and CARRIER logging are no longer available.
6936285Sbriano Timer based DEBUG messages are now logged in the new TIMER log.
7036285Sbriano Ppp can use tun devices > tun255.
7136285Sbriano Protocol-compressed packets are accepted even if they were denied
7236285Sbrian  at LCP negotiation time.
7336285Sbriano Passwords aren't logged when logging the ``set server'' line.
7436466Sbriano Command line options only need enough characters to uniquely identify
7536466Sbrian  them.  -a == -auto, -dd == -ddial etc.  -interactive is also allowed.
7641754Sbriano If you don't like seeing additional interface aliases when running in
7741754Sbrian  -auto -alias mode, add ``iface clear'' to your ppp.linkdown file -
7841754Sbrian  check the sample file.
7944073Sbriano Ppp waits for 1 second before checking whether the device supports
8044073Sbrian  carrier.  This is controllable with ``set cd''.
8144261Sbriano Random dial timeouts are now between 1 and 30 seconds inclusive rather
8244261Sbrian  than between 0 and 29.
8344796Sbriano Ppp now accepts M$CHAP (as well as normal CHAP) by default.  If this
8444796Sbrian  is not required, you must ``deny chap05 chap80''.
8546102Sbriano The ``set device'' command now expects each device to be specified as an
8646102Sbrian  argument rather than concatentating all arguments and splitting based
8746102Sbrian  on commas and spaces.
8853889Sbriano The ``show modem'' command is deprecated and has been changed to
8946686Sbrian  ``show physical''.
9049140Sbriano The words ``host'' and ``port'' are no longer accepted by the ``set filter''
9149140Sbrian  command.  Removing them should yield the same results as before.
9253889Sbriano The ``set weight'' command has been deprecated.  The ``set bandwidth''
9349434Sbrian  command should now be used instead.
9449434Sbriano The ``set autoload'' command syntax and implementation have changed as the
9549434Sbrian  old implementation was mis-designed and dysfunctional.
9649472Sbriano Ppp now waits either the full ``set cd'' time or until carrier is detected
9749472Sbrian  before running the login script (whichever comes first).
9853889Sbriano The -alias flag has been deprecated.  The -nat flag should be used instead.
9954914Sbriano Unbalanced quotes in commands are now warned about and the entire command
10054914Sbrian  is ignored.
10155246Sbriano It is now only necessary to escape the `-' character in chat scripts twice.
10255246Sbrian  See the example files for details.
10358045Sbriano Environment variables and ~ are expanded on in commands
10461863Sbriano ``nat pptp'' is no longer necessary as this is now done transparently
105