diff options
author | Florian Westphal <fw@strlen.de> | 2018-12-18 00:05:29 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-12-21 00:48:46 +0100 |
commit | 294304e4c522d797b7ea8200ab74354843fa68e9 (patch) | |
tree | 14c5ed235dc6980f3b892f6717f0243564bf4b36 /Documentation/networking/nf_conntrack-sysctl.txt | |
parent | netfilter: conntrack: udp: only extend timeout to stream mode after 2s (diff) | |
download | linux-294304e4c522d797b7ea8200ab74354843fa68e9.tar.xz linux-294304e4c522d797b7ea8200ab74354843fa68e9.zip |
netfilter: conntrack: udp: set stream timeout to 2 minutes
We have no explicit signal when a UDP stream has terminated, peers just
stop sending.
For suspected stream connections a timeout of two minutes is sane to keep
NAT mapping alive a while longer.
It matches tcp conntracks 'timewait' default timeout value.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Documentation/networking/nf_conntrack-sysctl.txt')
-rw-r--r-- | Documentation/networking/nf_conntrack-sysctl.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/networking/nf_conntrack-sysctl.txt b/Documentation/networking/nf_conntrack-sysctl.txt index 1669dc2419fd..e69b2e6a4a29 100644 --- a/Documentation/networking/nf_conntrack-sysctl.txt +++ b/Documentation/networking/nf_conntrack-sysctl.txt @@ -157,7 +157,7 @@ nf_conntrack_udp_timeout - INTEGER (seconds) default 30 nf_conntrack_udp_timeout_stream - INTEGER (seconds) - default 180 + default 120 This extended timeout will be used in case there is an UDP stream detected. |