在cisco设备上你可以打开和关闭它,必须有一个原因.在他们的文档中,它只是说关闭它应该是为了提高安全性,因为它更难获取有关您的网络的信息?这就是cisco文档所说的内容.我需要实现在我公司的交换机上打开和关闭此功能的能力,以便我了解它.无论为什么我仍然必须这样做,但我想知道为什么要这样做或不给他人一个明智的答案.
当我想关闭ICMP重定向时,我这样做:
echo 0 > /proc/sys/net/ipv4/conf/all/accept_redirects
不可达的东西有类似的东西吗?
另一个线程上的用户这样做:
iptables -A OUTPUT -p icmp --icmp-type destination-unreachable -j DROP
这是一个好方法,然后我可以通过停止这种下降再次打开它?
我应该告诉别人他们不需要这个功能吗?
编辑:
在线我看到了这个:
An attacker could gather information’s about your network when scanning it,like unused IP’s and networks. When working with (interface-) Access-Lists,a deny statement triggers an ICMP Type 3 Code 9/10 message (Network/Host is Administratively Prohibited). When disabling ICMP unreachables on the interface where the ACL is applied,the deny statement acts like a ‘drop’ and does not reply.
解决方法
At its core ICMP was designed as the debugging,troubleshooting,and
error reporting mechanism for IP. This makes it insanely valuable so a
lot of thought needs to into shutting it down. It would be a bit like
tacking >/dev/null 2>&1 to the end of all your cron entries.
Source Quench / Redirect几乎已过时,已从现代网络设备中删除. IPv6要求ICMP完全运行.
底线:除非你完全理解其含义,否则不要阻止任何事情.如果我给你一个建议,那就是阻止你的外部防火墙中的icmp echo,并让其他所有内容保持打开状态.但这只是我的观点.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。