diff options
author | Phil Sutter <phil@nwl.cc> | 2024-01-24 23:29:46 +0100 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2024-02-02 18:26:14 +0100 |
commit | 30a7f11234a81bd2389c7e7224769b1fdd192239 (patch) | |
tree | 7b4a1674937105e49e531f06e49b7309596759a9 /extensions/libxt_conntrack.t | |
parent | 285406b1d22e3ed0aec30ea0a534ea76211156a9 (diff) |
libxtables: xtoptions: Assert ranges are monotonic increasing
Extensions commonly require the upper range value to be larger or equal
to the lower one. Performing this check in the parser is easier and
covers all extensions at once.
One notable exception is NFQUEUE which requires strict monotonicity.
Hence leave its checks in place.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libxt_conntrack.t')
-rw-r--r-- | extensions/libxt_conntrack.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_conntrack.t b/extensions/libxt_conntrack.t index 399d70ab..620e7b54 100644 --- a/extensions/libxt_conntrack.t +++ b/extensions/libxt_conntrack.t @@ -18,7 +18,7 @@ -m conntrack --ctexpire 42949672956;;FAIL -m conntrack --ctexpire -1;;FAIL -m conntrack --ctexpire 3:3;-m conntrack --ctexpire 3;OK --m conntrack --ctexpire 4:3;=;OK +-m conntrack --ctexpire 4:3;;FAIL -m conntrack --ctdir ORIGINAL;=;OK -m conntrack --ctdir REPLY;=;OK -m conntrack --ctstatus NONE;=;OK |