diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-01-29 15:12:33 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2024-02-01 01:14:14 +0300 |
commit | 8059918a1377f2f1fff06af4f5a4ed3d5acd6bc4 (patch) | |
tree | 5cf96a37323e797c0f49d93cacc352869653cc06 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 259eb32971e9eb24d1777a28d82730659f50fdcb (diff) | |
download | linux-8059918a1377f2f1fff06af4f5a4ed3d5acd6bc4.tar.xz |
netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectations
- Disallow families other than NFPROTO_{IPV4,IPV6,INET}.
- Disallow layer 4 protocol with no ports, since destination port is a
mandatory attribute for this object.
Fixes: 857b46027d6f ("netfilter: nft_ct: add ct expectations support")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions