Date: Mon, 06 Sep 1999 19:28:40 +0100 From: Brian Somers <brian@Awfulhak.org> To: Ben Smithurst <ben@scientia.demon.co.uk> Cc: Brian Somers <brian@awfulhak.org>, freebsd-questions@freebsd.org Subject: Re: PPP exiting unexpectedly Message-ID: <199909061828.TAA17859@keep.lan.Awfulhak.org> In-Reply-To: Your message of "Mon, 06 Sep 1999 18:23:26 BST." <19990906182326.A16696@lithium.scientia.demon.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
> Brian Somers wrote:
>
> > I think you'll need to tack
> >
> > CFLAGS+=-g
> > STRIP=
> >
> > to the end of the Makefile and get a trace :-/
>
> OK, but it may well not happen again though, it was just a one off thing,
> it hasn't been happening repeatedly.
>
> > The IPCP error is the result of the peer sending an IP packet before
> > authentication is complete (a ``set log physical debug'' may be
> > interesting here).
>
> That seems odd, since this occured just as the connection was being
> closed. Perhaps I should have shown more of the log:
>
> Sep 6 04:43:21 scientia ppp[16181]: tun0: IPCP: myaddr 212.228.14.13 hisaddr = 158.152.1.222
> Sep 6 04:48:00 scientia ppp[16181]: tun0: Phase: Connected to local client.
> Sep 6 04:48:00 scientia ppp[16181]: tun0: IPCP: deflink: LayerDown: 212.228.14.13
> Sep 6 04:48:00 scientia ppp[16181]: tun0: IPCP: deflink: SendTerminateReq(12) state = Opened
> Sep 6 04:48:00 scientia ppp[16181]: tun0: IPCP: deflink: State change Opened --> Closing
> Sep 6 04:48:00 scientia ppp[16181]: tun0: Phase: /var/run/ppp: Client connection closed.
> Sep 6 04:48:01 scientia ppp[16181]: tun0: Warning: ip_Input: IPCP not open - packet dropped
> Sep 6 04:48:01 scientia ppp[16181]: tun0: Warning: nat_LayerPull: Problem with IP header length
That is a bit suspicious :-/ I've eyeballed the code again and still
can't see anything dodgy. I've added the ``problem length'' to the
diagnostic - if it happens again, this may help.
Let me know.
> --
> Ben Smithurst | PGP: 0x99392F7D
> ben@scientia.demon.co.uk | key available from keyservers and
> | ben+pgp@scientia.demon.co.uk
Cheers.
--
Brian <brian@Awfulhak.org> <brian@FreeBSD.org>
<http://www.Awfulhak.org> <brian@OpenBSD.org>
Don't _EVER_ lose your sense of humour ! <brian@FreeBSD.org.uk>
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909061828.TAA17859>
