论坛风格切换切换到宽版
  • 615阅读
  • 2回复

[问题求助]怎样屏蔽这些信息 [复制链接]

上一主题 下一主题
离线donghai.
 
发帖
2040
C币
-60952
威望
331
贡献值
1
银元
-2
铜钱
4394
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
我的服务器接在网上,屏幕上总是收到这样的信息:.              乙肝
1.00.2.2.52.125 sent an invalid ICMP type 11, code 0.
error .to. a broadcast: 100.84.255.255 on eth1    外汇


我怎么做才能屏蔽这样的信息,是iptables吗,应怎么写规则?我对i.ptables不熟悉.。          婚庆

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
离线njbenben.
发帖
1976
C币
-198903
威望
358
贡献值
1
银元
-2
铜钱
4361
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
/etc/syslog.conf里屏蔽???

离线kaerdd.
发帖
2017
C币
-549385
威望
385
贡献值
3
银元
0
铜钱
4377
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
找到解决办法了
I've also seen this on 2.4.21-4.EL. The problem is that you have
some device on your network that incorrectly sends a ICMP time
exceeded response to broadcasts where ttl == 0. The linux kernel
reports such bogus messages in the system log by default.
The code that actually does the logging was updated to be more
verbose sometime between 2.4.19 and 2.4.21 I think, but unfortunately
the update introduced a bug so that the log message incorrectly list
the destination address as the source address of the bogus message !
So you cannot find the bad device with the information in the log
message. You have to use a network packet sniffer instead.
To get the correct address of the bad packet the kernel must be fixed
(see included mail below)
You can also try to find the bad device with send out the packages
It is also possible to turnoff logging of bad ICMP packages in the
linux kernel if you just think the messages are annoying.

Do:
# /sbin/sysctl –w net.ipv4.icmp_ignore_bogus_error_responses=1

or put it in /etc/sysctl.conf if you want it if permanently.

[ 本帖最后由 小渔儿 于 2006-7-8 10:18 编辑 ]
快速回复
限100 字节
如果您提交过一次失败了,可以用”恢复数据”来恢复帖子内容
 
上一个 下一个