Revision 07998281c268592963e1cd623fe6ab0270b65ae4 authored by Florian Westphal on 05 February 2021, 11:56:43 UTC, committed by Pablo Neira Ayuso on 08 February 2021, 23:04:14 UTC
The origin skip check needs to re-test the zone. Else, we might skip
a colliding tuple in the reply direction.

This only occurs when using 'directional zones' where origin tuples
reside in different zones but the reply tuples share the same zone.

This causes the new conntrack entry to be dropped at confirmation time
because NAT clash resolution was elided.

Fixes: 4e35c1cb9460240 ("netfilter: nf_nat: skip nat clash resolution for same-origin entries")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
1 parent ce7536b
History
File Mode Size
ac97
ali5451
asihpi
au88x0
aw2
ca0106
cs46xx
cs5535audio
ctxfi
echoaudio
emu10k1
hda
ice1712
korg1212
lola
lx6464es
mixart
nm256
oxygen
pcxhr
riptide
rme9652
trident
vx222
ymfpci
Kconfig -rw-r--r-- 25.4 KB
Makefile -rw-r--r-- 2.2 KB
ad1889.c -rw-r--r-- 24.7 KB
ad1889.h -rw-r--r-- 7.9 KB
ak4531_codec.c -rw-r--r-- 16.3 KB
als300.c -rw-r--r-- 20.6 KB
als4000.c -rw-r--r-- 29.6 KB
atiixp.c -rw-r--r-- 44.0 KB
atiixp_modem.c -rw-r--r-- 34.2 KB
azt3328.c -rw-r--r-- 80.9 KB
azt3328.h -rw-r--r-- 15.5 KB
bt87x.c -rw-r--r-- 28.5 KB
cmipci.c -rw-r--r-- 99.9 KB
cs4281.c -rw-r--r-- 62.5 KB
cs5530.c -rw-r--r-- 6.6 KB
ens1370.c -rw-r--r-- 76.9 KB
ens1371.c -rw-r--r-- 38 bytes
es1938.c -rw-r--r-- 54.0 KB
es1968.c -rw-r--r-- 77.8 KB
fm801.c -rw-r--r-- 41.4 KB
intel8x0.c -rw-r--r-- 88.8 KB
intel8x0m.c -rw-r--r-- 35.8 KB
maestro3.c -rw-r--r-- 80.9 KB
rme32.c -rw-r--r-- 56.0 KB
rme96.c -rw-r--r-- 70.0 KB
sis7019.c -rw-r--r-- 38.5 KB
sis7019.h -rw-r--r-- 12.7 KB
sonicvibes.c -rw-r--r-- 49.7 KB
via82xx.c -rw-r--r-- 75.7 KB
via82xx_modem.c -rw-r--r-- 32.9 KB

back to top