summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrusty <rusty>2000-06-20 19:07:29 +0000
committerrusty <rusty>2000-06-20 19:07:29 +0000
commit69fdcc6dc67922fb8e39e47d12b03fbc060d2421 (patch)
treebd4d2585509f0ce358ba8803d05cf533d11bf71c
parent05012db2c4144ef94685afe170656027cee2e35f (diff)
REJECT enhancements.
-rw-r--r--extensions/libipt_REJECT.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/extensions/libipt_REJECT.c b/extensions/libipt_REJECT.c
index 2c0b85b..e13d4b1 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