How to manage PING replies? [closed]

How can I manage, for example, my Ubuntu mashine so it doesn’t (or does) respond to PING(ICMP ECHO_REQUEST – type 8) requests?

Normally almost all computers in a LAN network responds to ping with an ICMP ECHO_REPLY, but how to turn it off?

How to Manage it? How to manage other types ICMP request?

Answer

/proc/sys/net/ipv4/icmp_echo_ignore_all set to a non zero number will not respond to IPv4 pings, IPv6 doesn’t seem to have the same amount of options.

Other options and values can be found here

Attribution
Source : Link , Question Author : Jonathan Gurebo , Answer Author : NickW

Leave a Comment