History log of /freebsd-10-stable/usr.sbin/ppp/ppp.8
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 316187 30-Mar-2017 sevan

MFC 315964
ftp.microsoft.com is dead and the document was not archived, point to the full
protocol spec document instead.
Fix spelling mistake flagged by igor.
Rephrase bad sentence flagged by igor.

Approved by: bcr (mentor)
Differential Revision: https://reviews.freebsd.org/D10111


# 293290 06-Jan-2016 bdrewery

MFC r289677:

Fix a ton of speelling errors


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 251279 02-Jun-2013 brian

Move ppp.8.m4 back to ppp.8 and de-ifdef it.

Requested by: joel

MFC after: 1 week


# 244040 08-Dec-2012 eadler

A number of places in the source tree still reference cuad.* after
sio(4) was deprecated by uart(4).

s/cuad/cuau/g/

PR: docs/171533
Reviewed by: imp
Approved by: cperciva (implicit)
MFC after: 3 weeks


# 240235 08-Sep-2012 joel

mdoc fixes.


# 228990 30-Dec-2011 uqs

Spelling fixes for usr.sbin/


# 218397 07-Feb-2011 brian

Add "iface name" and "iface description" commands.

PR: 151400
Submitted by: Aragon Gouveia - aragon at phat dot za dot net with minor fixes
MFC after: 3 weeks


# 201117 28-Dec-2009 trasz

Don't refer to pppd(8).


# 196530 25-Aug-2009 brian

Document that ppp handles pipe(2) descriptors specially in -direct mode.

MFC after: 3 days


# 195375 05-Jul-2009 brian

Add a missing phrase.

Submitted by: Jason McIntyre jmc at kerhand dot co dot uk
Approved by: re (kib)
Obtained from: OpenBSD
MFC after: 3 weeks


# 179315 26-May-2008 bz

Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE and
parts relied on the now removed NET_NEEDS_GIANT.
Most of I4B has been disconnected from the build
since July 2007 in HEAD/RELENG_7.

This is what was removed:
- configuration in /etc/isdn
- examples
- man pages
- kernel configuration
- sys/i4b (drivers, layers, include files)
- user space tools
- i4b support from ppp
- further documentation

Discussed with: rwatson, re


# 169987 25-May-2007 brueffer

Cleanup after previous commit.


# 169986 25-May-2007 novel

Add a new option for ppp.conf: rad_port_id. It allows to
change the way of what ppp submits to the RADIUS server
as NAS-Port-Id. Possible options are: the PID of the process
owning the corresponding interface, tun(4) interface number,
interface index (as it would get returned by if_nametoindex(3)),
or it's possible to keep the default behavior. Check the ppp(8)
manual page for details.

PR: bin/112764
Submitted by: novel (myself)
Reviewed by: flz
Approved by: flz
MFC after: 1 month


# 162067 06-Sep-2006 brian

Remove leading zeros

Suggested by: mdoc police (ru)


# 162063 06-Sep-2006 brian

Remove __DATE__ so that compiling the same source produces the same binary
(for non-static binaries at least).


# 150463 22-Sep-2005 brian

Fix a typo

Obtained from: OpenBSD


# 145970 06-May-2005 brian

The kernel doesn't need to include a tun device - the module will be loaded
on demand if required.


# 145643 28-Apr-2005 jcamou

Update the manual page for ppp(8).

PR: docs/78605
Submitted by: John E. Hein <jhein@timing.com>
Approved by: trhodes (mentor)
MFC after: 1 day


# 141851 13-Feb-2005 ru

Expand contractions.


# 141846 13-Feb-2005 ru

Expand *n't contractions.


# 140568 21-Jan-2005 ru

Fixed xref.


# 140063 11-Jan-2005 ru

Scheduled mdoc(7) sweep.


# 138917 16-Dec-2004 roam

Describe the special meaning of the $ and ~ characters, and the fact
that you can get around it by double-quoting them.

PR: 42762
Submitted by: AIDA Shinra <aida-s@jcom.home.ne.jp>
Discussed with: brian


# 138799 13-Dec-2004 brian

Implement an ``enable/disable echo'' option, defaults to off.
This allows LCP ECHOs to be enabled independently of LQR reports.

Note: This introduces a change in the default behaviour (search for lqr and
echo in the man page). I'll update UPDATING to reflect this.

PR: 74821


# 138198 29-Nov-2004 brian

Send NAS-IP-Address as well as NAS-Identifier
Add ``disable NAS-IP-Address'' and ``disable NAS-Identifier'' options to
support pre-rfc2865 RADIUS servers.
This pushes our enable/disable items over the 32 bit limit, so reoganise
things to allow a bunch more options.
Go to version 3.4.1 so that any compatability problems can be identified.


# 137885 19-Nov-2004 obrien

Catch up with PHK's sio(4) cuaa->cuad rework [sys/dev/sio/sio.c rev. 1.456].

PR: 73879
Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>


# 132818 29-Jul-2004 glebius

Add configuration option "set pppoe [standard|3Com]" which allows
to configure mode for ng_pppoe(4) node under control.

Reviewed by: brian
Approved by: julian (mentor)


# 132273 16-Jul-2004 brian

Support a ``set rad_alive N'' command to enable periodic RADIUS accounting
information being sent to the RADIUS server.

Logging of RADIUS accounting information moves to a ``set log [+-]radius''
level, along with the RADIUS alive info, and the version number is bumped
to 3.2 to reflect this.

Mostly submitted by: alx@sm.ukrtel.net (back in January)
MFC after: 3 weeks


# 131500 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


# 131266 29-Jun-2004 brian

Mention that ``set mtu max'' is necessary for PPPoE.

PR: 32040
MFC after: 2 weeks


# 127859 04-Apr-2004 charnier

2 small typos.


# 124438 12-Jan-2004 trhodes

Xref the proper manual pages.

PR: 60999
Submitted by: Marc Silver <marcs@draenor.org>


# 120372 23-Sep-2003 marcus

Add Cisco Skinny Station protocol support to libalias, natd, and ppp.
Skinny is the protocol used by Cisco IP phones to talk to Cisco Call
Managers. With this code, one can use a Cisco IP phone behind a FreeBSD
NAT gateway.

Currently, having the Call Manager behind the NAT gateway is not supported.
More information on enabling Skinny support in libalias, natd, and ppp
can be found in those applications' manpages.

PR: 55843
Reviewed by: ru
Approved by: ru
MFC after: 30 days


# 116626 20-Jun-2003 ume

Mention the use of Framed-IPv6-Prefix.

MFC after: 1 week


# 116621 20-Jun-2003 ume

Mention the use of Framed-IPv6-Route.

MFC after: 1 week


# 115224 22-May-2003 ru

Erase whitespace at EOL.

Approved by: re (blanket)


# 112659 26-Mar-2003 brian

Add a ``force-scripts'' option for using chat scripts with -direct and
-dedicated links.

Submitted by: Maksim Yevmenkin <myevmenk@exodus.net>


# 102558 29-Aug-2002 brian

- made ppp compliant to RFC 2472 (based on a patch from another
contributor)
- support ipv6cpretry and ipv6cpretries, which are IPv6 versions
of ipcpretry and ipcpretries.
- improve handling of IPv6 link-local addresses

Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>


# 102459 26-Aug-2002 brian

Correct the FAQ url

Submitted by: Olivier Tharan <olive@oban.frmug.org>


# 101828 13-Aug-2002 ru

mdoc(7) police: Removed redundant .Ns calls.


# 100974 30-Jul-2002 blackend

Correct links to Handbook's pages, old URLs does not work anymore.

MFC after: 1 week


# 98151 12-Jun-2002 brian

If a RAD_FILTER_ID is supplied by the RADIUS server, treat it as an
additional label from ppp.linkup & ppp.linkdown to load.

Suggested and mostly submitted by: andrew pavlov <and@kremenchug.net>


# 98132 11-Jun-2002 brian

Understand the following Microsoft Vendor Specific RADIUS attributes:

RAD_MICROSOFT_MS_MPPE_ENCRYPTION_POLICY
RAD_MICROSOFT_MS_MPPE_ENCRYPTION_TYPES
RAD_MICROSOFT_MS_MPPE_RECV_KEY
RAD_MICROSOFT_MS_MPPE_SEND_KEY

These attributes may be supplied by a RADIUS server when MSCHAPv2 is
used to authenticate.

It *should* now be possible to build ppp with -DNODES and still support
CHAP/MSCHAP/MSCHAPv2/MPPE via a RADIUS server, but the code isn't yet
smart enough to do that (building with -DNODES just looses these
facilities).

Sponsored by: Monzoon


# 97783 03-Jun-2002 brian

Add a missing ``a''.


# 97061 21-May-2002 brian

Mention our support of the authentication side of rfc2548


# 96883 18-May-2002 brian

Document RAD_MICROSOFT_MS_CHAP2_SUCCESS.


# 96324 10-May-2002 brian

Add support for MS-CHAP authentication via a RADIUS server.
Add support for Reply-Message and MS-CHAP-Error.

Sponsored by: Monzoon


# 96153 07-May-2002 brian

Understand the Session-Timeout RADIUS attribute
Store the Filter-Id attribute (we don't do anything with it yet)

Submitted mostly by: andrew pavlov <and@kremenchug.net>


# 94934 17-Apr-2002 brian

Add variable substitutions for SOCKNAME, IPOCTETSIN, IPOCTETSOUT, IPPACKETSIN,
IPPACKETSOUT, IPV6OCTETSIN, IPV6OCTETSOUT, IPV6PACKETSIN, IPV6PACKETSOUT,
OCTETSIN, OCTETSOUT, PACKETSIN, PACKETSOUT and SOCKNAME.


# 93152 25-Mar-2002 brian

Fix a typo

Submitted by: dirk


# 92348 15-Mar-2002 ru

mdoc(7) police: .Va -> .Ev.


# 90977 20-Feb-2002 brian

Document NGM_PPPOE_ACNAME handling.


# 89713 23-Jan-2002 brian

Cross reference the NETWORK ADDRESS TRANSLATION section when describing
the -nat flag.

Requested by: eivind


# 86808 23-Nov-2001 brian

Fix usage for the log command


# 86754 21-Nov-2001 brian

Document that an UPTIME variable is now available


# 85991 03-Nov-2001 brian

Add a ``log'' command for logging specific information.
Add an ``UPTIME'' variable to indicate the bundle uptime.

It's now possible to put something like this in ppp.linkdown
for a server setup:

MYADDR:
log Session closing: User USER, address HISADDR, up UPTIME

Fixed some memory leakage with commands that expand words.
Made some functions static.
Fixed a diagnostic bug (iface add .... SIOCDIFADDR)


# 83399 13-Sep-2001 brian

Spell syslog.conf correctly

Submitted by: Tony Finch <dot@dotat.at>
PR: 30545


# 82437 27-Aug-2001 brian

Some cosmetic changes to sync with OpenBSD


# 81755 16-Aug-2001 ru

mdoc(7) police: markup nit, removed whitespace at EOL.


# 81634 14-Aug-2001 brian

o Add ipv6 support, abstracting most NCP addresses into opaque
structures (well, they're treated as opaque).

It's now possible to manage IPv6 interface addresses and routing
table entries and to filter IPV6 traffic whether encapsulated or
not.

IPV6CP support is crude for now, and hasn't been tested against
any other implementations.

RADIUS and IPv6 are independent of eachother for now.

ppp.linkup/ppp.linkdown aren't currently used by IPV6CP

o Understand all protocols(5) in filter rules rather than only a select
few.

o Allow a mask specification for the ``delete'' command. It's now
possible to specifically delete one of two conflicting routes.

o When creating and deleting proxy arp entries, do it for all IPv4
interface addresses rather than doing it just for the ``current''
peer address.

o When iface-alias isn't in effect, don't blow away manually (via ``iface
add'') added interface addresses.

o When listening on a tcp server (diagnostic) socket, bind so that a
tcp46 socket is created -- allowing both IPv4 and IPv6 connections.

o When displaying ICMP traffic, don't display the icmp type twice.
When display traffic, display at least some information about unrecognised
traffic.

o Bump version

Inspired after filtering work by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>


# 81589 13-Aug-2001 ru

mdoc(7) police: s/OpenBSD/.Ox/ where appropriate.


# 81534 11-Aug-2001 brian

Preprocess ppp.8.m4 into ppp.8, taking into account any compile time
options used to build ppp.

Currently, this is a no-op and only handles LOCALNAT and LOCALRAD cases.

This will be used for the upcoming ipv6 changes, and allows a shared
man page between OpenBSD and FreeBSD.


# 81251 07-Aug-2001 ru

mdoc(7) police:

Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.


# 81033 02-Aug-2001 brian

Add a ``nat punch_fw'' command for punching FTP and IRC DCC holes through
the firewall.


# 79800 16-Jul-2001 brian

TCPMSS adjusts all TCP SYN packets, not just outgoing ones.

Pointed out by: ru


# 79755 15-Jul-2001 dd

Remove whitespace at EOL.


# 79454 09-Jul-2001 dd

mdoc(7) police: remove extraneous .Pp before and/or after .Sh.


# 79435 08-Jul-2001 brian

Stay (backwards-)compatible with OpenBSD's groff


# 79433 08-Jul-2001 brian

Add a ``nat proto'' command -- similar to natd(8)'s -redirect_proto switch.

MFC after: 3 weeks


# 79370 06-Jul-2001 brian

Spell stateful properly

Inconsistently done by: brian
Spotted by: ru


# 79313 05-Jul-2001 ru

mdoc(7) police: removed hard sentence breaks, sorted xrefs.


# 78510 20-Jun-2001 brian

Avoid using too many args for ``set m[tr]u''

This needs to work with OpenBSD's groff too :(


# 78411 18-Jun-2001 brian

Add support for stateful MPPE (microsoft encryption) providing
encryption compatibility with Windows 2000. Stateful encryption
uses less CPU but is bad on lossy transports.

The ``set mppe'' command has been expanded. If it's used with any
arguments, ppp will insist on encryption, closing LCP if the other
end refuses.

Unfortunately, Microsoft have abused the CCP reset request so that
receiving a reset request does not result in a reset ack when using
MPPE...

Sponsored by: Monzoon Networks AG and FreeBSD Services Limited


# 78410 18-Jun-2001 brian

Handle hardware-imposed MTU/MRU limitations. PPPoE will no longer
allow MRU/MTU negotiations to exceed 1492.

Add an optional ``max'' specifier to ``set m[rt]u'', ie.

set mtu max 1480

Bump the ppp version number.

Sponsored by: Monzoon Networks AG and FreeBSD Services Limited


# 77760 05-Jun-2001 sobomax

Correct cross-references:
ng_bpf.8 --> ng_bpf.4
ng_ether.8 --> ng_ether.4
ng_iface.8 --> ng_iface.4
ng_pppoe.8 --> ng_pppoe.4
ng_socket.8 --> ng_socket.4
ng_tty.8 --> ng_tty.4
ng_{type}.4 --> /dev/null

MFC after: 1 week


# 77690 04-Jun-2001 brian

Add BSD style copyrights (with permission from Charles Mott where appropriate)
Deprecate -alias further (after a repo-copy)


# 76026 26-Apr-2001 brian

Fix some quotes and mention that it's usually necessary to train
your modem to the correct speed when setting up an incoming getty.


# 75894 24-Apr-2001 brian

Handle IP over IP (IPPROTO_IPV4) properly.

We now unwrap IP/IP and apply filter rules to both the outer
layer (with ``set filter blah x.x.x.x y.y.y.y ipip'') and to
the payload (reinterpreted by the filter rules).

``set log tcp/ip'' will now show both the outer wrapper and
the (reinterpreted) payload contents.


# 74886 27-Mar-2001 brian

Add some comments to two examples and extend a ``set ifaddr''.


# 74002 08-Mar-2001 brian

Talk a little more about the differences between PPPoE on FreeBSD & OpenBSD.


# 73233 28-Feb-2001 ru

Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.


# 72127 07-Feb-2001 ru

mdoc(7) police: replace two -unfilled displays with -tag lists.
This works only because of bugs in current implementation: the
first .It after ``.Bd -unfilled'' re-enables filling mode and
does not restore (disable) it back afterwards.


# 71898 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


# 71764 28-Jan-2001 brian

Only remove socket files with ``set server open''.
Only show the mask in ``show bundle'' when it's been specified.
Complain about unexpected arguments after ``set server {none,open,closed}''
Log re-open failures as warnings rather than phase messages.
Fix some markup for the ``set server'' man page description.


# 71660 25-Jan-2001 brian

Fix arg count


# 71657 25-Jan-2001 brian

Allow ``set server closed'' to close the diagnostic socket.
Allow ``set server open'' to re-open the diagnostic socket.
Handle SIGUSR1 by re-opening the diagnostic socket
When receiving SIGUSR2 (and in ``set server none''), don't forget the
socket details so that ``set server open'' and SIGUSR1 open it again.

Don't create the diagnostic socket as uid 0 ! It's far to dangerous.


# 71371 22-Jan-2001 brian

Fix for NetBSD where

.Oc Oc
.Xc

doesn't seem to work....


# 70403 27-Dec-2000 ru

Prepare for mdoc(7)NG.


# 70047 15-Dec-2000 ru

Add a missing dot.


# 70039 14-Dec-2000 brian

Correct the documented default behaviour of mschap, mschap81 and MPPE.

Pointed out by: Mark Knight <markk@knigma.org>


# 69862 11-Dec-2000 ru

mdoc(7) police: use canonical form of .Dd macro.


# 69303 28-Nov-2000 brian

Add ``enable/disable tcpmssfixup'', defaulting to enabled.

Suggested by: julian
Hijacked from: ru (ports/net/tcpmssd)


# 69300 28-Nov-2000 ben

various typo and minor punctuation changes.

PR: 23111
Submitted by: Jimmy Olgeni <olgeni@uli.it>


# 68965 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


# 68909 19-Nov-2000 brian

Some gratuitous whitespace changes.


# 68907 19-Nov-2000 brian

Describe how to tunnel properly.

Requested by: Greg Quinlan <greg@macquarrie.com.au>


# 68841 16-Nov-2000 brian

Be a bit more precise about what ``nat deny_incoming yes'' does.


# 68575 10-Nov-2000 ru

Avoid use of direct troff requests in mdoc(7) manual pages.


# 68028 31-Oct-2000 brian

Mention that ``nat deny_incoming'' drops unrecognised IP packets.

Requested by: kris


# 67916 29-Oct-2000 brian

Add ``all'' logging.

Submitted by: eivind


# 67910 29-Oct-2000 brian

Add MPPE and MSChap v2 support (denied and disabled by default)

Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>


# 65274 31-Aug-2000 rse

Fix resolv.conf line hint: "name-server" -> "nameserver"


# 65181 28-Aug-2000 brian

Add LogFILTER logging to log packets allowed by the dial filter and
dropped by any filter.

Submitted by: Mark Hannon <markhannon@one.net.au>

with some small tweaks by me.


# 64670 15-Aug-2000 brian

Maintain input and output throughput averages and choose the highest
of the two when calculating the MP throughput average for the ``set
autoload'' implementation.

This makes more sense as all links I know of are full-duplex. This
also means that people may need to adjust their autoload settings
as 100% bandwidth is now the theoretical maximum rather than 200%
(but of course, halfing the current settings is probably not the
correct answer either!).

This involves a ppp version bump as we need to pass an extra
throughput array through the MP local domain socket.


# 64627 13-Aug-2000 brian

Index: ppp.8
===================================================================
RCS file: /home/ncvs/src/usr.sbin/ppp/ppp.8,v
retrieving revision 1.233
diff -u -r1.233 ppp.8
--- ppp.8 2000/08/10 13:26:01 1.233
+++ ppp.8 2000/08/12 19:50:41
@@ -1,8 +1,8 @@
.\" $FreeBSD: src/usr.sbin/ppp/ppp.8,v 1.233 2000/08/10 13:26:01 brian Exp $
.Dd 20 September 1995
.nr XX \w'\fC00'
-.Os FreeBSD
.Dt PPP 8
+.Os
.Sh NAME
.Nm ppp
.Nd Point to Point Protocol (a.k.a. user-ppp)


# 64489 10-Aug-2000 brian

Mention that pppoe requires netgraph(4) and without it, an external
pppoe program must be used (such as pppoe(8) on OpenBSD).


# 64465 09-Aug-2000 brian

Allow leading ``!'' characters in authkeys and chat scripts to
be doubled up to mean a single literaly ``!''.


# 63508 19-Jul-2000 brian

Describe the new VERSION and COMPILATIONDATE macros and mention that the
``ident'' command will expand macros.


# 63484 19-Jul-2000 brian

Support link identification from rfc1570
Two new commands are available; ``ident'' and ``sendident''.


# 63052 12-Jul-2000 brian

Permit multiple ``allow user'' lines in any given section
This avoids line length limits when large numbers of users are allowed
access to ppp.


# 63023 12-Jul-2000 brian

Correct ``set filter'' usage

Spotted by: sheldonh


# 62977 11-Jul-2000 brian

Allow a ``timeout secs'' filter option to let specific packet types
effect the idle timer in different ways.

Submitted by: Stefan Esser <se@freebsd.org>

With adjustments by me to document the option in the man page and to
give the same semantics for outgoing traffic as incoming.

I made the style more consistent in ip.c - this should really have
been done as a separate commit.


# 62778 07-Jul-2000 brian

o Log the (payload/size) of all packet types, not just TCP packets

o If the new ``filter-decapsulation'' is enabled, delve into UDP packets
that contain 0xff 0x03 as the first two bytes, and if we recognise it
as PROTO_IP, decapsulate it for the purpose of filter checking.

If we recognise it as PROTO_<anything else> mention this for logging
purposes only.

This change is aimed at people running PPPoUDP where the UDP traffic is
being sent over another PPP link. It's desireable to have the top level
link connected all the time, but to have the bottom level link capable
of decapsulating the traffic and comparing the payload against the filters,
thus allowing ``set filter dial ...'' to work in tunnelled environments.

The caveat here is that the top ppp cannot employ any compression layers
without making the data unreadable for the bottom ppp. ``disable deflate
pred1 vj'' and ``deny deflate pred1 vj'' is suggested.


# 61999 23-Jun-2000 brian

e.g. -> e.g.,

Obtained from: OpenBSD


# 61863 20-Jun-2000 brian

Remove ``nat pptp'' as this is now done transparently by libalias.


# 61621 13-Jun-2000 brian

A few more hard-sentence breaks.


# 61555 11-Jun-2000 brian

Hard sentence breaks and trailing space tidy-ups

Obtained from: OpenBSD


# 61534 11-Jun-2000 brian

Add ``set ifqueue'' to control the size of the outgoing packet
queue. Doing ``set ifqueue 0'' and ``set urgent none'' will allow
full use of luigi's WF2Q code.

Requested by: luigi


# 61430 08-Jun-2000 brian

Allow ``set urgent none'' to disable all urgent ports and IPTOS_LOWDELAY
prioritisation.

Requested by: luigi


# 60888 24-May-2000 brian

The name /var/log/alias.log is *not* likely to change in the near
future...


# 60878 24-May-2000 brian

Mention what ``enable proxy'' actually does


# 60365 11-May-2000 brian

Mention that the default is to let external traffic route to
the internal network when NAT is enabled.

Allow ``set target MYADDR'' to stop packets at the gateway.


# 58878 31-Mar-2000 brian

Use INADDR_NONE with PacketAliasSetTarget() if no args are given to
``nat target'', and suggest the use of ``nat target default'' as an
interesting possibility.


# 58867 31-Mar-2000 brian

Add the ``nat target'' command.


# 58147 16-Mar-2000 brian

Move a comment to make things a bit more readable.

Suggested by: sheldonh
Forgotten by: me


# 58072 14-Mar-2000 brian

ppps -> ppp's; suggested by sheldonh
.Nm ppp -> .Nm; overlooked by me
Microsofts -> Microsoft's; OpenBSD


# 58044 13-Mar-2000 brian

Add the ``resolv'' command for telling ppp how to deal with resolv.conf.
You can now ``resolv restore'' in ppp.linkdown !
Add DNS0 and DNS1 macros.


# 58041 13-Mar-2000 brian

Fix some typos

Obtained from: OpenBSD


# 58033 13-Mar-2000 brian

Add ``set log dns'' to log DNS QUERY packets.

This is invaluable for dial-on-demand connections...
In ppp.linkup:

set log -dns -tcp/ip

and in ppp.linkdown

set log +dns +tcp/ip

giving a much better account of why the link came up.


# 57695 02-Mar-2000 sheldonh

Remove more single-space hard sentence breaks.


# 57001 05-Feb-2000 ru

Unbroke the reference to libalias(3).


# 55529 07-Jan-2000 brian

Call serial devices ``cuaXX'' instead of ``cuaaX'' (in line
with OpenBSD conventions).


# 55528 07-Jan-2000 brian

.Bl -tag requires -width too

Obtained from: OpenBSD


# 55246 29-Dec-1999 brian

Mention that it's only necessary to escape the '-' in chat scripts
twice (once for the arg parsing and once to make it a normal character).
Make the man page example consistent.

Reminded by: Bryan Liesner <bleez@netaxs.com>


# 53733 26-Nov-1999 brian

Change ``set cd'' so that its default value is device specific. The
default is still 1 second for ttys, but is now 6 seconds for i4b (ISDN)
devices and 5 seconds for ethernet (PPPoE) devices.


# 53125 13-Nov-1999 brian

Don't insist on 4 digit umasks in ``set server''.

Pointed out by: joerg


# 53124 13-Nov-1999 brian

Make the meaning of the provider part of the PPPoE device spec clearer.


# 52942 06-Nov-1999 brian

Support PPPoE

Help (lots) from: julian, archie
Facilities from: ahebert@pubnix.net


# 52488 25-Oct-1999 brian

Introduce ``set logout''; another chat script. This is in preparation
for the abstraction of ``set dial'' and ``set hangup''.


# 52396 19-Oct-1999 brian

Add the -unit command line switch for specifying the tun device.
Warn about -alias being depricated (but still allow it).
Don't moan twice about failing to open any tun device.
Fix a diagnostic and add the -quiet switch to the usage message.


# 51699 26-Sep-1999 brian

Support ``set cd off'' to tell ppp not to even look for carrier on the
device.


# 51634 24-Sep-1999 brian

Typo

Submitted by: Alex Nash <nash@mcs.net>


# 51457 20-Sep-1999 phantom

Correct spelling : ascii -> ASCII

PR: docs/13702
Submitted by: Stephen J. Roznowski <sjr@home.com>
Reviewed by: mpp


# 51048 07-Sep-1999 brian

Introduce a forth IP packet queue. Urgent packets with
ip_tos == IPTOS_LOWDELAY now get precidence over urgent
packets with ip_tos != IPTOS_LOWDELAY and non-urgent packets
with ip_tos == IPTOS_LOWDELAY.

Enhance the ``set urgent'' syntax to allow for urgent UDP
packets as well as urgent TCP packets.


# 50867 03-Sep-1999 brian

o Split the two IPCP queues into three - one for FSM data
(LCP/CCP/IPCP), one for urgent IP traffic and one for
everything else.
o Add the ``set urgent'' command for adjusting the list of
urgent port numbers. The default urgent ports are 21, 22,
23, 513, 514, 543 and 544 (Ports 80 and 81 have been
removed from the default priority list).
o Increase the buffered packet threshold from 20 to 30.
o Report the number of packets in the IP output queue and the
list of urgent ports under ``show ipcp''.


# 50479 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 50372 25-Aug-1999 brian

Fix some mdoc(7) style inconsistences
Submitted by: Alexey M. Zelkin" <phantom@cris.net>


# 50059 19-Aug-1999 brian

o Add the -foreground switch. This switch behaves like -background except
that ppp stays in the foreground.
o Add the -quiet switch to quieten ppps startup
o Add the -nat flag and discourage the use of the -alias flag. Both do
the same thing.
o Correct some nat usage strings.
o Change the internal ``alias'' command to ``nat''.


# 50014 18-Aug-1999 brian

Mention ``alias enable no'', not ``alias enable off''.


# 49978 17-Aug-1999 brian

Implement a minimum idle time value as an optional second argument
to ``set timeout''.
This is useful for situations where your minimum call charge is (say)
5 minutes (like mine is)


# 49472 06-Aug-1999 brian

Add ISDN support via isdnd & i4b. This requires version
0.81.1 of the i4b code - namely support of the I4B_VR_REQ
ioctl via the i4brbchX device.

Ppp controls the phone number, but idle timers and
SYNC/RAW decisions are still made by isdnd (in isdnd.rc).

This involves a new datalink state machine phase. The
``wait for carrier'' phase happens after dialing but
before logging in. The whole dial state should really
be abstracted so that each device type can deal with it
in its own way (thinking about PPPoE) - but that'll have
to wait.

The ``set cd'' symantics remain the same for tty devices,
but we now delay until we either get CD or timeout waiting
(at which time we drop the link if we require CD).

For i4b devices we always insist on carrier.

Thanks to hm@ for his help, and especially for pointing out
that I *don't* need to re-implement isdnd (that was a huge
waste of time !) :-]


# 49434 05-Aug-1999 brian

o Obsolete the undocumented ``set weight'' command.
o If we're using RADIUS and the RADIUS mtu is less than our
peers mru/mrru, reduce our mtu to this value for NetBSD too.
o Make struct throughput's sample period dynamic and tweak the ppp
version number to reflect the extra stuff being passed through
the local domain socket as a result (MP mode).
o Measure the current throughput based on the number of samples actually
taken rather than on the full sample period.
o Keep the throughput statisics persistent while being passed to
another ppp invocation through the local domain socket.
o When showing throughput statistics after the timer has stopped, use
the stopped time for overall calculations, not the current time.
Also show the stopped time and how long the current throughput has
been sampled for.
o Use time() consistently in throughput.c
o Tighten up the ``show bundle'' output.
o Introduce the ``set bandwidth'' command.
o Rewrite the ``set autoload'' command. It now takes three arguments
and works based on a rolling bundle throughput average compared against
the theoretical bundle bandwidth over a given period (read: it's now
functional).


# 49396 03-Aug-1999 brian

Reorganise ppp's usage to avoid some mandoc limitations.
Suggested by: wollman


# 49388 02-Aug-1999 brian

Mention that ospf is a possible filter protocol.


# 49216 29-Jul-1999 brian

Mention which rfc the DNS/NBNS IPCP extensions come from.


# 49144 28-Jul-1999 brian

Fix a load of typos
Use sizeof, not a hardcode value.

Some of it submitted by: Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>


# 49140 27-Jul-1999 brian

o Overhaul filtering, adding facilities to jump over rules and to
negate the sense of rules.
o Remove the redundant (and undocumented) ``host'' and ``port''
words (README.changes updated).
o Don't permit (and ignore) garbage instead of the protocol.

Mostly submitted by: Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>


# 49132 27-Jul-1999 brian

If we've negotiated CBCP and have also specified ``none'' as a possible
callback option, and the server sends us CBCP_NONUM, proceed directly
to the network phase rather than insisting on our configured CBCP
option.

Mostly submitted by: kkphang <phang@dgate.po.my>


# 49124 26-Jul-1999 brian

Be a bit more consistent with variable names.


# 49112 26-Jul-1999 brian

Fix an off-by-one error and correct the man page WRT clearing
filters.

Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
PR: 12437


# 48853 17-Jul-1999 brian

Fix a typo
Submitted by: Rich Wood <rich@chugaboom.net>


# 48142 23-Jun-1999 brian

Support `igmp' filters.
Mostly submitted by: Timo Geusch <freebsd@sleepycat.ukpeople.net>


# 47899 14-Jun-1999 brian

Come up with something useful when someone searches for
``dynamic IP''.


# 47876 11-Jun-1999 brian

Describe why a ``magic'' enddisc is not always a good idea.


# 47860 09-Jun-1999 brian

Allow a remote IP and port range specification in the
``alias port'' command.


# 47858 09-Jun-1999 brian

Allow our endpoint discriminator to be enabled, disabled, accepted
and denied. This is necessary for some MP implementations that
get confused if you accept their endpoint discriminator but reject
their MRRU.


# 47834 08-Jun-1999 brian

Make the ``load'', ``dial'' and ``open'' commands a big clearer.
Requested by: Michael Heitmeier <MICHAEL_HEITMEIER@HP-Germany-om12.om.hp.com>


# 47689 01-Jun-1999 brian

Introduce the ``keep-session'' option. Refer to the man
page for details. This allows MP over non-tty devices where
the original ppp process must not exit (such as sshd-spawned
ppp sessions).


# 47658 01-Jun-1999 brian

Mention that using MYADDR and HISADDR with ``set filter''
will result in the rules being updated any time MYADDR
or HISADDR change.


# 47253 16-May-1999 brian

Mention ``show layers''


# 47061 12-May-1999 brian

Allow ``host:port/udp'' devices and support ``host:port/tcp'' as
being the same as the previous (still supported) ``host:port''
syntax for tcp socket devices.

A udp device uses synchronous ppp rather than async, and avoids
the double-retransmit overhead that comes with ppp over tcp (it's
usually a bad idea to transport IP over a reliable transport that
itself is using an unreliable transport). PPP over UDP provides
througput of ** 1.5Mb per second ** with all compression disabled,
maxing out a PPro/200 when running ppp twice, back-to-back.

This proves that PPPoE is plausable in userland....

This change adds a few more handler functions to struct device and
allows derivations of struct device (which may contain their own
data etc) to pass themselves through the unix domain socket for MP.
** At last **, struct physical has lost all the tty crud !

iov2physical() is now smart enough to restore the correct stack of
layers so that MP servers will work again.

The version number has bumped as our MP link transfer contents have
changed (they now may contain a `struct device').

Don't extract the protocol twice in MP mode (resulting in protocol
rejects for every MP packet). This was broken with my original
layering changes.

Add ``Physical'' and ``Sync'' log levels for logging the relevent
raw packets and add protocol-tracking LogDEBUG stuff in various
LayerPush & LayerPull functions.

Assign our physical device name for incoming tcp connections by
calling getpeername().

Assign our physical device name for incoming udp connections from
the address retrieved by the first recvfrom().


# 46686 08-May-1999 brian

o Redesign the layering mechanism and make the aliasing code part of
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''.


# 46272 02-May-1999 brian

Mention ``show mp''.
Describe ACFComp correctly.


# 45952 23-Apr-1999 brian

Spelling police


# 45042 25-Mar-1999 brian

Allow port ranges in ``alias port''.


# 44892 19-Mar-1999 brian

Do away with some literal text that is never switched
off - I *think* these were groff bugs.


# 44879 18-Mar-1999 brian

Replace hardcoded quoting with Sq or Dq.


# 44870 18-Mar-1999 brian

Use ``Sx'' when xref'ing sections.


# 44869 18-Mar-1999 brian

Remove all remaining [ and ] characters (and do things properly).


# 44813 16-Mar-1999 brian

Remove all hardcoded [...] syntax.
With help from: Daniel C. Sobral <dcs@newsguy.com>


# 44563 07-Mar-1999 ghelmer

Add leading 0 in front of octal file permissions number.

OK'ed by: Brian Somers <brian@freebsd.org>
PR: docs/9843


# 44557 07-Mar-1999 brian

Support PPTP via libalias (``alias pptp addr'').


# 44547 07-Mar-1999 brian

Support proxying & transparent proxying curtesy of libalias(3).
Order the alias command descriptions.
Order the SEE ALSO entries.


# 44544 07-Mar-1999 brian

Correctly drop existing connections when reopening the diagnostic
socket.


# 44468 04-Mar-1999 brian

Extend the ``set redial'' command to allow incremental
redial timeouts.


# 44455 03-Mar-1999 brian

Correct some ntohl/htonl bogons in the netmask handling.
This was pretty harmless as netmasks on a POINTOPOINT
interface are pretty much ignored, but it looked funny.

Mention the configured netmask in ``show ipcp''.

Describe in more detail what a proxy arp entry is.


# 44305 26-Feb-1999 brian

Allow control over the number of ConfigREQ & TermREQ attempts
that are made in each of the FSMs (LCP, CCP & IPCP) and the
number of REQs/Challenges for PAP/CHAP by accepting more arguments
in the ``set {c,ip,l}cpretry'' and ``set {ch,p}apretry'' commands.

Change the non-convergence thresholds to 3 times the number of configured
REQ tries (rather than the previous fixed ``10''). We now notice
repeated NAKs and REJs rather than just REQs.

Don't suggest that CHAP 0x05 isn't supported when it's not configured.

Fix some bugs that expose themselves with smaller numbers of retries:
o Handle instantaneous disconnects (set device /dev/null) correctly
by stopping all fsm timers in fsm2initial.
o Don't forget to uu_unlock() devices that are files but are not
ttys (set device /dev/zero).

Fix a *HORRENDOUS* bug in RFC1661 (already fixed for an Open event in state
``Closed''):
According to the state transition table, a RCR+ or RCR- received in
the ``Stopped'' state are supposed to InitRestartCounter, SendConfigReq
and SendConfig{Ack,Nak}. However, in ``Stopped'', we haven't yet
done a TLS (or the last thing we did is a TLF). We must therefore
do the TLS at this point !

This was never noticed before because LCP and CCP used not use
LayerStart() for anything interesting, and IPCP tends to go into
Stopped then get a Down because of an LCP RTR rather than getting a
RCR again.


# 44261 25-Feb-1999 brian

When our dial timeout is ``random'', display its value
correctly by invoking the timer to get the value before
displaying the message.
Don't assume that a value of 0 is ``random'' in
``show datalink''.
Make the random value between 1 and DIAL_TIMEOUT rather
than between 0 and DIAL_TIMEOUT-1


# 44106 17-Feb-1999 brian

Fully support both NT and LANMan CHAP type 0x80 as both
authenticator and authenticatee.


# 44073 15-Feb-1999 brian

Wait by default for one second after the login script
is complete before checking carrier. If it's there,
the device supports carrier. If it's not it doesn't.

Add the ``set cd'' command for deciding how soon to check
for carrier, and for deciding if carrier is REQUIRED.

The default has changed: Pre 2.0 versions of ppp waited
for 1 second. Version 2 didn't wait, but this causes
problems with some (few?) modems that don't assert carrier
immediately on reporting CONNECT. The one second delay
is back now and can be removed with ``set cd 0''.

Bump the ppp version number in case this needs to be changed
again....


# 43992 14-Feb-1999 brian

Describe manual dialing in greater detail.
Mention more rfc numbers.
Don't ``.Nm Ppp'' (just use ``.Nm'').


# 43919 11-Feb-1999 brian

When executing a command as part of a dial/login/hangup
script, expand words in the same way as !bg does.


# 43903 11-Feb-1999 brian

/etc/ppp/ppp.*.sample -> /usr/share/examples/ppp/ppp.*.sample


# 43888 11-Feb-1999 brian

When resending chap challenges, resend the same challenge
each time rather than making up a new one.

Increase the authname/authkey max sizes to 100 characters.

Allow ``authkey'' specifications beginning with ``!''.
When a challenge is received, the text following the
``!'' is executed as a program (expanding stuff in the same
way that ``sh'' and ``!bg'' do). The program is passed the
peer name, peer challenge and local ``authname'' on standard
input and is expected to output the name/key combination that
should be used to build the CHAP response.

This provides support for Secure ID cards (guess what I was
given at work recently!) using CHAP.

Examples will follow.


# 43364 28-Jan-1999 billf

Reflect syslog(8)'s acceptance of either tabs or spaces.

PR: docs/9660
Submitted by: Kris Kennaway <kkennawa@physics.adelaide.edu.au>


# 43313 27-Jan-1999 brian

Initial RADIUS support (using libradius). See the man page for
details. Compiling with -DNORADIUS (the default for `release')
removes support.

TODO: The functionality in libradius::rad_send_request() needs
to be supplied as a set of routines so that ppp doesn't
have to wait indefinitely for the radius server(s). Instead,
we need to get a descriptor back, select() on the descriptor,
and ask libradius to service it when necessary.
For now, ppp blocks SIGALRM while in rad_send_request(), so
it misses PAP/CHAP retries & timeouts if they occur.

Only PAP is functional. When CHAP is attempted, libradius
complains that no User-Password has been specified... rfc2138
says that it *mustn't* be used for CHAP :-(

Sponsored by: Internet Business Solutions Ltd., Switzerland


# 42844 19-Jan-1999 brian

Change the maximum number of filters from 20 to 40.
Increase requested by: "Clement T. Cole" <clemc@echo.ccc.com>


# 42843 19-Jan-1999 brian

Suggest that ``set proctitle'' is used in ppp.linkup when
USER is expected to be expanded.


# 42523 11-Jan-1999 brian

Correct some formatting errors (one is a groff bug)
Noted & partially submitted by: Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>
PR: 9432


# 42484 10-Jan-1999 sada

Typo: /etc/ppp/ppp.conf.example -> ppp.conf.sample
Submitted by: Sugiura Shiro <ssugiura@duo.co.jp>


# 42322 05-Jan-1999 brian

Typo: The idle timer is ignored in -ddial and -dedicated
mode, not in -ddial and -direct.
Pointed out by: Chris Timmons <skynyrd@opus.cts.cwu.edu>


# 41505 04-Dec-1998 billf

Typo and formatting updates.

PR: docs/8504
Approved by: Brian Somers
Submitted by: Kazuo Horikawa <horikawa@jp.FreeBSD.org>


# 41006 08-Nov-1998 brian

Explain what the command line switches do and what the
various prompts signify.


# 41005 08-Nov-1998 brian

Fix a few typos
Submitted by: Forgotten (sorry)


# 40941 05-Nov-1998 brian

Don't delete the primary interface address when
``iface clean'' is used in auto mode while there
are no active links.


# 40797 31-Oct-1998 brian

Allow multiple systems (config labels) on the command
line and in the ``load'' & ``dial'' commands. The last
label loaded becomes the current label name.
Only require a label for -auto mode.


# 40679 27-Oct-1998 brian

Add ``set proctitle'' for changing argv[0]. All substitutions
are done in the same way as command execution.

For example, ``set proctitle USER INTERFACE PROCESSID'' would
be useful in a -direct profile for identifying who's connected.


# 40678 27-Oct-1998 brian

Add ``PROCESSID'' as a constant expanded when running
commands.


# 40677 27-Oct-1998 brian

Stress that ``none'' must be specified on the `set callback'
line if callback is to be optional.
Requested by: Andrzej Tobola <san@koziolek.lublin.top.pl>


# 40665 26-Oct-1998 brian

Add ``enable proxyall'' support. This adds proxy ARP entries
for every machine on every class C or smaller subnet that we
route to.
Add ``set {send,recv}pipe'' for controlling our socket buffer
sizes.
Mention the IP number with the problem in a few error messages.
All submitted by: Craig Leres <leres@ee.lbl.gov>
Modified slightly by: me


# 40664 26-Oct-1998 brian

Fix the interface alias code. Previously, I was expecting something
like

tun0: flags=blah
10.0.0.1 -> 10.0.0.100
10.0.0.2 -> 10.0.0.100
10.0.0.3 -> 10.0.0.100

to DTRT, despite the SIOCAIFADDR for each new alias returning
-1 & EEXIST while adding the alias anyway. In real life, once
we have the second alias with the same destination, nothing will
route any more ! Also, because I was ignoring EEXIST, the
dynamic IP assignment code was assigning duplicate addresses
('cos it was being lied to by iface_inAdd()).

Now we have

tun0: flags=blah
10.0.0.1 -> 255.255.255.255
10.0.0.2 -> 10.0.0.100
10.0.0.3 -> 255.255.255.255

This works - stuff bound to 10.1 & 10.3 will be considered alive
by the kernel, and when they route back to the tun device, the
packets get aliased to 10.2 and go out to 10.100 (as with the
original plan).

We still see the EEXIST in SIOCAIFADDR, but ignore it when our
destination is 255.255.255.255, assuming that the alias *was*
actually added.

Additionally, ``iface add'' may now optionally be given only
the interface address. The mask & destination default to
255.255.255.255.


# 40561 22-Oct-1998 brian

Solve the ``first connection'' problem that occurs on
demand-dial links with dynamic IP numbers where the program
that causes the dial bind()s to an interface address that is
subsequently changed after ppp negotiation.

The problem is defeated by adding negotiated addresses to the
tun interface as additional alias addresses and providing a set
of ``iface'' commands for managing the interface. Libalias is
also required (and what a name clash!) - it happily IP-aliases
the address so that the source is that of the primary (negotiated)
interface and un-IP-aliases it on the way back.

An ``enable iface-alias'' is done implicitly by the -alias command
line switch. If -alias isn't given, iface-aliasing is disabled by
default and can't be enabled 'till an ``alias enable yes'' is done.
``alias enable no'' silently disables iface-alias.

So, for dynamic-IP-type-connections, running ``ppp -alias -auto blah''
will work for the first connection, although existing bindings will
not survive a disconnect/connect as the TCP peer will be trying to
send to the old IP address - the packets won't route.

It's now a lot easier to add IPXCP to ppp with minor updates to
the new iface.[ch] (if anyone ever gets 'round to it).

It's also now possible to manually add interface aliases with
something like ``iface add 1.2.3.4/24 5.6.7.8''. This allows
multi-homed ppp links :-)


# 39470 18-Sep-1998 brian

Revert SEE ALSO ordering to version 1.124
Patched correctly by: wosch
Blunder pointed out by: bde


# 39394 16-Sep-1998 brian

Alphabeticalize SEE ALSO section.


# 38702 31-Aug-1998 wosch

Sort cross references.


# 38631 29-Aug-1998 brian

Don't use ``-width 20'', it's misleading. Use ``-width XX''
instead.


# 38630 29-Aug-1998 brian

Don't claim that the alias library isn't loaded until
used.


# 38629 29-Aug-1998 brian

Add the following word substitutions when running a shell
command:
AUTHNAME: The local authname
ENDDISC: The local endpoint discriminator
LABEL: The configuration label in use
PEER_ENDDISC: The peers endpoint discriminator
USER: The peers authname


# 38546 25-Aug-1998 brian

Mention what ``set authname'' does in -direct mode.


# 38544 25-Aug-1998 brian

If we've got a full output buffer queue and cannot send
anything for two mintues (see ``set choked'' and ``show
bundle''), nuke the ip, mp and link level buffer queues.

This should fix problems where ``ppp -auto'' seems to stop
responding after failing to connect to the peer a few times.


# 38248 11-Aug-1998 brian

Be careful about using ``.Bd -literal'' as groff sometimes keeps
the `-literal' after the closing .Ed.
Where this happens, use ``.Bd -unfilled'' with ``.It Li'' to dodge
the problem - it looks better too.
Problem reported by: Dom Mitchell <dom@phmit.demon.co.uk>


# 38207 09-Aug-1998 brian

`dns' option defaults to disabled, not enabled.


# 38203 09-Aug-1998 brian

Add missing .El


# 38202 09-Aug-1998 brian

/var/run/tunX.pid is created regardless of ppps mode.
Spotted by: Alex <garbanzo@hooked.net>


# 38174 07-Aug-1998 brian

o Support callback types NONE, E.164, AUTH and CBCP.
(see the new ``set callback'' and ``set cbcp'' commands)
o Add a ``cbcp'' log level and mbuf type.
o Don't dump core when \T is given in ``set login'' or
``set hangup''.
o Allow ``*'' and blanks as placeholders in ppp.secret and
allow a fifth field for specifying auth/cbcp dialback
parameters.
o Remove a few extraneous #includes
o Define the default number of REQs (restart counter) in defs.h
rather than hardcoding ``5'' all over the place.
o Fix a few man page inconsistencies.


# 37993 31-Jul-1998 brian

Always dial immediately on ``open'', ``dial'' and ``call''.
We don't need a ``!''.


# 37955 29-Jul-1998 brian

Allow an optional ``!'' in the open, dial & call commands.
When used, the redial timer is ignored and the modem is
opened immediately.


# 37210 27-Jun-1998 brian

o Fix remaining sizeof problems for 64 bit machines.
o Allow ``set ....'' when we have multiple links but aren't in
multilink mode.
o Do a TLS when we receive a ``Open'' event in ``Closed'' state,
despite the rfc state transition table. This is clearly an
error in the RFC as TLS cannot have yet been called (without
TLF) in the ``Closed'' state.
I've posted a message to comp.protocols.ppp for confirmation.


# 37160 25-Jun-1998 brian

Add ``ipcp'' as an optional argument to ``open'', and make
open capable of re-negotiatiating the various layers.

It is now possible to change various link options and then
re-open the relevant layer, making the changes effective -
for example, switching off VJ compression or starting ECHO
LQRs on-the-fly.


# 37085 21-Jun-1998 brian

Suggest the use of ``accept dns'', not ``enable dns'' in
server mode.


# 37046 17-Jun-1998 brian

Mention the ``allow users'' command when describing
how to set things up for incoming connections.


# 37020 16-Jun-1998 brian

o Allow ``set mrru'' or ``set mrru 0'' to disable
multi-link mode.
o Fix a typo in the ``set mrru'' description.


# 37018 16-Jun-1998 brian

Don't bring the modem offline or hangup when ``down lcp''
is done. Instead, behave like ``close lcp''.


# 37007 15-Jun-1998 brian

Make `close lcp' just close the LCP layer and not hangup. This is
useful for slirp users that wish to get their shell back after the
ppp session. `close' with no args still hangs up as expected.
Required by: jmz


# 36934 12-Jun-1998 brian

Add the ``clear'' function.
Mostly submitted by: "Stephane E. Potvin" <sepotvin@videotron.ca>


# 36929 12-Jun-1998 brian

Correct arg hack
Submitted by: David Leonard <leonard@csee.uq.edu.au>


# 36466 29-May-1998 brian

Some documentation corrections & typo fixes....


# 36289 21-May-1998 brian

Don't give .It too many args.


# 36285 21-May-1998 brian

MFMP: Make ppp multilink capable.
See the file README.changes, and re-read the man page.


# 34614 16-Mar-1998 brian

Cosmetic: .Dq -> .It


# 34494 12-Mar-1998 brian

o Fix a few comment typos.
o Fix ``set timeout'' usage message and documentation.
o Change ifOutPackets, ifOutOctets and ifOutLQRs to `u_int32_t's
so that they wrap correctly.
o Put the LQR in network byte order using the correct struct size
(sizeof u_int32_t, not sizeof u_long).
o Wrap LQR ECHO counters correctly.
o Don't increment OutLQR count if the last LQR hasn't been replied
to.
o Initialise HisLqrData (last received LQR) in StartLqm.
o Don't start the LQR timer if we're `disabled' and `accepted'.
o Generate LQR responses when both sides are using a timer and
we're not going to send our next LQR before the peers max timeout.

LQR should now be fully functional.


# 32833 27-Jan-1998 brian

Cosmetic:
Don't mention the authors name at startup. He's already credited
in the man page. Instead, make the message consistent with the
one given to the diagnostic port (and fix the grammar when entering
`term' mode).
Don't credit the zlib author in the man page as ppp isn't linked
directly with zlib (it's shared).
Mention when the OpenBSD port was first made available.


# 32658 20-Jan-1998 brian

Allow an optional delay when specifying "set openmode active".
The delay defaults to 1 sec (as it always has) unless we've done
a ~p in interactive mode or we've actually detected a HDLC frame.
This is now cleanly implemented (via async timers) so that it is
possible for LCP to come up despite the delay if an LCP REQ is
received.

This will hopefully solve situations with slow servers or slirp
scenarios (where ECHO is left on the port for a second or so before
the peer enters packet mode).

Also, ~p in interactive mode no longer changes the value of the default
openmode delay and -dedicated mode enters packet mode in the right state
according to the value of openmode.


# 32614 18-Jan-1998 brian

Allow "set vj" for changing the default number of slots
and whether slot compression is requested.
Don't show current values with "show ipcp" if IPCP isn't
"opened".


# 32267 04-Jan-1998 brian

o Allow the use of HISADDR as the first arg to "add".
o Allow a forth argument in ppp.secret, specifying a new
label. This gives control over which section of
ppp.link{up,down} is used based on the authenticated user.
o Support random address ranges in ppp.secret (not just in ppp.conf).
o Add a AUTHENTICATING INCOMING CONNECTIONS section to the man page.
o Add a bit more about DEFLATE in the man page.
o Fix the incorrect "you must specify a password in interactive
mode" bit of the manual.
o Space things in the man page consistently.
o Be more precice about where you can use MYADDR, HISADDR and INTERFACE
in the "add" command documentation.


# 32251 04-Jan-1998 brian

Make it clear that using "add ...." in ppp.conf when
not in -auto mode isn't a good idea, and that the
add should be done in ppp.linkup instead.

Change "add 0 0 HISADDR" to "add default HISADDR". It's
more intuitive.


# 32109 30-Dec-1997 brian

Allow "add! dst mask gw" (note the ``!'') to do an
RTM_CHANGE if the RTM_ADD fails with an EEXIST.
Allow "delete! dst" (note the ``!'') to silently
fail if the RTM_DELETE fails with an ESRCH.
Also, make the ESRCH and EEXIST error conditions
more understandable to the casual observer.


# 32017 27-Dec-1997 brian

Allow (and document) execution of commands from within
our chat script.
You can now even run chat(8) - see ppp.conf.sample.


# 31917 21-Dec-1997 brian

Allow multiple (comma seperated) devices on the "set device" line.
Submitted by: Derek Inksetter <derek@saidev.com>


# 31915 21-Dec-1997 brian

Mention that leading whitespace is ignored when identifying comments.


# 31911 20-Dec-1997 brian

Cosmetic: Remove blank lines, add .Pp where necessary.
Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org>


# 31828 17-Dec-1997 brian

Don't log the actual password when command-logging
"passwd xxxx".


# 31822 17-Dec-1997 brian

o Log ******** instead of the actual password for "set authkey"
when command logging is switched on.
o Display ******** for the authkey for "show auth"
o Document how \P should be used, and document the other chat escapes
while I'm there.
o Make sure the full command is displayed when a compound command
fails - ie, "set novar rubbish" should say "set novar: Invalid command"
rather than "novar: Invalid command"

Problem pointed out by: Theo de Raadt <deraadt@cvs.openbsd.org> (among others)


# 31759 15-Dec-1997 brian

Wrap long lines
Submitted by: Greg Lehey <grog@lemis.com>


# 31690 13-Dec-1997 brian

Allow random IP number allocation to peer.
Validate the peers suggested IP by attempting to make a routing table
entry.
Give up IPCP negotiation if the peer NAKs us with an unusable IP.
Always SIOCDIFADDR then SIOCAIFADDR when configuring the tun device.
Using SIOCSIFDSTADDR allows duplicate dst addresses (which we don't
want)!!!
Allow up to 200 interface names (was 50) (now that ppp can play server
properly).
Up the version number (1.5 -> 1.6).

Cosmetic:
Log unexpected CCP packets in the CCP log rather than the ERROR log.
Log unexpected Config Reqs in the appropriate LCP/IPCP/CCP log rather
than the ERROR log.
Log failed route additions and deletions with WARN, not TCPIP.
Log the option id and length for unrecognised IPCP options.
Change some .Sq to .Ar in the man page.


# 31598 07-Dec-1997 brian

Only allow one arg to `delete' - the mask & gateway aren't necessary.
Delete AF_LINK routes as well as AF_INET.
Allow the word `default' as the arg to `delete' or in place of the
first two args (dest & netmask) to `add'.
Accept INTERFACE as the third arg to `add'.

You can now say `add default interface' to create a default route
through the tun interface. It's reported that subsequent bind()s
will bind to a broadcast address and not to the address currently
assigned to the tun device - this is the first step towards
supporting that first connection that was around from before the
dynamic IP negotiation....


# 31518 03-Dec-1997 brian

Fix the CCP Type field value for DEFLATE.
(I *really* meant to do this *before* committing the
deflate changes in the first place - oops).

Pppd is horribly broken in this respect - refer to the
ppp man page for details. Ppp *WON'T* negotiate deflate
with pppd by default - you must ``enable'' and ``accept''
``pppd-deflate'' in your config.

While I'm in there, update the cftypes in ccp.c so that
we recognise some more protocols (we don't actually do
anything with them - just send a REJ).


# 31514 03-Dec-1997 brian

Abstract the CCP layer a level.
Add DEFLATE support.


# 31272 18-Nov-1997 brian

Add throughput logging (disabled by default).
Use "enable throughput" to see modem & IPCP throughput.
Removed an extraneous prompt()


# 31173 14-Nov-1997 brian

uucplock is in section 3 not section 8 !


# 31121 11-Nov-1997 brian

Finish the security improvements:
o Add "allow" command:
"allow users a b c" gives access to users a, b and c.
"allow modes auto" gives those users access to auto mode only.
"allow users *" and "allow modes *" are accepted.
No users and all modes are allowed by default.
UID 0 can do anything.
o Set the current label with the "load" and "dial" commands
so that the call to ppp.linkdown makes sense.
o Up the verison number.
o Don't OR MODE_AUTO for -background and -ddial.
o Don't OR MODE_INTER when we get a diagnostic connection.
o Allow up to 40 args per line (was 20).
o "set ifaddr" only changes the interface in AUTO mode (with other
modes, it happens after IPCP negotiation).
o Sort command descriptions in the man page.
o Support -dedicated mode where we just talk ppp forever (no login etc).


# 31081 09-Nov-1997 brian

Don't create a diagnostic socket by default.
Allow a password spec on the "set server" command line.
Use SIGUSR2 to close the diagnostic socket.
Some man page corrections.


# 31077 09-Nov-1997 brian

Add the "!include" syntax.
Return 0 from "show" commands.


# 31069 09-Nov-1997 brian

Remove the use of $HOME/.ppp.*


# 31061 09-Nov-1997 brian

Introduce ID0 logging.
Stay as the invoking uid as much as possible.
Execution as a normal user is still forbidden for now,
so these changes are pretty ineffective.
The next commit will implement the modifications suggested
on -hackers a number of days ago.


# 31038 08-Nov-1997 brian

Typo police.


# 30970 05-Nov-1997 brian

o Spelling police.
o Emphasize ``PPP''
o x-ref other programs
o Some minor clarifications


# 30913 03-Nov-1997 brian

Introduce [local] to "set log [local] ...". This spits
logging out to the screen in terminal mode - should be
good for installation problem diagnosis.


# 30124 05-Oct-1997 brian

Refer a bit to pppctl.
Suggested (far to subtly for his own good) by: joerg


# 30115 05-Oct-1997 brian

Cosmetic: Be specific about using TABs in syslog.conf.


# 29840 24-Sep-1997 brian

Allow Microsoft CHAP authentication.
This is a combination of MD4 & DES.
Submitted by: Gabor Kincses <gabor@acm.org>


# 29729 22-Sep-1997 brian

Don't allow accept/deny when it's not appropriate.
Log PAP/CHAP users in utmp & wtmp, allowing it to
be avoided with "disable utmp"


# 29659 21-Sep-1997 brian

Add a pppctl(8) xref.
Suggested by: joerg


# 29549 17-Sep-1997 brian

Support CHAP using MD4
Suggested by: jordan


# 29265 10-Sep-1997 brian

Cosmetic: Remove unused variables and build on OpenBSD.


# 29250 09-Sep-1997 brian

Document the use of PAP/CHAP properly.


# 29170 06-Sep-1997 brian

Disable LQR by default. It causes too many problems
with too many ISPs to be a good default. LQR is still
accepted by default.


# 29083 03-Sep-1997 brian

Install as group ``network''
Insist that uid == 0 for client ppp
Disallow client sockets if no password is specified
Don't exit on failure to open client socket for listening
Allow specification of null local password
Use reasonable size (smaller) ``vector''s in auth.c
Fix "passwd ..." usage message
Insist on "all" as arg to "quit" (if any)
Drop client socket connection before Cleanup() when "quit all"


# 28961 31-Aug-1997 brian

Remove use of login_progok()
Suggested by: guido


# 28842 27-Aug-1997 brian

Use login_progok().


# 28815 26-Aug-1997 brian

Check the "prog.deny" login.conf capability and
refuse to run if "ppp" is in the list.
Suggested by: "Daniel O'Callaghan" <danny@panda.hilink.com.au>


# 28637 23-Aug-1997 brian

Phone the number after the ``|'' whether the dial
OR login script fails.

Catch a small typo in the man page.


# 28539 21-Aug-1997 brian

Update doc to use MYADDR in ppp.conf.


# 28536 21-Aug-1997 brian

Add "set loopback on|off", defaulting to "on".
This tells ppp to loopback packets addressed to
the ppp interface IP coming *from* the tun
device.

This means that you can ping the tun interface IP
from inside :-)


# 28461 20-Aug-1997 brian

Expand the "set stopped" command so that it can
idependently time out any of the FSMs.

Split LCP logging into LCP, IPCP and CCP logging,
and make room in "struct fsm" for the log level
that the state machine should use.


# 28411 19-Aug-1997 danny

Spelling police.


# 28408 19-Aug-1997 danny

Typo fixes.


# 28394 18-Aug-1997 brian

Correct the forth arg to "set ifaddr". If specified,
it gives the IP number that should be used for initial
IPCP config requests, irrespective of MYADDR.


# 28381 18-Aug-1997 brian

Introduce the "bg" command. It's pretty
much the same as "shell", but it's in the
background.


# 28333 17-Aug-1997 brian

Typo police


# 28327 17-Aug-1997 brian

Allow the use of a "stopped" timeout via the
"set stopped" directive. If the timeout occurs
it will cause a "Down" event, hanging up the line
if it's still up. This *isn't* part of the FSM
diagram, but I consider it ok as a "higher level
implementation specific timeout" as specified in
the rfc ;-}

Discussed briefly with: joerg


# 28326 17-Aug-1997 brian

Allow specification of fallback phone numbers to
be used only if the dial script fails.
PR: 4262


# 28046 10-Aug-1997 brian

Correct default log file name.
PR: 4065
Prompted by: Steve Price <sprice@hiwaay.net>
Submitted by: sjr1@flash.net


# 27384 13-Jul-1997 brian

Allow a "hangup" capability.
You can now "ATZ" your modem when it's closed.

Submitted by: peter@citylink.dinoex.sub.org (Peter Much)


# 27157 01-Jul-1997 brian

Make HUP cause an exit (as it used to), and make
INT cause a hangup - not exiting for -ddial & -auto.

HUP must exit because init sends this at system shutdown
time (why, I don't know), and we don't want to end up
redialing after the HUP (due to another dfilter packet).

Pointed out by and discussed with: ache


# 27089 30-Jun-1997 brian

Allow specification of a umask for local socket
creation in "set server" command.


# 26940 25-Jun-1997 brian

Add "set server" to control the server socket.
Catch SIGUSR1 to re-init listening socket.
Document signal behaviour.

Add missing '\n's to LogPrintf(LogWARN,...)
Main() returns int not void.

AF_LOCAL ideal suggested a long time ago by: joerg


# 26754 20-Jun-1997 brian

Fix "delete all".

PR: 3913


# 26688 16-Jun-1997 brian

Correct filter docs.

PR: 3464
Submitted by: Stephen J. Roznowski <sjr1@flash.net>


# 26591 13-Jun-1997 brian

Fix "delete ...", it now only insists on
one arg too.

Discovered by: Rikk Salamat <rikks@web-impact.com>


# 26589 13-Jun-1997 brian

Add ppp.linkdown file to compliment ppp.linkup.

Submitted by: Forgotten
Passed on by: Terry Dwyer 61 8 9491 5161 <tdwyer@io.telstra.com.au>

Also remove extraneous setuid(0) - it's only undone by
the subsequent call to SelectSystem().


# 26585 12-Jun-1997 brian

Document ppp over tcp (how to tunnel)


# 26530 09-Jun-1997 brian

Make the man page a little more detailed.
Update the version number to 1.00.
Increase the predictor-1 buffer by 2 bytes.


# 26400 02-Jun-1997 brian

Remove mis-leading version info.


# 25908 19-May-1997 brian

Mega update to sort out bad implementations
of reconnect & -background.

o Fix reconnect anomolies.
o Make reconnect apply to failed LQR hangups (& mention in man page).
o Make reconnect effective in -background mode.
o Listen on socket in -background mode.
o Try all phone numbers in -background mode.
o Insist on system arg in -background mode.
o Make a control-connection close command exit in -background mode.
o Output status message to stdout on exit of parent in -background mode.
o Don't notify parent of success too soon.
o Describe termination EX_* code.
o Miscelaneous diagnostic corrections.
o Remove redundant connect_time from modem.c.
o Don't repeatedly DownConnection().


# 25771 13-May-1997 brian

Correct the files section for tunX.pid and ttyXX.if


# 25742 12-May-1997 brian

Correct sample file name.


# 25445 04-May-1997 ache

Log each ppp line to separate /var/log/ppp.tunX.log instead mixing of
all lines into single /var/log/ppp.log


# 25067 20-Apr-1997 brian

Add a reconnect capability directing ppp to re-establish
the connection after an unexpected loss of carrier:

set reconnect timer ntries

The man page warns against using this command when your
timeout value is slightly more than the other sides :{}

Suggested by: burton@bsampley.vip.best.com (Burton Sampley)


# 24939 14-Apr-1997 brian

Make the next number redial ability configurable. The
"set redial pause [times]" command becomes
"set redial end-pause[.next-pause] [times]" and next-pause
defaults to 3 seconds. This keeps things backwards
compatable.

Suggested by: ache


# 24844 12-Apr-1997 brian

Make -background option attempt each phone number at most
once. Make -background ignore redial. Output exit value
to syslog with "PPP Terminated" message.


# 24843 12-Apr-1997 brian

Only wait for the redial timeout when the last phone number in the
list has been dialed. Alternate number dialing has no "pause".

Suggested by: joerg

Document this behaviour. Document that the number of dial attempts
applies to the number of phone calls rather than the number of times
each number is dialed. Add a missing .El. Give a decent description
of how to connect to an ISP.


# 23865 13-Mar-1997 brian

Oops - forgot to document the new -HUP action.
This should make 2.2 if the HUP stuff (earlier today) does.


# 22997 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 20813 22-Dec-1996 jkh

For /usr/sbin/ppp, you must choose between running ppp in the background or
connecting to a host immediately in the foreground.

I would like to be able to run ppp from a script so that my script can be
sure that it is connected to the 'net before it continues running:

# Dial up the internet.
ppp -background myprovider || exit 1

do-some-net-command

# Hang up the modem.
kill -HUP `cat /var/run/ppp.tun0.pid`

Another problem is that the current ppp calls its process id file
`/var/run/PPP.server', which may conflict if you have more than one IP
tunnel interface available.

Closes PR#1469
Submitted by: Gord Matzigkeit <gord@enci.ucalgary.ca>


# 20812 22-Dec-1996 jkh

Make CRTSTS selection a runtime option. Closes PR#1392
Submitted by: Mike McGaughey <mmcg@heraclitus.cs.monash.edu.au>


# 20365 12-Dec-1996 jkh

The infamous IP aliasing code for ppp, modified to work as a runtime option
(otherwise ppp's behavior remains unchanged) and documented by myself,
Steve Sims, Nate Williams, Martin Renters and god-only-knows who else. :-)
Submitted by: nate
Obtained from: Charles Mott <cmott@srv.net>


# 20120 03-Dec-1996 nate

Added my 'ddial' patches to user-PPP. The new mode tries it's darndest
to keep the link up, so it re-dials whenever it detects the link go
down. This is useful for 'dedicated' links who use PPP.

It's been used for over a year w/out problems at different sites.


# 19295 31-Oct-1996 joerg

Improve the sample login script now that our sh(1) understands -p.

Closes PR # docs/1383: ppp(8) man page suggests using shell script...


# 18752 06-Oct-1996 jkh

Add support for the Evil Microsoft ppp extentions. Yes, they did it
on their own without even attempting to get concensus in the IETF, but
there are also lots of Win95/NT boxes out there.

CLoses PR#1494
Submitted-By: Peter Childs <pjchilds@imforei.apana.org.au>


# 15738 11-May-1996 phk

Here is a diff of /usr/src/usr.sbin/ppp against current. The diffs
add some logging functionality which I find very useful.
'set debug link' will record just link up/down and address assignments.
'set debug connect' will record the entire chat dialog
'set debug carrier' will record just chat lines including 'CARRIER'
(so that I can be sure I'm getting a 28.8 line).

There was a global change required to permit LogPrintf to take a bit
mask instead of a bit position value (to permit logging some events
on either of two flags, so that no change in 'set debug lcp' would
result from the code supporting 'link'. Thus the diffs are rather
long for such a small change. The man page is also touched.

Oh, and there was a slight syntax problem in route.c

Reviewed by: phk
Submitted by: Tony Kimball <alk@Think.COM>


# 15556 02-May-1996 mpp

Xref chat(8) and pppd(8). Also change .It references to .Pa for file
name references in the file section.


# 14436 09-Mar-1996 ache

1) Open /dev/null for std* after setsid() to be shure that modem is
*not* our controlling terminal (SIGHUP can coming in other case)

2) Add HUPCL for non-dedicated lines to be shure that modem
properly resetted.

3) Correct usage string.


# 14418 08-Mar-1996 ache

1) Add multi-phone dialing/redialing, several phones separated by ':'
2) Improve on-line help subsystem
3) Make 'term' mode works even carrier dropped (old code
close line forever here)
4) Make 'term' mode 8bit clean.
5) Improve manual page
6) #ifdef DEBUG diagnostic about missing optional files.
7) Don't put interactive dialing info to logfile


# 13744 30-Jan-1996 mpp

Fix a bunch of spelling errors in a bunch of man pages.


# 11336 08-Oct-1995 amurai

1. Add a settable redial timer and logging of the process id in a file.
A settable redial timer helps to avoid the problem where both ends
of a link want to dial at the same time and the line winds up busy
for both ends. The process id is logged in /var/run/PPP.system where
system is the name of the called system. When both ends of a link
are running in demand dial mode, you need an easy way to get the pid
of the ppp on the called end so it can be killed and re-started with
-direct or pppd started to handle the incoming ppp session.

2. Add secret description for "set timeout" to man.

Reviewed by: Atsushi Murai <amurai@spec.co.jp>
Submitted by: John Capo <jc@irbs.com>


# 10987 24-Sep-1995 nate

Completely re-wrote the man-page using -mandoc macros. More cleanups in
sentence structure to include more articles, plus fix some mis-spellings
and typos.

Reviewed by: gpalmer (Gary Paler)


# 10858 17-Sep-1995 amurai

1. All fragments (except the first one) of a fragmented packet were
dropped - devet@adv.IAEhv.nl (Arjan de Vet)
2. Will not read data from telnet connection - John Capo <jc@irbs.com>
3. Using LQM option could be drop the link due to LcpLayerDown() doesn't
stop LQR timer. - Brian <brian@awfulhak.demon.co.uk>
4. Allow to describe a syntax of filters that is not only port number
but also by name in /etc/service. - Rich Murphey <rich@lamprey.utmb.edu>

Reviewed by: Atsushi Murai <amurai@spec.co.jp>
Submitted by: devet@adv.IAEhv.nl, jc@irbs.com, brian@awfulhak.demon.co.uk,
rich@lamprey.utmb.edu


# 9328 26-Jun-1995 bde

`pred1' was documented as `pred'. The problem was not obvious because
`disable pred' is silently ignored.


# 8766 26-May-1995 jkh

Some edits suggested by Atsushi. Also remove my name from the bottom;
just because I edited it doesn't mean I should stick myself in the authors
line, even with the qualification I used.


# 8718 24-May-1995 jkh

A few more typos fixed and some general cleanup done.


# 8678 21-May-1995 jkh

Do my best to translate this into english.. :-)

Some parts were so incomprehensible that I had to excise them
entirely, but I did my best with the material provided.


# 8674 21-May-1995 jkh

Change device name from cua01 to cuaa0. I'm going to use this doc in
the installation, so it was necessary.


# 7025 12-Mar-1995 amurai

Adding GETTING START and so on.
Submitted by: amurai@spec.co.jp


# 7002 11-Mar-1995 amurai

Add BUGS and few explanation.
Submitted by: amurai@spec.co.jp


# 6735 26-Feb-1995 amurai

New user Process PPP based on iij-ppp0.94beta2.

o Supporting SYNC SIO device (But need a device driver)
- add "set speed sync"
o Fixing bug for Predictor-1 function.
o Add new parameter that re-sent interval for set timeout commands.
o Improving RTT (Round Trip Time) and reducing processor time.
- Previous Timer service was using polling, and now using
SIGALRM ;-)
- A 0.94beta2 will not work correctly....

-- Follows are additinal feature not including 0.94beta2
o Support Proxy ARP
- add "enable/disable proxy" commands
o Marging common routine in CHAP/PAP.
o Enhancing LCP/IPCP log information.
o Support local Authfication connection on port 300x and tty.
- You can set up pair of your "hostname -s" and
password in ppp.secret. if either ppp.secret file nor
your hostname line don't exist, It will notify a message
and working as same as previous version.(Backword compatibility)
- If you did set up them, It's allow connection but nothing to do
except help and passwd command.
- add "passwd yourpasswd" commands
o Support afilter - keep Alive filter that a packet can send/receiving
according to ifilter/ofilter but doesn't count it as preventing idle
timer expires.
- Same syntax of other filters.
o Fixing bugs reported by current user for previous one. Thanks !!

Reviewed by: Atsushi Murai (amurai@spec.co.jp)


# 6059 31-Jan-1995 amurai