5.30. 启用错误消息保护

Version 6.1 only

此选项会在您的网络中提示所有不良错误消息。
              [root@deep] /#echo 1 > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses
              
将以上命令添加到/etc/rc.d/rc.local脚本文件,下次重启系统时您就不必再次输入它们了。

编辑/etc/sysctl.conf文件并添加以下行

Version 6.2 only

              # 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  ]