* conntrack timeout values
@ 2002-10-08 3:28 Vincent Lim
0 siblings, 0 replies; only message in thread
From: Vincent Lim @ 2002-10-08 3:28 UTC (permalink / raw)
To: netfilter
Folks,
I'm experiencing some problems with conntrack...the reported timeout
values seems to be wrong:
<snip from ip_conntrack_proto_tcp.c>
static unsigned long tcp_timeouts[]
= { 30 MINS, /* TCP_CONNTRACK_NONE, */
5 DAYS, /* TCP_CONNTRACK_ESTABLISHED, */
2 MINS, /* TCP_CONNTRACK_SYN_SENT, */
60 SECS, /* TCP_CONNTRACK_SYN_RECV, */
2 MINS, /* TCP_CONNTRACK_FIN_WAIT, */
2 MINS, /* TCP_CONNTRACK_TIME_WAIT, */
10 SECS, /* TCP_CONNTRACK_CLOSE, */
60 SECS, /* TCP_CONNTRACK_CLOSE_WAIT, */
30 SECS, /* TCP_CONNTRACK_LAST_ACK, */
2 MINS, /* TCP_CONNTRACK_LISTEN, */
};
<snip>
According to the code, TIME_OUT connections should have a timeout value
of 2 minutes. However, according to my /proc/net/ip_conntrack, some of
the TIME_OUT connection has values well above 2 minutes and some even
close to 5 days (equivalent to ESTABLISHED).
tcp 6 372830 TIME_WAIT src=172.16.1.66 dst=172.16.1.194 sport=4204
dport=110 src=172.16.1.194 dst=172.16.1.66 sport=110 dport=4204
[ASSURED] use=1
tcp 6 179403 TIME_WAIT src=172.16.1.193 dst=172.16.1.194
sport=39197 dport=25 src=172.16.1.194 dst=172.16.1.193 sport=25
dport=39197 [ASSURED] use=1
tcp 6 175904 CLOSE src=172.16.1.193 dst=172.16.1.194 sport=37165
dport=25 src=172.16.1.194 dst=172.16.1.193 sport=25 dport=37165
[ASSURED] use=1
I've reviewed the patch
http://samba.org/ftp/unpacked/netfilter.old/userspace/patch-o-matic/optimizations/ip_ct_refresh_optimization.patch
and the comments by the authors, it seems that it attempts to fix the
issue I'm facing but evidently it's not working. Can someone shed some
light as to what's going on?
--
Vincent Lim
Software Engineer
NESTAC Solution Sdn Bhd
vincent.lim@nestac.com | +(6012) 659-6609
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-08 3:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-08 3:28 conntrack timeout values Vincent Lim
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox