I’m sure most of you hard-core Linux guru’s already knew this, but in order to disable the ping response on your box do:
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all
to turn everything back to normal do:
echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all
so that sums up our lesson for today.
Posted by Philip McClure in Linux on October 24, 2003