From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Florian Westphal <fw@strlen.de>
Cc: netfilter-devel@vger.kernel.org,
Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Subject: Re: [PATCH nf] netfilter: conntrack: lower timeout to RETRANS seconds if window is 0
Date: Mon, 20 Nov 2017 13:30:07 +0100 [thread overview]
Message-ID: <20171120123007.GA17331@salvia> (raw)
In-Reply-To: <20171119202728.13756-1-fw@strlen.de>
On Sun, Nov 19, 2017 at 09:27:28PM +0100, Florian Westphal wrote:
> 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.
Applied, thanks!
prev parent reply other threads:[~2017-11-20 12:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-19 20:27 [PATCH nf] netfilter: conntrack: lower timeout to RETRANS seconds if window is 0 Florian Westphal
2017-11-20 7:41 ` Jozsef Kadlecsik
2017-11-20 12:30 ` Pablo Neira Ayuso [this message]
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=20171120123007.GA17331@salvia \
--to=pablo@netfilter.org \
--cc=fw@strlen.de \
--cc=kadlec@blackhole.kfki.hu \
--cc=netfilter-devel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).