是否可以找到防火墙(iptables)或tcpwrapper是否在不访问远程服务器的情况下阻止了连接?(也许与tcpdump?)
IP网络层不知道atcpwrapper
是否阻止了连接。即使tcpwrapper
阻塞,网络端口也将显示为“打开”。sshd
通过hosts_access被阻止的示例:
$ nc -w1 -v -z host.example.org 1234 nc:host.example.org(192.168.0.130)1234 [1234] open $ ssh -p 1234 host.example.org ssh_exchange_identification:读取:对等重置连接
另一方面,基于IP的防火墙将(在大多数情况下)在网络级别阻止连接,并且该端口将显示为“已关闭”。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句