10

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?

Jason Aller
  • 2,340
  • 6
  • 23
  • 21
user446633
  • 101
  • 1
  • 1
  • 3

3 Answers3

14

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
boot13
  • 5,819
  • 3
  • 28
  • 42
  • 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. – Tom Raganowicz Oct 22 '18 at 14:07
  • 1
    This is a good replacement for ping. I installed via homebrew ([nping is included in nmap](https://nmap.org/nping)) with `brew install nmap` and then had to use `sudo nping --tcp domain.com` – ow3n Apr 22 '21 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/

EvilKittenLord
  • 3,218
  • 16
  • 14
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.

Fiasco Labs
  • 6,756
  • 1
  • 26
  • 33