> -----Original Message-----
> From: Ruslan Ermilov [mailto:[EMAIL PROTECTED]]
> Sent: 10 July 2001 10:02
> To: Richard Smith
> Cc: [EMAIL PROTECTED]
> Subject: Re: sysctls keepidle and keepintvl
> 
> 
> On Mon, Jul 09, 2001 at 11:05:13PM +0100, Richard Smith 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.
> > 
> > Looking at the comments in tcp_var.h, it should be 
> > keepintvl that sets this interval. Otherwise, why
> > have such a large value for keepidle?
> > 
> > Is this a bug? Or have I missed something,
> > 
> Only TCP sockets marked with SO_KEEPALIVE setsockopt(2) will
> be kept alive.  Alternatively, you can enable this option on
> all sockets implicitly by net.inet.tcp.always_keepalive=1.
> (Or by setting tcp_keepalive rc.conf(5) variable to "YES").

Thanks, keepalive _was_ enabled, it just has a long default 
idle time (120 minutes) before it starts doing anything. I 
guess they didn't have firewalls with dynamic rules in those
days :-)

Rich.


_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to