Как проверить связь с сервером, на котором заблокирован ICMP

8891
user446633

Я пытаюсь пропинговать сервер, на котором ICMP заблокирован обычным пингом. Это показывает:

Истекло время запроса

Есть ли другой способ проверить это?

4

3 ответа на вопрос

7
boot13

I use Nping, which is packaged with Nmap. It queries a port of your choosing, for example port 80, and if the port is open, it will receive a response. For example:

nping --tcp microsoft.com 
Эти методы дают мне `Avg rtt: 97ms`, в то время как ping стабильны около 200msec. Я не думаю, что это хороший метод для измерения чего-либо с точностью до секунды. NeverEndingQueue 5 лет назад 0
1
Alex Atkinson

That's the idea behind blocking ICMP. You can attempt to identify whether a host is up/down using nmap. http://www.cyberciti.biz/networking/nmap-command-examples-tutorials/

1
Fiasco Labs

If ICMP is blocked, you can't ping the host in the normal way, however, if it is running an exposed tcp service, you can use tcping. It sends a SYN, listens for SYN/ACK response as the ICMP Echo equivalent and measures the time required for the transaction.

Похожие вопросы