Login to Members Area

Choose the service you want to log in
     
24x7x365 Presence
1-888-289-2246
Live Chat

Hosting Blog

 

Disabling ping for the Linux server in order to stop a network/ICMP flood

There are times when a hacker sends ICMP messages in a huge quantity due to which the network gets completely jammed and the server is not accessible over the network. This scenario is commonly known as an ICMP flood.

In such cases, to stop such an ICMP flood we should first stop the ping for the server's IP address.

To stop the ping of the server's IP addresss, use the command below:-

Go to the file /etc/sysctl.conf and use "Change the value" for the below as mentioned :-

net.ipv4.icmp_echo_ignore_all = 1

and then run the command sysctl -p

or you can directly run the command below to set the value in the file :-

 echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all
 
Once the ping request for the server has been disabled, the ICMP flood goes down and all the
services except ping are functioning normally.

Sachin Thursday 12 September 2013 - 06:02 am | | Default
Used tags: , , , , , ,

No comments

(optional field)
(optional field)

Comment moderation is enabled on this site. This means that your comment will not be visible until it has been approved by an editor.

Remember personal info?
Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.