From: Mark Wooding Date: Fri, 18 Apr 2014 13:07:53 +0000 (+0100) Subject: icmp.m4: Actually track the correct ICMPv6 protocol. X-Git-Url: https://git.distorted.org.uk/~mdw/firewall/commitdiff_plain/2cc301c282ec3617e909b4ccc0f266cc759c1ebd icmp.m4: Actually track the correct ICMPv6 protocol. Silly program thinks that `icmp' on IPv6 doesn't mean the same as `icmpv6'. --- diff --git a/icmp.m4 b/icmp.m4 index 93c2973..3ccc6d9 100644 --- a/icmp.m4 +++ b/icmp.m4 @@ -38,7 +38,10 @@ m4_divert(58)m4_dnl run ip46tables -A check-icmp -j ACCEPT ## Done. -for i in $inchains; do run ip46tables -A $i -p icmp -j check-icmp; done +for i in $inchains; do + run iptables -A $i -p icmp -j check-icmp + run ip6tables -A $i -p icmpv6 -j check-icmp +done m4_divert(-1) ###----- That's all, folks --------------------------------------------------