summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2014-10-14 10:13:48 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2014-10-18 14:14:07 +0200
commitf3f5ddeddd6aeadcef523d55ea9288e3d5c1cbc3 (patch)
tree8515ff30729229052cd91d69a49322424a05290b /tools
parent493618a92c6afdd3f6224ab586f169d6a259bb06 (diff)
netfilter: nft_compat: validate chain type in match/target
We have to validate the real chain type to ensure that matches/targets are not used out from their scope (eg. MASQUERADE in nat chain type). The existing validation relies on the table name, but this is not sufficient since userspace can fool us by using the appropriate table name with a different chain type. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions