From: Joakim Axelsson <gozem@gozem.se>
To: netfilter-devel@lists.netfilter.org
Subject: default value of nf_conntrack_tcp_timeout_close_wait
Date: Wed, 4 Apr 2007 14:23:14 +0200 [thread overview]
Message-ID: <20070404122314.GP657@kriss.csbnet.se> (raw)
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
next reply other threads:[~2007-04-04 12:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-04 12:23 Joakim Axelsson [this message]
2007-04-04 12:59 ` default value of nf_conntrack_tcp_timeout_close_wait 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070404122314.GP657@kriss.csbnet.se \
--to=gozem@gozem.se \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.