xref: /aosp_15_r20/external/iptables/extensions/libxt_NFLOG.t (revision a71a954618bbadd4a345637e5edcf36eec826889)
1:INPUT,FORWARD,OUTPUT
2-j NFLOG --nflog-group 1;=;OK
3-j NFLOG --nflog-group 65535;=;OK
4-j NFLOG --nflog-group 65536;;FAIL
5-j NFLOG --nflog-group 0;-j NFLOG;OK
6# `--nflog-range` is broken and only supported by xtables-legacy.
7# It has been superseded by `--nflog--group`.
8-j NFLOG --nflog-range 1;=;OK;LEGACY;NOMATCH
9-j NFLOG --nflog-range 4294967295;=;OK;LEGACY;NOMATCH
10-j NFLOG --nflog-range 4294967296;;FAIL
11-j NFLOG --nflog-range -1;;FAIL
12-j NFLOG --nflog-size 0;=;OK
13-j NFLOG --nflog-size 1;=;OK
14-j NFLOG --nflog-size 4294967295;=;OK
15-j NFLOG --nflog-size 4294967296;;FAIL
16-j NFLOG --nflog-size -1;;FAIL
17-j NFLOG --nflog-prefix xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;=;OK
18-j NFLOG --nflog-prefix xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;-j NFLOG --nflog-prefix xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;OK
19-j NFLOG --nflog-threshold 1;=;OK
20# ERROR: line 13 (should fail: iptables -A INPUT -j NFLOG --nflog-threshold 0
21# -j NFLOG --nflog-threshold 0;;FAIL
22-j NFLOG --nflog-threshold 65535;=;OK
23-j NFLOG --nflog-threshold 65536;;FAIL
24-j NFLOG;=;OK
25