Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 1999 00:53:26 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Glen Mann <gmann@cyberia.com>
Cc:        FreeBSD-questions@FreeBSD.ORG
Subject:   Re: PPP keepalive filters 
Message-ID:  <199901130053.AAA20425@keep.lan.Awfulhak.org>
In-Reply-To: Your message of "Mon, 28 Dec 1998 15:07:20 EST." <3687E4F8.17882976@cyberia.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <brian@Awfulhak.org> <brian@FreeBSD.org> <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901130053.AAA20425>