All of lore.kernel.org
 help / color / mirror / Atom feed
* TCP_CONNTRACK_ESTABLISHED 5days
@ 2005-05-02 13:32 Mogens Valentin
  2005-05-02 14:10 ` Mogens Valentin
  0 siblings, 1 reply; 8+ messages in thread
From: Mogens Valentin @ 2005-05-02 13:32 UTC (permalink / raw)
  To: netfilter

(Sent this to the linux-net list; seems this list is more appropriate. 
Sorry for any inconvenient xposting)

I fail to understand why TCP_CONNTRACK_ESTABLISHED has to be 5 days.
It's not configurable from /proc, but I see nothing wrong in changing 
the source to, say, 1 day.
Would someone educate me, pls.

/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,   */
};

-- 
Kind regards,
Mogens Valentin



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

end of thread, other threads:[~2005-05-03 10:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-02 13:32 TCP_CONNTRACK_ESTABLISHED 5days Mogens Valentin
2005-05-02 14:10 ` Mogens Valentin
2005-05-02 14:19   ` Moritz Gartenmeister
2005-05-02 14:31   ` Taylor, Grant
2005-05-02 15:53     ` Mogens Valentin
2005-05-02 16:05       ` Taylor, Grant
2005-05-03  8:23       ` Mohamed Eldesoky
2005-05-03 10:48         ` Mogens Valentin

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.