*BSD News Article 98105


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.caldera.com!enews.sgi.com!nntprelay.mathworks.com!news.maxwell.syr.edu!eerie.fr!cnusc.fr!ciril.fr!univ-lille1.fr!jussieu.fr!oleane!weld.news.pipex.net!pipex!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: ppp
Date: 20 Jun 1997 11:05:05 GMT
Organization: Awfulhak Ltd.
Lines: 88
Message-ID: <5odo51$bb6@ui-gate.utell.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:43209

Well, ppp has been subjected to another few updates.  If anyone
is still having problems with (iij)ppp, I'd appreciate them taking
a look at the following:

    http://www.freebsd.org/~brian/ppp-970620.tar.gz
    http://www.freebsd.org/~brian/ppp-970620.bin.gz
    http://www.freebsd.org/~brian/ppp-970620.libalias.gz

The first is the current source code, hacked a little to make it
build on 2.2.* machines.  I'm not sure if this will build on
2.1.* - I havn't got any such machines available, but it's
possible.  If anyone would care to try it, I'd be interested to
know.

The second is a binary built on freefall.freebsd.org.  This machine
is a 2.2-STABLE machine as of the end of April.  It will probably work
with 2.2.1, and has (I would think) very little chance of running
on 2.1.*.

The third is a shared alias library.  It must be uncompressed and
named /usr/lib/libalias.so.2.1 if you want ppp to do aliasing
(a.k.a. masquerading).  Ppp will run without it - the aliasing
stuff just won't be available.

Note, that this version of ppp uses syslog.  Read the manual
page for info on how to specify where your log file is.  In
fact, read the man page anyway.  It's been rewritten :)

For those that have specific problems, here's what's been
fixed since May 18 (the last ppp "update" posting I made).
This is only about 1/2 of the total changes since 2.2.1,
so if you're running 2.2.1 it may be frugal to update even
if you don't have any problems ;)  Please give me some
feedback with any problems - without this feedback,
it stays broke !

    o Use libalias version 2.1 and move it to a
      different directory from the ppp sources.  If
      libalias isn't available at run-time, aliasing
      is disabled.
    o Add SO_REUSEADDR socket opt in case the last
      telnet connection is in a TIME_WAIT.
    o Make "set reconnect" fully functional.
    o Make "set M[TR]U" work correctly.
    o Don't output runtime information in -direct mode.
    o Send a NAK after receiving an LCP config-req with
      the same magic as my own.
    o Correctly time out in the "Closing" state after a
      Terminate-Req.
    o Update version to 1.0
    o Use syslog
    o Remove references to stdout/stderr (incl perror())
    o Introduce VarTerm - the interactive terminal or zero
    o Allow "set timeout" to affect current session
    o Change "set debug" to "set log"
    o Allow "set log [+|-]flag"
    o Make MSEXT and PASSWDAUTH stuff the default
    o Move all #ifdef DEBUG stuff into the code - this
      shouldn't be too much overhead.  It's now controlled
      with "set log +debug"
    o Add "set log command, debug, tun, warn, error, alert"
    o Remove cdefs.h, and assume an ansi compiler.
    o Improve all diagnostic output
    o Don't trap SIGSEGV
    o SIGHUP now terminates again (log files are controlled
      by syslog)
    o Call CloseModem() when changing devices
    o Fix parsing of third arg of "delete".  Allow only one arg.
    o Practically rewrite man page.
    o Allow "set var" with no args to blank var (don't req "").
    o Count redial when failing to open modem.
    o Increase device size to 40 characters (for host:port).
    o Don't give up on incoming non-terminal connections.  This
      allows ppp over tcp.
    o Fix "show ?" alignment.
    o Add ppp.linkdown file to compliment ppp.linkup.
    o Correct filter docs.
    o Make -ddial retries work correctly (I'm not sure if this
      fix was successful, works ok for me but was reported not
      to work by the original PR submitter).
    o Fix help syntax.

Thanks for all input.

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