diff options
author | Kyle Bowman <kbowman@cloudflare.com> | 2021-10-01 18:41:38 +0100 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2022-01-18 13:22:56 +0100 |
commit | f9df828a46c7446c8e894be7ae45a2ac97b4a278 (patch) | |
tree | 057d36239e5e793fac175daf9094f291403f743a | |
parent | 62ad29e9b778f4419573c6b43fe7a0a00d783fe6 (diff) |
extensions: libxt_NFLOG: disable `--nflog-range` Python test-cases
nft has no equivalent to `--nflog-range`, so we cannot emulate it and
the Python unit-tests for it fail. However, since `--nflog-range` is
broken and doesn't do anything, the tests are not testing anything
useful.
Signed-off-by: Kyle Bowman <kbowman@cloudflare.com>
Signed-off-by: Alex Forster <aforster@cloudflare.com>
Signed-off-by: Jeremy Sowden <jeremy@azazel.net>
Signed-off-by: Florian Westphal <fw@strlen.de>
-rw-r--r-- | extensions/libxt_NFLOG.t | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/extensions/libxt_NFLOG.t b/extensions/libxt_NFLOG.t index 933fa221..eefb058b 100644 --- a/extensions/libxt_NFLOG.t +++ b/extensions/libxt_NFLOG.t @@ -3,10 +3,12 @@ -j NFLOG --nflog-group 65535;=;OK -j NFLOG --nflog-group 65536;;FAIL -j NFLOG --nflog-group 0;-j NFLOG;OK --j NFLOG --nflog-range 1;=;OK --j NFLOG --nflog-range 4294967295;=;OK --j NFLOG --nflog-range 4294967296;;FAIL --j NFLOG --nflog-range -1;;FAIL +# `--nflog-range` is broken and only supported by xtables-legacy. It +# has been superseded by `--nflog--group`. +# -j NFLOG --nflog-range 1;=;OK +# -j NFLOG --nflog-range 4294967295;=;OK +# -j NFLOG --nflog-range 4294967296;;FAIL +# -j NFLOG --nflog-range -1;;FAIL -j NFLOG --nflog-size 0;=;OK -j NFLOG --nflog-size 1;=;OK -j NFLOG --nflog-size 4294967295;=;OK |