linux禁止ping的方法

作者: tioced 2014-03-20 15:39:26
linux禁止ping的方法

在/etc/rc.d/rc.local文件中增加如下一行:

echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all

相关资讯