
[root@deep] /#echo 1 > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses
|
编辑/etc/sysctl.conf文件并添加以下行

# Enable bad error message Protection
net.ipv4.icmp_ignore_bogus_error_responses = 1
|
[root@deep] /# /etc/rc.d/init.d/network restart
Setting network parameters [ OK ]
Bringing up interface lo [ OK ]
Bringing up interface eth0 [ OK ]
Bringing up interface eth1 [ OK ]
|