diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-10-01 10:44:49 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-10-01 10:44:58 +0200 |
commit | a9084baa5d0ff6ccd28715b79ad2630bc77be49b (patch) | |
tree | 5f53bda6e82184773150e29339a425578c4db644 /extensions/libipt_icmp.t | |
parent | cbe036db892c298c33e77dec2c5129dbb4dccc2c (diff) | |
parent | 4b187eeed49dc507d38438affabe90d36847412d (diff) |
Merge branch 'tests'
This merges the iptables-test.py script and the corresponding
test files.
Diffstat (limited to 'extensions/libipt_icmp.t')
-rw-r--r-- | extensions/libipt_icmp.t | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/extensions/libipt_icmp.t b/extensions/libipt_icmp.t new file mode 100644 index 00000000..f4ba65c2 --- /dev/null +++ b/extensions/libipt_icmp.t @@ -0,0 +1,15 @@ +:INPUT,FORWARD,OUTPUT +-p icmp -m icmp --icmp-type any;=;OK +# output uses the number, better use the name? +# ERROR: cannot find: iptables -I INPUT -p icmp -m icmp --icmp-type echo-reply +# -p icmp -m icmp --icmp-type echo-reply;=;OK +# output uses the number, better use the name? +# ERROR: annot find: iptables -I INPUT -p icmp -m icmp --icmp-type destination-unreachable +# -p icmp -m icmp --icmp-type destination-unreachable;=;OK +# it does not acccept name/name, should we accept this? +# ERROR: cannot load: iptables -A INPUT -p icmp -m icmp --icmp-type destination-unreachable/network-unreachable +# -p icmp -m icmp --icmp-type destination-unreachable/network-unreachable;=;OK +-m icmp;;FAIL +# we accept "iptables -I INPUT -p tcp -m tcp", why not this below? +# ERROR: cannot load: iptables -A INPUT -p icmp -m icmp +# -p icmp -m icmp;=;OK |