How do you disable ping to Linux server? Here is the quick steps:
To disable ping:
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_allTo enable ping:
echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all
That's all..!
Sharing Knowledge | System Admin Articles
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_allTo enable ping:
echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_all
# chdev -l sys0 -a max_logname=9
sys0 changed
# lsattr -El sys0 -a max_logname
max_logname 9 Maximum login name length at boot time True
# getconf LOGIN_NAME_MAX 21