From: xavier <list.netfilter-W+vduneg5OqcvWdFBKKxig@public.gmane.org>
To: netfilter-wool9L35kiczKOhml7GhPkB+6BGkLq7r@public.gmane.org
Subject: tcp & udp timeout hardcoding
Date: Mon, 17 Nov 2003 09:42:08 -0500 [thread overview]
Message-ID: <20031117144208.GA22431@nest.8d.com> (raw)
Hello,
I saw in the 2.4.22 kernel source :
/usr/src/linux/net/ipv4/netfilter/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, */
};
ip_conntrack_proto_udp.c
#define UDP_TIMEOUT (30*HZ)
#define UDP_STREAM_TIMEOUT (180*HZ)
Is there any plan to be able to set thoses values throught /proc ?
in some cases a 5 days timeout on tcp connexions may be too long...
thanks
--
xavier
next reply other threads:[~2003-11-17 14:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-17 14:42 xavier [this message]
2003-11-17 16:30 ` tcp & udp timeout hardcoding Antony Stone
2003-11-17 18:09 ` Ramin Dousti
2003-11-17 17:27 ` Antony Stone
2003-11-17 16:30 ` Eric Leblond
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=20031117144208.GA22431@nest.8d.com \
--to=list.netfilter-w+vduneg5oqcvwdfbkkxig@public.gmane.org \
--cc=netfilter-wool9L35kiczKOhml7GhPkB+6BGkLq7r@public.gmane.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.