Pablo Neira Ayuso | 621ded2 | 2012-09-12 12:59:41 +0200 | [diff] [blame] | 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 | -j NFLOG --nflog-range 1;=;OK |
| 7 | -j NFLOG --nflog-range 4294967295;=;OK |
| 8 | -j NFLOG --nflog-range 4294967296;;FAIL |
| 9 | -j NFLOG --nflog-range -1;;FAIL |
| 10 | # ERROR: cannot find: iptables -I INPUT -j NFLOG --nflog-prefix xxxxxx [...] |
| 11 | # -j NFLOG --nflog-prefix xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;=;OK |
| 12 | # ERROR: should fail: iptables -A INPUT -j NFLOG --nflog-prefix xxxxxxx [...] |
| 13 | # -j NFLOG --nflog-prefix xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx;;FAIL |
| 14 | -j NFLOG --nflog-threshold 1;=;OK |
| 15 | # ERROR: line 13 (should fail: iptables -A INPUT -j NFLOG --nflog-threshold 0 |
| 16 | # -j NFLOG --nflog-threshold 0;;FAIL |
| 17 | -j NFLOG --nflog-threshold 65535;=;OK |
| 18 | -j NFLOG --nflog-threshold 65536;;FAIL |
| 19 | -j NFLOG;=;OK |