WARNING: AllowZoneDrifting is enabled. This is considered an insecure configuration option. I... it

编程入门 行业动态 更新时间:2024-10-08 04:27:42

WARNING: AllowZoneDrifting is <a href=https://www.elefans.com/category/jswz/34/1715671.html style=enabled. This is considered an insecure configuration option. I... it"/>

WARNING: AllowZoneDrifting is enabled. This is considered an insecure configuration option. I... it

查看防火墙状态时,日志中有警告: WARNING: AllowZoneDrifting is enabled. This is considered an insecure configuration option. I... it now. 

 解决:

Step1:在/etc/firewalld/firewalld.conf文件中将AllowZoneDrifting的配置项值改为no

 Step2:重启防火墙

systemctl restart firewalld

Step3:再次查看防火墙状态,日志中的警告没了 

 说明:

在 firewalld 中添加了一个配置参数来禁用区域偏移

在以前的版本中,firewalld 服务包含一个未记录的行为,称为"zone drifting"。RHEL 7.8 删除了此行为,因为它可能会对安全造成负面影响。因此,在使用这个行为配置 catch-all 或 fallback zone 的主机上,firewalld 会拒绝之前允许的连接。在这个版本中,重新添加了区 drifting 功能,但作为一个可配置的功能。现在,用户可以决定使用区 drifting 功能,也可以禁用它并使用防火墙进行安全设置。

默认情况下,在 RHEL 7.9 中,/etc/firewalld/firewalld.conf 文件中的新 AllowZoneDrifting 参数设置为 yes。请注意,如果启用了该参数,firewalld 日志:

WARNING: AllowZoneDrifting is enabled. This is considered an insecure configuration option. It will be removed in a future release. Please consider disabling it now.

更多推荐

WARNING: AllowZoneDrifting is enabled. This is considered an insecure configurat

本文发布于:2024-02-14 13:08:47,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1763630.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:enabled   AllowZoneDrifting   WARNING   considered   option

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!