centos禁止ping

一种方法是修改系统文件 直接修改/proc/sys/net/ipv4/icmp_echo_ignore_all...