LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: 777

怎么才不会被ping到?

[复制链接]
 楼主| 发表于 2003-9-7 22:28:26 | 显示全部楼层
最初由 rianren 发表
以前用linux时好像看到一个不响应ping的命令, 好长时间也不记得了! 不过应该也可以用在FreeBSD下吧!
echo "echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all">>/etc/rc.d/rc.local
 楼主| 发表于 2003-9-8 11:20:30 | 显示全部楼层
请问系统启动时是先读取/etc/rc.conf还是 /etc/defaults/rc.conf的内容?

要是两个矛盾,要哪个文件的配置?
发表于 2003-9-8 12:33:23 | 显示全部楼层
国外一个回答:

Find out what a packet filter is
Decide on which packet filter you want to use
Install a packet filter
Learn how to use the packet filter
Configure packet filter to reject incoming ICMP packets directed to the box itself

Be sure to allow ICMP type 3 packets, otherwise you will break certain connections. Search the forums for discussions of the various ICMP types and which ones to allow/block.

http://www.freebsdforums.org/for ... &threadid=13935
发表于 2003-9-8 12:39:49 | 显示全部楼层
最初由 777 发表
请问系统启动时是先读取/etc/rc.conf还是 /etc/defaults/rc.conf的内容?

要是两个矛盾,要哪个文件的配置?


如果需要配置请配置/etc/rc.conf,千万不要修改/etc/defaults/rc.conf文件,原来看见的那篇文章讲得非常清楚,但还是没找到,唉,
发表于 2003-9-8 12:58:55 | 显示全部楼层

回复: 怎么才不会被ping到?

最初由 777 发表
还有怎么才能对广播没有反应?

谢谢!

请看看下面的链接,应该有你需要的 ;)
http://www.linuxsir.cn/postnuke/ ... order=0&thold=0
 楼主| 发表于 2003-9-8 18:02:05 | 显示全部楼层

回复: 回复: 怎么才不会被ping到?

最初由 javalee 发表
请看看下面的链接,应该有你需要的 ;)
http://www.linuxsir.cn/postnuke/ ... order=0&thold=0

谢谢版主 ,好文章~~~
 楼主| 发表于 2003-9-8 18:03:37 | 显示全部楼层
最初由 rianren 发表
国外一个回答:

Find out what a packet filter is
Decide on which packet filter you want to use
Install a packet filter
Learn how to use the packet filter
Configure packet filter to reject incoming ICMP packets directed to the box itself

Be sure to allow ICMP type 3 packets, otherwise you will break certain connections. Search the forums for discussions of the various ICMP types and which ones to allow/block.

http://www.freebsdforums.org/for ... &threadid=13935

谢谢 rianren  请问thanks for advance   是什么意思?
发表于 2003-9-8 21:39:46 | 显示全部楼层
我只看到过 thanks in advance , 而且我的英语很差, 不太清楚 thanks for advance.
 楼主| 发表于 2003-9-8 22:03:17 | 显示全部楼层
最初由 rainren 发表
我只看到过 thanks in advance , 而且我的英语很差, 不太清楚 thanks for advance.


是 thanks in advance  我记错了

我英语更差  呵呵~~~~~~
发表于 2003-9-8 22:06:17 | 显示全部楼层
呵呵,我们都要好好学习!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表