From: Rusty Russell Date: Tue, 20 Jun 2000 19:07:29 +0000 (+0000) Subject: REJECT enhancements. X-Git-Tag: v1.2.1~156 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f7e72d5730420194d6d3e441e881f8d7f217d888;p=thirdparty%2Fiptables.git REJECT enhancements. --- diff --git a/extensions/libipt_REJECT.c b/extensions/libipt_REJECT.c index 2c0b85b7..e13d4b1e 100644 --- a/extensions/libipt_REJECT.c +++ b/extensions/libipt_REJECT.c @@ -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