Hi All,
The ping request is working on the ICMP echo request in internet. ICMP packets will send to the destination and finally wait for the response. In servers due to the ICMP attacks the ping should be disabled to protect the server.
So first we can check How to enable Ping
# echo “0″ >> /proc/sys/net/ipv4/icmp_echo_ignore_all
To disable the ping command follow the below step
# echo “1″ >> /proc/sys/net/ipv4/icmp_echo_ignore_all we can disable the ping request also by editing the
sysctl.conf file
edit the configuration file by
# vi /etc/sysctl.confchange the line below
: net.ipv4.icmp_echo_ignore_all = 1save and quit.. After editing just run the following command
# sysctl -p[ /b]
That's It.. 