Sunday, September 11, 2011

Disable ping command in linux


You can disable ping command in the server coz many users wants to disable PING to avoid detection or to keep away from Hackers. doing below steps

to disable the ping
admin@suresh$ echo 1  > /proc/sys/net/ipv4/icmp_echo_ignore_all
to enable the ping
admin@suresh$ echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all