summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/py/inet/reject.t.json10
-rw-r--r--tests/py/ip/reject.t.json10
-rw-r--r--tests/py/ip6/reject.t.json10
3 files changed, 30 insertions, 0 deletions
diff --git a/tests/py/inet/reject.t.json b/tests/py/inet/reject.t.json
index e60cd4f2..76cd1bf5 100644
--- a/tests/py/inet/reject.t.json
+++ b/tests/py/inet/reject.t.json
@@ -205,6 +205,16 @@
}
]
+# reject with icmpx 3
+[
+ {
+ "reject": {
+ "expr": "admin-prohibited",
+ "type": "icmpx"
+ }
+ }
+]
+
# meta nfproto ipv4 reject with icmp host-unreachable
[
{
diff --git a/tests/py/ip/reject.t.json b/tests/py/ip/reject.t.json
index c0d7791b..3e1d28de 100644
--- a/tests/py/ip/reject.t.json
+++ b/tests/py/ip/reject.t.json
@@ -75,6 +75,16 @@
}
]
+# reject with icmp 3
+[
+ {
+ "reject": {
+ "expr": "port-unreachable",
+ "type": "icmp"
+ }
+ }
+]
+
# mark 0x80000000 reject with tcp reset
[
{
diff --git a/tests/py/ip6/reject.t.json b/tests/py/ip6/reject.t.json
index 718d0ee5..312a7dab 100644
--- a/tests/py/ip6/reject.t.json
+++ b/tests/py/ip6/reject.t.json
@@ -65,6 +65,16 @@
}
]
+# reject with icmpv6 3
+[
+ {
+ "reject": {
+ "expr": "addr-unreachable",
+ "type": "icmpv6"
+ }
+ }
+]
+
# mark 0x80000000 reject with tcp reset
[
{