Disable ping command in linux

Written By smart| 20 June 2009| No Comment

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@smartproteam$ echo 1  > /proc/sys/net/ipv4/icmp_echo_ignore_all

to enable the ping

admin@smartproteam$ echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all

Related Posts with Thumbnails

Share With Others

Leave your response!




Comment moderation is enabled. Your comment may take some time to appear.