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 [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to