Test Ping

A ping test is used to determine the connectivity and latency of Internet connected hosts. The online Ping Test uses the nping tool from the Nmap project.


TTL in the Ping Response

Here is a bit of useful information that you can impress your friends with... in a Ping response there is a TTL or Time to Live value. These come from the system that you are sending your ICMP request packets to and can be used to perform a limited operating system detection check.

The starting TTL varies depending on the operating system. Generally Linux, Windows and Cisco routers have differing values. Of course there are many other possible values and devices, however this can be a quick way to determine what the device is that is responding to your Ping request. This can mean that gateway or NAT devices such as firewalls and routers may be the one responding to the Ping. For example; you could ping a Microsoft IIS web server, however if there is a firewall or load balancer in front of it with a *nix based operating system you will receive a TTL of 64 rather than the expected 128. Your actual result will be lower than the listed value as the TTL will decrement on each hop along the path.

Common Operating System TTL

  • 64 Linux or *nix based operating system
  • 128 Microsoft Windows (from Windows XP onwards)
  • 254 Cisco Network Router

About the Test Ping Tool

Ping is a network troubleshooting tool that displays the response time between two Internet (or IP) addresses. Ping tools are installed by default in most operating systems. It does not matter if you are using Solaris, Windows, FreeBSD or Ubuntu Linux; ping is ubiquitous. A ping uses a type of packet known as ICMP, commonly known as ICMP request and ICMP reply.

No response from Ping

Firewalls and routers can be configured to block ICMP request and response so you will sometimes find a system does not respond to ping even though the system is up and running. Network Firewalls, such as commercial Cisco and Checkpoint products can do this as can local firewalls such as your local Windows Firewall or a local Linux firewall using IP Tables.

What methods are used to determine the response?

Ubuntu Linux Tool
The default ping tool that comes with Ubuntu Linux is used, and the results are parsed and displayed in the table.

Number of ICMP Packets
Five packets are sent from our server in Newark (USA), and our system will then determine how long it takes to get a response from your selected Target IP address.

Is this dangerous?
Ping is a very common tool that is used everywhere, there is nothing dangerous about an ICMP packet; so you are free to try and ping different systems to determine if they are running and how far away they are from our system. Note that it is possible to use ICMP for a denial of service attack; however this requires sending many more packets than the 5 that the tool here does.

Ping API

Need even faster access to the online Ping tool than the form above? Try our easy to use API you are limited to a simple 50 lookups a day and there is no API key required.

http://api.hackertarget.com/nping/?q=8.8.8.8

It is pretty straight forward, use a web client of some kind such as curl, firefox, python or php and hit that address, you will see the Ping results as a simple text response to your HTTP query. Of course change the 8.8.8.8 that is the Google public DNS server to an IP or hostname of your chosing.