The ping command in Linux system can be used for network fault diagnosis and check network connectivity, but sometimes it will be exploited by hackers. Sometimes, in order to ensure the security of the system network, the ping command will be forbidden, so how to ban ping What about the order? Let's take a look at it with Xiaobian.
The information transmitted on the halfway line to steal the network through a dedicated hacker programs, and theft over the use of information attack on the specified server or system, for which we need to ban the Linux system Use the ping command. In linux, if you want to make the ping not respond, it is used to ignore the icmp package, so we can enter the following command in the Linux command line:
Disable ICMP protocol access
Make ping No response, ignore the icmp package, type:
echo 1 》 /proc/sys/net/ipv4/icmp_echo_igore_all ;
To restore the ping command, type:
echo 0 /proc/sys/net/ipv4/icmp_echo_igore_all command.
can be placed in /etc/rc.d/rc.local
Limit root
/etc/securetty
tty1
#tty2---6
/etc/secuetty/access.conf
-:root:ALL EXCEPT console
The above is the way Linux prohibits the use of the ping command. If your system has very important data, it is best to disable the ping command.
In the CentOS system, yum can help users install packages in batches without having
In the Ubuntu system operation, sometimes the default startup program changes due t
Because Linux software installation requires the use of commands, many people encountered a lot of p
Shell in Linux is more than just a command, but an interpreter for other commands.
Linux how to use the whereis command to quickly find the file
How to mount iPhone under Arch Linux system
Getting Started with Linux Network Protocols
Linux system how to use the mount command and software to mount the ISO file
How to make Live USB under Linux?
Linux configuration minicom step
Linux changes the way Docker runs the root directory
Linux how to use vi /vim command
How to choose qcow2 and raw image format for Linux system
How Linux lists directories larger than the specified size
A brief history of Linux operating system development
Win7 restore point where Win7 restore point set graphic tutorial
Unique features of Windows 7 Disable USB self-installation driver
Win8 system opens the hidden start menu
Win8 system update device driver tutorial
When the computer sounds big and small reasons and solutions
Xunfei input method utility function: adjust keyboard height
Domain name resolution process
WinXP cancels the login window by changing the registry
Win7 system computer installation software failed and prompted error 1327 solution