From owner-freebsd-questions Tue Jan 12 18:04:00 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA08878 for freebsd-questions-outgoing; Tue, 12 Jan 1999 18:03:29 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.force9.co.uk [195.166.136.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA08864 for ; Tue, 12 Jan 1999 18:03:26 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@keep.lan.Awfulhak.org [172.16.0.8]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id BAA07347; Wed, 13 Jan 1999 01:10:06 GMT (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.1/8.9.1) with ESMTP id AAA20425; Wed, 13 Jan 1999 00:53:26 GMT (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199901130053.AAA20425@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: Glen Mann cc: FreeBSD-questions@FreeBSD.ORG Subject: Re: PPP keepalive filters In-reply-to: Your message of "Mon, 28 Dec 1998 15:07:20 EST." <3687E4F8.17882976@cyberia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 13 Jan 1999 00:53:26 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Hello- > > My ISP drops my connections after a ridiculously short inactivity. > Apparently the afilters are the way to keep the connection alive, > however, the documentation does not say what the following do: > > # > # KeepAlive filters > # Don't keep Alive with ICMP,DNS and RIP packet > # > set afilter 0 deny icmp > set afilter 1 deny udp src eq 53 > set afilter 2 deny udp dst eq 53 > set afilter 3 deny udp src eq 520 > set afilter 4 deny udp dst eq 520 > set afilter 5 permit 0/0 0/0 > > What actually happens, especially where performance is concerned? Would > it be better to send a ping packet every few minutes? It's the only way. As the comment says, an `afilter' prevents the given packets from keeping the link alive. Nothing in ppp will force the link to stay active. > Thanks > -Glen -- 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