在工作中,基础架构团队正在推出安装了RHEL7的新虚拟机作为基础操作系统。 这个特殊的图像来自Netcat的nmap-ncat版本,没有安装NMap。 我们不能在机器上安装任何东西。 以前,我们使用GNU Netcat,它具有-z选项来扫描远程主机/端口以检查它是否打开。 像这样的东西: nc -z -v -w 3 remote.host.name 1234 我怎么能达到同样的检查与新的ncat ,没有-z选项的系统,我不能安装nmap ?
最新的fedora有firewalld作为新的防火墙应用程序。 我喜欢旧的iptables服务。 我想让他们回来,但不知道如何做到这一点。 我努力了 : systemctl disable firewalld.service systemctl stop firewalld.service systemctl enable iptables.service systemctl enable ip6tables.service systemctl start iptables.service systemctl start ip6tables.service 但它不工作! 没有find任何帮助维基或谷歌。 禁用firewalld工作好,但是当我试图启用iptables.service我得到: systemctl enable iptables.service Failed to issue method call: No such file or directory