It is better to disable ping on your linux servers which will eventually lessen the visibility
of your server. Which also prevents hacking using certain scripts and another optional
thing is to specify a different port range for ssh rather than default 22, it is always better
to specify higher ports.
Wikipedia on “PING” :
ping is a computer network tool used
to test whether a particular host is reachable across an IP network.
It works by sending ICMP “echo request” packets to the target host and
listening for ICMP “echo response” replies. ping estimates the
round-trip time, generally in milliseconds, and records any packet
loss, and prints a statistical summary when finished.
The word
ping is also frequently used as a verb or noun, where it can refer
directly to the round-trip time, the act of running a ping program or
measuring the round-trip time.
Command to disable ping :
echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all
Coomand to enable ping :
echo 0 >/proc/sys/net/ipv4/icmp_echo_ignore_all
1 Trackback(s)