summaryrefslogtreecommitdiffstats
path: root/tests/regression/ip/icmp.t
diff options
context:
space:
mode:
authorArturo Borrero <arturo.borrero.glez@gmail.com>2015-12-11 11:10:14 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2015-12-15 21:36:14 +0100
commit6b29a5bebb957387fe1aac8fcbfd431e6be237f0 (patch)
tree7e0be595ee6acfbdd2611045a7d227d5f329a16e /tests/regression/ip/icmp.t
parent564b0e7c13f98b9ad054058137b4c0bb61bd46b4 (diff)
tests/: rearrange tests directory
Rearrange the directory to obtain a better organization of files and tests-suites. We end with a tree like this: tests | .--- py .--- shell .--- files This was suggested by Pablo. Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/regression/ip/icmp.t')
-rw-r--r--tests/regression/ip/icmp.t93
1 files changed, 0 insertions, 93 deletions
diff --git a/tests/regression/ip/icmp.t b/tests/regression/ip/icmp.t
deleted file mode 100644
index bd00f5ca..00000000
--- a/tests/regression/ip/icmp.t
+++ /dev/null
@@ -1,93 +0,0 @@
-*ip;test-ip4
-# BUG: There is a bug with icmp protocol and inet family.
-# *inet;test-inet
-:input;type filter hook input priority 0
-
-icmp type echo-reply accept;ok
-icmp type destination-unreachable accept;ok
-icmp type source-quench accept;ok
-icmp type redirect accept;ok
-icmp type echo-request accept;ok
-icmp type time-exceeded accept;ok
-icmp type parameter-problem accept;ok
-icmp type timestamp-request accept;ok
-icmp type timestamp-reply accept;ok
-icmp type info-request accept;ok
-icmp type info-reply accept;ok
-icmp type address-mask-request accept;ok
-icmp type address-mask-reply accept;ok
-icmp type {echo-reply, destination-unreachable, source-quench, redirect, echo-request, time-exceeded, parameter-problem, timestamp-request, timestamp-reply, info-request, info-reply, address-mask-request, address-mask-reply} accept;ok
-- icmp type != {echo-reply, destination-unreachable, source-quench};ok
-# BUG: icmp type != {echo-reply, destination-unreachable, source-quench}
-# BUG: invalid expression type set
-# nft: src/evaluate.c:975: expr_evaluate_relational: Assertion '0' failed.
-
-icmp code 111 accept;ok
-icmp code != 111 accept;ok
-icmp code 33-55;ok
-icmp code != 33-55;ok
-icmp code { 33-55};ok
-- icmp code != { 33-55};ok
-icmp code { 2, 4, 54, 33, 56};ok
-- icmp code != { 2, 4, 54, 33, 56};ok
-# $ sudo nft add rule ip test input icmp code != {2, 4, 54, 33, 56}
-# BUG: invalid expression type set
-# nft: src/evaluate.c:975: expr_evaluate_relational: Assertion '0' failed.
-
-icmp checksum 12343 accept;ok
-icmp checksum != 12343 accept;ok
-icmp checksum 11-343 accept;ok
-icmp checksum != 11-343 accept;ok
-icmp checksum { 11-343} accept;ok
-- icmp checksum != { 11-343} accept;ok
-icmp checksum { 1111, 222, 343} accept;ok
-- icmp checksum != { 1111, 222, 343} accept;ok
-# BUG: invalid expression type set
-# icmp checksum != { 1111, 222, 343} accept;ok
-# nft: src/evaluate.c:975: expr_evaluate_relational: Assertion '0' failed.
-
-icmp id 1245 log;ok
-icmp id 22;ok
-icmp id != 233;ok
-icmp id 33-45;ok
-icmp id != 33-45;ok
-icmp id { 33-55};ok
-- icmp id != { 33-55};ok
-icmp id { 22, 34, 333};ok
-- icmp id != { 22, 34, 333};ok
-# BUG: invalid expression type set
-# icmp id != { 22, 34, 333}
-# nft: src/evaluate.c:975: expr_evaluate_relational: Assertion '0' failed.
-
-icmp sequence 22;ok
-icmp sequence != 233;ok
-icmp sequence 33-45;ok
-icmp sequence != 33-45;ok
-icmp sequence { 33, 55, 67, 88};ok
-- icmp sequence != { 33, 55, 67, 88};ok
-icmp sequence { 33-55};ok
-- icmp sequence != { 33-55};ok
-
-icmp mtu 33;ok
-icmp mtu 22-33;ok
-icmp mtu { 22-33};ok
-- icmp mtu != { 22-33};ok
-icmp mtu 22;ok
-icmp mtu != 233;ok
-icmp mtu 33-45;ok
-icmp mtu != 33-45;ok
-icmp mtu { 33, 55, 67, 88};ok
-- icmp mtu != { 33, 55, 67, 88};ok
-icmp mtu { 33-55};ok
-- icmp mtu != { 33-55};ok
-
-icmp gateway 22;ok
-icmp gateway != 233;ok
-icmp gateway 33-45;ok
-icmp gateway != 33-45;ok
-icmp gateway { 33, 55, 67, 88};ok
-- icmp gateway != { 33, 55, 67, 88};ok
-icmp gateway { 33-55};ok
-- icmp gateway != { 33-55};ok
-icmp gateway != 34;ok
-- icmp gateway != { 333, 334};ok