Date: Mon, 9 Jul 2001 23:43:18 +0100 From: Richard Smith <rdls@satamatics.com> To: Luigi Rizzo <luigi@info.iet.unipi.it> Cc: net@FreeBSD.ORG Subject: Re: sysctls keepidle and keepintvl Message-ID: <20010709234317.A1235@gaia.home.rdls.net> In-Reply-To: <200107092207.AAA11018@info.iet.unipi.it>; from luigi@info.iet.unipi.it on Tue, Jul 10, 2001 at 12:07:55AM %2B0200 References: <20010709230512.A918@gaia.home.rdls.net> <200107092207.AAA11018@info.iet.unipi.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 10, 2001 at 12:07:55AM +0200, Luigi Rizzo wrote: > > Please cc me, as I'm not on this list. > > > > I am using 4.3-RELEASE, and investigating why I don't see > > any keepalives (using tcpdump) on my connections. > > > > The default values are as follows: > > net.inet.tcp.keepidle = 7200000 > > net.inet.tcp.keepintvl = 75000 > > > > It seems to me that the keepalive interval is being set > > by keepidle, thus setting keepidle = 20000, generates > > keepalives at 20s intervals. > > whatever is used, isn't the interval in seconds ? If so > you must be very patient to see something... No, the tcp sysctls are in ms. Looking through the code, however, I now understand the relationship between keepidle and keepintvl. The value of keepidle has been 120 minutes (7200000) since the beginning of CVS. I was rather hoping to keep a dynamic firewall open with keepalives :-) So I need to set: keepidle < net.inet.ip.fw.dyn_ack_lifetime. Problem solved. Thanks, Rich. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010709234317.A1235>