summaryrefslogtreecommitdiffstats
path: root/extensions/libip6t_REJECT.t
diff options
context:
space:
mode:
authorAndreas Herz <andi@geekosphere.org>2015-08-21 11:33:05 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2015-09-29 20:34:50 +0200
commit16e46548499d336899ee051e805ae4e5c92cc403 (patch)
tree7c3655e44567ca3e42bf5b5df4c2bce451233439 /extensions/libip6t_REJECT.t
parent742baabd185c326cc2125e648e240894362eb31c (diff)
added missing icmpv6 codes in REJECT
RFC 4443 added two new codes values for ICMPv6 type 1: 5 - Source address failed ingress/egress policy 6 - Reject route to destination And RFC 7084 states in L-14 that IPv6 Router MUST send ICMPv6 Destination Unreachable with code 5 for packets forwarded to it that use an address from a prefix that has been invalidated. Signed-off-by: Andreas Herz <andi@geekosphere.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions/libip6t_REJECT.t')
-rw-r--r--extensions/libip6t_REJECT.t2
1 files changed, 2 insertions, 0 deletions
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