Nmap Development mailing list archives

Re: using --host-timeout with multiple hosts


From: David Fifield <david () bamsoftware com>
Date: Tue, 6 Nov 2012 09:00:46 -0800

On Tue, Nov 06, 2012 at 05:51:21AM -0500, Ryan Giobbi wrote:
When I use
nmap -sT <IP>* *--host-timeout 2m
the scan works and finishes

However, when I scan more IPs
nmap -sT -iL <IP_list>* *--host-timeout 2m
the scan times out (for the same IP) even though it was run from the same
host as the first.

Is this because nmap takes a longer time to scan some hosts when multiple
addresses are scanned?

That's probably right. If scanning one host takes 1:30, and scanning two
takes 2:10 (assuming they finish at the same time), then both will time
out with a 2m timeout. We should perhaps prorate the passage of time
according to the number of hosts being scanned, but that is different
than what --host-timeout means now.

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


Current thread: