To disable traceroute coming from Linux box (tested on ubuntu 11.0 4):
# iptables -t filter -A OUTPUT -p icmp -m icmp --icmp-type port-unreachable -j DROP
And to disable traceroute coming from Windows box (tested on Windows7):
# iptables -t filter -A OUTPUT -p icmp -m icmp --icmp-type echo-reply -j DROP
# iptables -t filter -A OUTPUT -p icmp -m icmp --icmp-type port-unreachable -j DROP
And to disable traceroute coming from Windows box (tested on Windows7):
# iptables -t filter -A OUTPUT -p icmp -m icmp --icmp-type echo-reply -j DROP
No comments:
Post a Comment