blob: 97500b00ea9611bab46e681b5e59362358392aee [file] [log] [blame]
Pablo Neira Ayusob00ab932012-09-26 17:46:44 +02001:INPUT,FORWARD,OUTPUT
2-j ULOG --ulog-nlgroup 1;-j ULOG;OK
3-j ULOG --ulog-nlgroup 32;=;OK
4-j ULOG --ulog-nlgroup 33;;FAIL
5-j ULOG --ulog-nlgroup 0;;FAIL
6-j ULOG --ulog-cprange 1;=;OK
7-j ULOG --ulog-cprange 4294967295;=;OK
8# This below outputs 0 in iptables-save
9# ERROR: should fail: iptables -A INPUT -j ULOG --ulog-cprange 4294967296
10#-j ULOG --ulog-cprange 4294967296;;FAIL
11# supports up to 31 characters
12-j ULOG --ulog-prefix xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;=;OK
13# ERROR: should fail: iptables -A INPUT -j ULOG --ulog-prefix xxxxxx [...]
14#-j ULOG --ulog-prefix xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;;FAIL
15-j ULOG --ulog-qthreshold 1;-j ULOG;OK
16-j ULOG --ulog-qthreshold 0;;FAIL
17-j ULOG --ulog-qthreshold 50;=;OK
18-j ULOG --ulog-qthreshold 51;;FAIL
19-j ULOG;=;OK