« Fedora Core 2 repository | Home | Working at the nerves from your boss »
Disable ping on linux
By Robin | juli 19, 2007
Almost all people starting with linux want to know after a while how to stop ping to prevent floods, well here is the solutions:
echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all
Only one thing left to do, you also want to get this after a reboot, so put in /etc/sysctl.conf.:
net.ipv4.conf.icmp_echo_ignore_all = 1
Topics: Linux | No Comments »
