All of lore.kernel.org
 help / color / mirror / Atom feed
* default value of nf_conntrack_tcp_timeout_close_wait
@ 2007-04-04 12:23 Joakim Axelsson
  2007-04-04 12:59 ` Henrik Nordstrom
  2007-04-04 15:30 ` Patrick McHardy
  0 siblings, 2 replies; 8+ messages in thread
From: Joakim Axelsson @ 2007-04-04 12:23 UTC (permalink / raw)
  To: netfilter-devel

Hi,

I've notices that the default value of
/proc/sys/net/netfilter/nf_conntrack_tcp_timeout_close_wait (atleast in
kernel 2.6.20.4) is only set to 60 seconds. CLOSE_WAIT is the state where
one side has sent a FIN but not the other. Meaning we can still send data in
one direction. This is a state which can live a long time. Much longer than
just 60 seconds.

I did some googling on the issue to find previous discussions on netfilter
on the subject, and i can see that an old patch was sent in 2003 to kernel
to fix this problem. I can only guess that the newer conntrack code brought
the bug back:
http://www.linuxarkivet.se/mlists/netfilter-devel/0310/msg00016.html

It says there that the timeout is raised to 3 days. Sound more correct to
me.

To easy reproduce this you can use the command line tools "dict" where the
server closes the conntion up on answer directly but the client (you?) only
sends the FIN when closing the PAGER of dict (normally more or less).

Any thoughts on this?

/Joakim Axelsson

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-04-05 11:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-04 12:23 default value of nf_conntrack_tcp_timeout_close_wait Joakim Axelsson
2007-04-04 12:59 ` Henrik Nordstrom
2007-04-04 15:42   ` Patrick McHardy
2007-04-05  8:54     ` Henrik Nordstrom
2007-04-05 11:39       ` sendto failed Manish Jain
2007-04-05 11:48         ` Remi Denis-Courmont
2007-04-05  7:11   ` default value of nf_conntrack_tcp_timeout_close_wait Jozsef Kadlecsik
2007-04-04 15:30 ` Patrick McHardy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.