Article Title: How Can I disable the Ping command in Linux ?. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The Ping command is an application that checks the connection between computers. data transmission between computers is not encrypted, therefore, when we use the ping command to detect a server, an illegal element may exist on the Internet, and the information transmitted on the network line may be stolen through a special hacker program, attackers can exploit the stolen information to attack the specified server or system. Therefore, we need to disable Linux commands in Linux. In Linux, if you want to make ping unresponsive, that is, to ignore the ICMP packet, you can enter the following command in the Linux command line:
Echo 1>/proc/sys/net/ipv4/icmp_echo_igore_all
If you want to resume using the ping command, you can enter:
Echo 0>/proc/sys/net/ipv4/icmp_echo_igore_all command.