免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
1234
最近访问板块 发新帖
楼主: dnext
打印 上一主题 下一主题

怎么设置禁止别人PING [复制链接]

论坛徽章:
0
31 [报告]
发表于 2003-04-07 13:46 |只看该作者

怎么设置禁止别人PING

ipfw add 100 deny icmp from any to any icmptypes 0
ipfw add 200 deny icmp from any to any icmptypes 8

这二个可以输入。就像命令,没有提示错误。

重启就禁PING。

晕头转向

论坛徽章:
0
32 [报告]
发表于 2003-04-07 13:52 |只看该作者

怎么设置禁止别人PING

原帖由 "dnext" 发表:
ipfw add 100 deny icmp from any to any icmptypes 0
ipfw add 200 deny icmp from any to any icmptypes 8
这二个可以输入。就像命令,没有提示错误。
重启就禁PING。
晕头转向

内核以模块的形式加载了ipfw?
ipf就可以以模块形式加载

论坛徽章:
0
33 [报告]
发表于 2003-04-07 16:32 |只看该作者

怎么设置禁止别人PING

原帖由 "i2era"][quote:a0456219d0="dnext" 发表:
ipfw add 100 deny icmp from any to any icmptypes 0
ipfw add 200 deny icmp from any to any icmptypes 8
这二个可以输入。就像命令,没有提示错误。
重启就禁PING。
晕头转向

内核以模块的形式加载了ipfw?
ipf就可以以模块形式加载[/quote]5.0 就可以吧?!4.7 好象不可以的.

论坛徽章:
0
34 [报告]
发表于 2003-04-07 17:19 |只看该作者

怎么设置禁止别人PING

我的是FREEBSD4。7最小ISO安装的。

有没有可能我是二张网卡,一个外网IP,一个内网IP的原因?
ipfw -a list 显示还是这样

ipfw:getsockop(IP_FW_GET): Protocol not available

论坛徽章:
0
35 [报告]
发表于 2003-04-07 18:26 |只看该作者

怎么设置禁止别人PING

原帖由 "dnext" 发表:
我的是FREEBSD4。7最小ISO安装的。

有没有可能我是二张网卡,一个外网IP,一个内网IP的原因?
ipfw -a list 显示还是这样

ipfw:getsockop(IP_FW_GET): Protocol not available
4.7 不可以以模块来load ipfw 的.

论坛徽章:
0
36 [报告]
发表于 2003-04-07 18:34 |只看该作者

怎么设置禁止别人PING

[quote]原帖由 "ihweb"]ド系暮艹な奔涿患?病W罱?闫鹄戳寺穑縖/quote 发表:

No Ihweb,

I have been under a lot of pressure from both of my instructor and my family. ANd
you know this is my second year as a master student. So, I must concentrate on my
Master thesis. Not much time left for me to visit here frequently.

论坛徽章:
0
37 [报告]
发表于 2003-05-09 11:37 |只看该作者

怎么设置禁止别人PING

caihongxing# ipfw add 100 deny icmp from any to any icmptypes 0
ipfw: getsockopt(IP_FW_ADD): Protocol not available
caihongxing# ipfw add 100 deny icmp from any to any icmptypes 8
ipfw: getsockopt(IP_FW_ADD): Protocol not available


这是为什么?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP