From owner-freebsd-questions Mon Sep 6 12: 0:51 1999 Delivered-To: freebsd-questions@freebsd.org Received: from awfulhak.org (dynamic-78.max1-du-ws.dialnetwork.pavilion.co.uk [212.74.8.78]) by hub.freebsd.org (Postfix) with ESMTP id BCC7615A24 for ; Mon, 6 Sep 1999 12:00:45 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (root@keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id TAA07170; Mon, 6 Sep 1999 19:24:28 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id TAA17859; Mon, 6 Sep 1999 19:28:41 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199909061828.TAA17859@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Ben Smithurst Cc: Brian Somers , freebsd-questions@freebsd.org Subject: Re: PPP exiting unexpectedly In-reply-to: Your message of "Mon, 06 Sep 1999 18:23:26 BST." <19990906182326.A16696@lithium.scientia.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 06 Sep 1999 19:28:40 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message