From owner-freebsd-questions Mon Jul 19 18: 4:22 1999 Delivered-To: freebsd-questions@freebsd.org Received: from awfulhak.org (dynamic-102.max1-du-ws.dialnetwork.pavilion.co.uk [212.74.8.102]) by hub.freebsd.org (Postfix) with ESMTP id CD09414DE5 for ; Mon, 19 Jul 1999 18:04:16 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from dev.lan.awfulhak.org (root@dev.lan.awfulhak.org [172.16.0.5]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id CAA23919; Tue, 20 Jul 1999 02:01:36 +0100 (BST) (envelope-from brian@lan.awfulhak.org) Received: from dev.lan.awfulhak.org (brian@localhost [127.0.0.1]) by dev.lan.awfulhak.org (8.9.3/8.9.3) with ESMTP id CAA64954; Tue, 20 Jul 1999 02:01:36 +0100 (BST) (envelope-from brian@dev.lan.awfulhak.org) Message-Id: <199907200101.CAA64954@dev.lan.awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Christoph Sold Cc: Brian Somers , Questions@FreeBSD.ORG Subject: Re: PPP RecvEchoReply -- how to keep them off my line? In-reply-to: Your message of "Fri, 16 Jul 1999 00:30:14 +0200." <14222.23490.942879.3347@kiste.cheasy.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Tue, 20 Jul 1999 02:01:35 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Brian, > = > thanks fro the fast response. > = > Brian Somers writes: > > > Hi Folks, > > > = > > > apologies for asking a FAQ, but I could not find it in the > > > (3.1-R) Handbook solved. > > > = > > > Looking through /var/log/ppp.log while dialed into one of my > > > ISPs, every 10 seconds a packet crawls through the line: > > > ------ > > > Jul 14 23:20:27 kiste ppp[1967]: tun0: LCP: deflink: RecvEchoReque= st(34) state =3D Opened = > > > Jul 14 23:20:27 kiste ppp[1967]: tun0: LCP: deflink: SendEchoReply= (34) state =3D Opened = > > > Jul 14 23:20:37 kiste ppp[1967]: tun0: LCP: deflink: RecvEchoReque= st(35) state =3D Opened = > > > Jul 14 23:20:37 kiste ppp[1967]: tun0: LCP: deflink: SendEchoReply= (35) state =3D Opened = > > > ------ > > > = > > > Annoyingly, this keeps the connection from timing out. Is this a > > > ppp feature I can deny? > > = > > You can't deny it - sending the reply is mandatory (well, nearly - = > > from memory, ppp *MAY* decide not to send the packet, but if it gets= = > > a repeat REQ, it *MUST* reply). > = > Too bad. I realize this happens on ppp level, where IP filtering is > not able to kill the beast. > = > > This should *not* refresh the idle timer though. Does ``show b'' sa= y = > > otherwise (with ``set log +hdlc lcp phase'' showing if traffic is = > > arriving) ? > = > Ummm, I=B4m out of my depth here: looking at /var/log/ppp.log, some dat= a = > scrolls by. After that, the idle timer gets reset. I included the data = > for your reference. > = > Maybe there is other data hidden in there as well -- I cannot > say. > = > Thanks for your fast response > -Christoph Sold > = > P.S: I leave town for the weekend, so if I should look for anything els= e, > please be patient -- I=B4ll be back Tuesday evening. [.....] Oops. I should have included tcp/ip logging in my suggestion... As I = don't see any LCP messages about ECHO REQ/Response packets, I can = only assume that all that data was IP traffic (and hence resets the = timer). The tcp/ip logging should show this - maybe you need to = filter some of it.... -- = 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