How to disable ping to avoid network/icmp flood?



How to disable ping to avoid network/icmp flood?..

Answer / Megha Yadav

To disable the ICMP echo reply (ping) on Linux, you can modify the /etc/sysctl.conf file by adding or uncommenting the line `net.ipv4.icmp_echo_ignore_all = 1` and then run `sudo sysctl -p /etc/sysctl.conf` to apply the changes.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux General Interview Questions

what are the different types of ftp servers in linux operating system?

1 Answers   Arigo Infotech,


In /etc/fstab, what is the meaning of defaults word and 0 0 indicates which options?

1 Answers  


What exactly is this Linux?

6 Answers  


Is linux mint free?

1 Answers  


What is the difference between cron and anacron?

2 Answers  


List the basic components of linux?

1 Answers  


Can games run on linux?

1 Answers  


Is pfsense linux?

1 Answers  


List all the files with ‘.mem’ extension in reverse alphabetical order in a particular directory?

2 Answers   HCL,


Is semaphore still used today?

1 Answers  


What is kali linux used for?

1 Answers  


Why mutex is faster than semaphore?

1 Answers  


Categories