summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-11-19 21:27:28 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2017-11-20 13:30:24 +0100
commitfbcd253d2448b8f168241e38f629a36c4c8c1e94 (patch)
treef9b255dc45fa4d29bccdad5f379a48cc7c565999 /crypto
parentec8a8f3c31ddef0a7d9626c4b8a4baa30f3b80aa (diff)
downloadblackbird-op-linux-fbcd253d2448b8f168241e38f629a36c4c8c1e94.tar.gz
blackbird-op-linux-fbcd253d2448b8f168241e38f629a36c4c8c1e94.zip
netfilter: conntrack: lower timeout to RETRANS seconds if window is 0
When zero window is announced we can get into a situation where connection stays around forever: 1. One side announces zero window. 2. Other side closes. In this case, no FIN is sent (stuck in send queue). Unless other side opens the window up again conntrack stays in ESTABLISHED state for a very long time. Lets alleviate this by lowering the timeout to RETRANS (5 minutes), the other end should be sending zero window probes to keep the connection established as long as a socket still exists. Cc: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud