summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-03-25 23:11:53 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-16 19:41:23 +0200
commitcb9a11d017c63457ca1ae69d6f2575541e3ec7fb (patch)
treeefa4788c7540ef190346d24fea63ba1731944262 /lib
parent74e9b761fba08934f8b4c19cdd857f0beefda652 (diff)
downloadlinux-stable-cb9a11d017c63457ca1ae69d6f2575541e3ec7fb.tar.gz
linux-stable-cb9a11d017c63457ca1ae69d6f2575541e3ec7fb.tar.bz2
linux-stable-cb9a11d017c63457ca1ae69d6f2575541e3ec7fb.zip
selftests: netfilter: check icmp pkttoobig errors are set as related
[ Upstream commit becf2319f320cae43e20cf179cc51a355a0deb5f ] When an icmp error such as pkttoobig is received, conntrack checks if the "inner" header (header of packet that did not fit link mtu) is matches an existing connection, and, if so, sets that packet as being related to the conntrack entry it found. It was recently reported that this "related" setting also works if the inner header is from another, different connection (i.e., artificial/forged icmp error). Add a test, followup patch will add additional "inner dst matches outer dst in reverse direction" check before setting related state. Link: https://www.synacktiv.com/posts/systems/icmp-reachable.html Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions