*BSD News Article 95400


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.nl.innet.net!INnl.net!feed1.news.innet.be!INbe.net!blue.news.pipex.net!pipex!stns.news.pipex.net!warm.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ppp
Date: 15 May 1997 14:16:17 GMT
Organization: Awfulhak Ltd.
Lines: 69
Message-ID: <5lf5rh$3av@ui-gate.utell.co.uk>
References: <5l1052$b9o$1@awfulhak.demon.co.uk>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40945

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

Again, I'd be greatful if the people that have been having
problems with ppp (user-level) would take this opportunity
to download the current (2.2 branch) version and see if
anything has gotten any better.  Remember, if you don't
take the time to test this, your problems will remain in
the next release !

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-970515.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-970515.bin.gz

Don't forget to make the binary setuid root:

# gunzip -c <ppp-2.2-970515.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.

TIA.

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