某主机漏扫后,有高危风险项需要修复:ZooKeeper 未授权访问[原理扫描]
现网zookeeper是kafka自带的,版本号2.8.1 (Commit:839b886f9b732b15)
使用最简单的处理方案,端口加白。
CentOS7.9下,修改/etc/firewalld/zones/public.xml文件,内容为:
Public For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted. 然后systemctl restart firewalld即可。