Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Re: Measuring Latency with nmap ping / discovery scan
From: Daniel Miller <bonsaiviking () gmail com>
Date: Wed, 16 Jul 2014 07:03:54 -0500

Eyal,

You have given the -Pn option, which means "skip host discovery." Your scan
is not sending any packets to the target at all. You probably instead want:
nmap -sn -n <ip_address>

Also, Nmap may not be the best tool for this job, since it will report the
lowest latency based on a very small number of packets (4 for a default
privileged host discovery). In most cases, you should use something like
ping, which will send many repeated packets and report best/average/worst
latencies.

Dan


On Wed, Jul 16, 2014 at 6:27 AM, Eyal Raab <eyal.raab () gmail com> wrote:

Hi,

I want to test the latency to a given host by doing a discovery scan (with
minimal intrusion).
I issue the following command:

nmap -sn -Pn <ip_address>


And the output I'm getting is this:


Starting Nmap 6.46 ( http://nmap.org ) at 2014-07-16 14:12 IDT

Nmap scan report for <ip_address>

Host is up.

Nmap done: 1 IP address (1 host up) scanned in 0.04 seconds


However, with this sort of scan I don't see the latency output which
I usually see.


Can someone help me with the following questions:


   1. Are there certain conditions that must exist for the latency output
   to be displayed (assuming the host is up)?
   2. Can I force the latency to be displayed?
   3. Is there an NSE script that shows the latency (or something similar I
   can adapt)?

Any help in this direction will be greatly appreciated.

Thanks,
Eyal.
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]