*BSD News Article 95599


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!disgorge.news.demon.net!demon!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ppp
Date: 19 May 1997 02:09:44 GMT
Organization: Awfulhak Limited.
Message-ID: <5locp9$f2t$1@awfulhak.demon.co.uk>
References: <5l1052$b9o$1@awfulhak.demon.co.uk>
    <5lf5rh$3av@ui-gate.utell.co.uk>
Reply-To: brian@awfulhak.org
NNTP-Posting-Host: awfulhak.lan.awfulhak.org
X-NNTP-Posting-Host: awfulhak.demon.co.uk [158.152.17.1]
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Lines: 83
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:41096

In article <5lf5rh$3av@ui-gate.utell.co.uk>,
	brian@shift.utell.net (Brian Somers) writes:
> In article <5l1052$b9o$1@awfulhak.demon.co.uk>,
> 	brian@awfulhak.demon.co.uk (Brian Somers) writes:
>> The following modifications have been done to ppp in
>> the 2.2 branch:
>> 
>> o   Increase maximum chat args from 20 to 40,
>>     stop scribbling when the limit is hit.
>> o   Allow mixed case commands.
>> o   Allow HISADDR, MYADDR, ALL and INTERFACE
>>     in mixed case.
>> o   Add reconnect command.
>> o   Add redial next timer (for next number redial).
>> o   Change logfile name to ppp.tunX.log.
>> o   Discard HDLC frames with less than two bytes.
>> o   Make background mode exit on loss of carrier.
>> o   Initialise lqrsendcnt for each connection.
>> o   Initialise VarLocalAuth for each connection.
>> o   Exit on failure to open the log file.
>> o   Ignore SIGPIPE.
>> o   Select() on the correct number of fds.
>> o   Only compress TCP packets.
>> o   Update documentation.
>> o   Bring in various minor fixes from -current.
>> o   Create a ttyXX.if and tunX.pid file.
>> o   Check many more return values.
>> o   Do some additional bounds checking.
> [.....]
> 
> Subsequently, the following mods have been made:
> 
> o   Disallow HISADDR of 0.0.0.0 (NAK it)
> o   Misc cosmetic changes
> o   Create tunX.pid and ttyXX.if irrespective of being -direct
> o   Document tunX.pid correctly (no longer ppp.tunX.pid)
> o   Don't reconnect (set reconnect...) after timeout

And again:
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 variable from modem.c.
o   Don't repeatedly DownConnection().

Thanks for any comments (bug reports).

A web page pointing to ppp documentation can be found at
    http://www.awfulhak.org/ppp.html

A copy of the source can be found at
    http://www.freebsd.org/~brian/ppp-2.2-970518.tar.gz

(this will now compile in any directory and contains it's own
copy of uucplock.c - not exactly the same as the cvs code).

A compiled binary can be found at
    http://www.freebsd.org/~brian/ppp-2.2-970518.bin.gz

Don't forget to make the binary setuid root:

# gunzip -c <ppp-2.2-970518.bin.gz >ppp
# install -o root -g bin -m 4555 ppp /usr/sbin

The only known problem is (still) that setting the MTU
doesn't work properly, and a possibly incorrect HDLC
report after connection.

TIA.


-- 
Brian <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour....