6
2
I would like to know how to deny ping replies on my ipv6 address. We have been messing around with ping flooding on ipv6 at work, and the usual way to block icmp requests does not work.
I have tried with the preinstalled scripts in the imcp folder (in linux) but theipv6 one does not have the respective script.
I have also tried as follow through iptables with no luck:
/sbin/iptables -A OUTPUT -p icmp -o eth0 -j ACCEPT
/sbin/iptables -A INPUT -p icmp –icmp-type echo-reply -s 0/0 -i eth0 -j ACCEPT
/sbin/iptables -A INPUT -p icmp –icmp-type destination-unreachable -s 0/0 -i eth0 -j ACCEPT
/sbin/iptables -A INPUT -p icmp –icmp-type time-exceeded -s 0/0 -i eth0 -j ACCEPT
/sbin/iptables -A INPUT -p icmp -i eth0 -j DROP
It would be good to know if it is possible and how also for win and mac OSX machines.