From IT Mission Linux Tips, Hacks, Tutorials, Howtos - Itmission.org

Main: Disable-ping-request-to-the-server


Linux security

echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all


or

As superuser, add the following lines to /etc/sysctl.conf

net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.icmp_echo_ignore_all = 1


Then run the following command to cause the change to take effect immediately:

sysctl -p


This change will persist following a reboot.


Retrieved from http://www.itmission.org/Main/Disable-ping-request-to-the-server
Page last modified on April 25, 2009, at 04:55 PM