A ping is a communication protocol that is part of the IP protocol, a portion of the TCP/IP protocol. It can be used to check if the network is able to connect, so it can help us to analyze and determine the network fault. The application format is: Ping IP address. But service-enabled pings can sometimes cause a lot of trouble.
As a result, Linux server administrators can restrict the server from pinging other users, sometimes as needed (such as to prevent attacks). It also ensures that the Linux server can ping other servers.
The following is the simplest method of ping-cut in Linux
First login to the server between the terminal execution: Echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all
650) this.width=650; "Width=" "height=" class= "Pic-cursor-pointer" style= "margin:0px auto 0px 54px;border:0px; Float:none, "src=" Http://hiphotos.baidu.com/exp/pic/item/7c5fcc1b0ef41bd5255df0f053da81cb39db3d6c.jpg "alt=" 7c5fcc1b0ef41bd5255df0f053da81cb39db3d6c "/> So you can ban ping. If you want to restore ping, you can execute the command
echo 0 >/proc/sys/net/ipv4/icmp_echo_ignore_all
650) this.width=650; "Width=", "height=" "class=" Pic-cursor-pointer "style=" margin:0px auto 0px 54px;border:0px; Float:none, "src=" Http://hiphotos.baidu.com/exp/pic/item/d048adde9c82d158963042b5820a19d8bd3e42c0.jpg "alt=" D048adde9c82d158963042b5820a19d8bd3e42c0 "/>
"Linux No Ping setting" the easiest way to disable ping under Linux