Do some spoofcheks even in ipv6. This is probably not complete
[alff.git] / share / plugins / plugin.d / drop_spoofed_packets_
index 2306266..41e9b5b 100755 (executable)
@@ -28,6 +28,7 @@ if [ "${chain}" ]; then
        if [ "${valid_chain}" = 'true' ]; then
                echo " * Creating rule to DROP spoofed packets... "
                echo "iptables -A ${chain} -j spoofcheck" >&3
+               echo "ip6tables -A ${chain} -j spoofcheck" >&3
        else
                echo "Error: Chain \"spoofcheck\" does not exist, but should be hooked in into ${chain}!">&2
        fi