]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
REJECT enhancements.
authorRusty Russell <rusty@linuxcare.com.au>
Tue, 20 Jun 2000 19:07:29 +0000 (19:07 +0000)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 20 Jun 2000 19:07:29 +0000 (19:07 +0000)
extensions/libipt_REJECT.c

index 2c0b85b75b027fc73018010fdd33c84857252947..e13d4b1e5702d0e69e44a0b678042269852531a5 100644 (file)
@@ -27,7 +27,13 @@ static const struct reject_names reject_table[] = {
        {"icmp-proto-unreachable", "proto-unreach",
                IPT_ICMP_PROT_UNREACHABLE, "ICMP protocol unreachable"},
        {"echo-reply", "echoreply",
-               IPT_ICMP_ECHOREPLY, "for ICMP echo only: faked ICMP echo reply"}
+        IPT_ICMP_ECHOREPLY, "for ICMP echo only: faked ICMP echo reply"},
+       {"icmp-net-prohibited", "net-prohib",
+        IPT_ICMP_NET_PROHIBITED, "ICMP network prohibited"},
+       {"icmp-host-prohibited", "host-prohib",
+        IPT_ICMP_HOST_PROHIBITED, "ICMP host prohibited"},
+       {"icmp-packet-filtered", "packet-filtered",
+        IPT_ICMP_PACKET_FILTERED, "ICMP packet filtered"}
 };
 
 static void