diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/libip6t_REJECT.c | 6 | ||||
-rw-r--r-- | extensions/libip6t_REJECT.t | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/extensions/libip6t_REJECT.c b/extensions/libip6t_REJECT.c index 8085321a..d62f4315 100644 --- a/extensions/libip6t_REJECT.c +++ b/extensions/libip6t_REJECT.c @@ -35,7 +35,11 @@ static const struct reject_names reject_table[] = { {"icmp6-port-unreachable", "port-unreach", IP6T_ICMP6_PORT_UNREACH, "ICMPv6 port unreachable"}, {"tcp-reset", "tcp-reset", - IP6T_TCP_RESET, "TCP RST packet"} + IP6T_TCP_RESET, "TCP RST packet"}, + {"icmp6-policy-fail", "policy-fail", + IP6T_ICMP6_POLICY_FAIL, "ICMPv6 policy fail"}, + {"icmp6-reject-route", "reject-route", + IP6T_ICMP6_REJECT_ROUTE, "ICMPv6 reject route"} }; static void diff --git a/extensions/libip6t_REJECT.t b/extensions/libip6t_REJECT.t index 5a389420..d2b337d7 100644 --- a/extensions/libip6t_REJECT.t +++ b/extensions/libip6t_REJECT.t @@ -5,5 +5,7 @@ -j REJECT --reject-with icmp6-adm-prohibited;=;OK -j REJECT --reject-with icmp6-addr-unreachable;=;OK -j REJECT --reject-with icmp6-port-unreachable;=;OK +-j REJECT --reject-with icmp6-policy-fail;=;OK +-j REJECT --reject-with icmp6-reject-route;=;OK -p tcp -j REJECT --reject-with tcp-reset;=;OK -j REJECT --reject-with tcp-reset;;FAIL |