diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-11-10 19:53:55 (GMT) |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-11-12 11:06:24 (GMT) |
commit | c918687f5e3962375a19de6ded3c1be85ebdbcd6 (patch) | |
tree | bdfa4bde1a777c9a71eb45dbeb5de9344e39149a /scripts | |
parent | 2daf1b4d18e3add229d1a3b5c554331d99ac6c7e (diff) | |
download | linux-c918687f5e3962375a19de6ded3c1be85ebdbcd6.tar.xz |
netfilter: nft_compat: relax chain type validation
Check for nat chain dependency only, which is the one that can
actually crash the kernel. Don't care if mangle, filter and security
specific match and targets are used out of their scope, they are
harmless.
This restores iptables-compat with mangle specific match/target when
used out of the OUTPUT chain, that are actually emulated through filter
chains, which broke when performing strict validation.
Fixes: f3f5dde ("netfilter: nft_compat: validate chain type in match/target")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions