Skip to content
Commit 628d6943 authored by Florian Westphal's avatar Florian Westphal
Browse files

netfilter: conntrack: reduce timeout when receiving out-of-window fin or rst



In case the endpoints and conntrack go out-of-sync, i.e. there is
disagreement wrt. validy of sequence/ack numbers between conntracks
internal state and those of the endpoints, connections can hang for a
long time (until ESTABLISHED timeout).

This adds a check to detect a fin/fin exchange even if those are
invalid.  The timeout is then lowered to UNACKED (default 300s).

Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
parent 09a59001
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment