Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Check latency if server denies ping requests

Tags:

ping

latency

the server I need to check the latency of is denying PING requests, is there another way to check my latency to the server? Thanks in advance.

like image 644
Jan Červenka Avatar asked Feb 10 '13 10:02

Jan Červenka


People also ask

How do I check my network latency without ping?

Measure network performance with Traceroute As an alternative to ping, you can check network latency with traceroute. This approach to testing latency is also available on all operating systems.

Can you ping if ICMP is blocked?

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.

What happens if ICMP is blocked?

If these ICMP messages are blocked, the destination system continuously requests undelivered packets and the source system continues to resend them infinitely but to no avail, since they are too large to pass through the complete path from the source to the destination.


2 Answers

Use a ping based on TCP.

If you have access to a Windows box, use http://technet.microsoft.com/en-us/sysinternals/jj729731.aspx

Download the zip, unpack. From CMD prompt cd to unpacked folder, then run with -t flag like this:

psping.exe -t www.anywebsite.com:80

psping to remote host with open TCP port

Please note: this assumes you have a web site running on remote host (port 80 in example above)

like image 168
Charlie Dalsass Avatar answered Sep 28 '22 03:09

Charlie Dalsass


Some people recommend hping which can use other protocols like TCP (for when ICMP is denied).

Note that I haven't tried it so I would be curious to know your experience if you do.

like image 25
Traveler Avatar answered Sep 28 '22 03:09

Traveler