9

I'm trying to ping a server which has ICMP blocked with normal ping. It's showing:

Request timed out

Is there any other method to ping it?

3 Answers 3

13

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
2
  • That methods gives me Avg rtt: 97ms whilst pings are stable around 200msec. I don't think this is a good method for measuring anything with sub-second accuracy. Oct 22, 2018 at 14:07
  • 1
    This is a good replacement for ping. I installed via homebrew (nping is included in nmap) with brew install nmap and then had to use sudo nping --tcp domain.com
    – ow3n
    Apr 22, 2021 at 13:40
1

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

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.