Florian Westphal d535c8a69c netfilter: conntrack: udp: only extend timeout to stream mode after 2s
Currently DNS resolvers that send both A and AAAA queries from same source port
can trigger stream mode prematurely, which results in non-early-evictable conntrack entry
for three minutes, even though DNS requests are done in a few milliseconds.

Add a two second grace period where we continue to use the ordinary
30-second default timeout.  Its enough for DNS request/response traffic,
even if two request/reply packets are involved.

ASSURED is still set, else conntrack (and thus a possible
NAT mapping ...) gets zapped too in case conntrack table runs full.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2018-12-21 00:48:38 +01:00
..
2018-10-25 06:50:48 -07:00
2018-11-09 06:30:44 -06:00
2018-10-31 10:53:29 -07:00
2018-10-26 07:38:19 -07:00
2018-10-29 15:16:01 -07:00
2018-10-22 23:26:37 +02:00
2018-12-01 12:38:32 +01:00
2018-10-08 12:57:34 +02:00