0

私はいつも telnet [IP] [port] を使ってネットワーク接続をチェックしています。ただし、そのポートをリッスンしているものは何もないが、そのポートへのトンネルが開いているため、接続がタイムアウトすることがあります。違いを確認するにはどうすればよいですか。つまり、トンネルが開いていないか、相手側でそのポートをリッスンしていないために telnet がタイムアウトしますか?

4

1 に答える 1

0

おそらくmanページから、tcptracerouteを使用して

   This program attempts to trace the route an IP packet would  follow  to
   some internet host by launching probe packets with a small ttl (time to
   live) then listening for an ICMP "time exceeded" reply from a  gateway.
   We  start our probes with a ttl of one and increase by one until we get
   an ICMP "port unreachable" (or TCP reset)

ファイアウォールに適した max_ttl 値を設定します

于 2013-10-09T13:40:37.803 に答える