請看答案

Type the following command at shell prompt:
# echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all

This instructs the kernel to simply ignore all ping requests (ICMP type 0 messages). To enable ping request type the command:
echo "0" > /proc/sys/net/ipv4/icmp_echo_ignore_all

You can add following line to /etc/sysctl.conf file:
# vi /etc/sysctl.conf
Append following line:
net.ipv4.icmp_echo_ignore_all = 1

所有跟帖: 

更進一步的答案 -code112- 給 code112 發送悄悄話 (160 bytes) () 12/12/2008 postreply 10:49:36

有一個iptable script -code112- 給 code112 發送悄悄話 (10 bytes) () 12/12/2008 postreply 10:51:39

It's only disable the ICMP, you can simply do that on your route -daye- 給 daye 發送悄悄話 (135 bytes) () 12/12/2008 postreply 11:33:32

Please see my second reply above -code112- 給 code112 發送悄悄話 (0 bytes) () 12/12/2008 postreply 13:40:19

請您先登陸,再發跟帖!