Vitux published a tutorial about how to block or unblock PING requests in Ubuntu.
How to block or unblock PING requests in Ubuntu
To test the network quality, the PING facility is used and the hackers quite often use it to spoof the host and destination servers to perform flooding attacks.
How to block or unblock PING requests in Ubuntu