Nmap Development mailing list archives

Re: broken --initial-rtt-timeout?


From: majek04 <nmap () forest one pl>
Date: Tue, 25 Jul 2006 09:18:17 +0200

Martin Mačok wrote:
On Tue, Jul 25, 2006 at 08:59:02AM +0200, majek04 wrote:

# nmap localhost --initial-rtt-timeout=100ms --max-rtt-timeout=100ms -d

Use just "100" instead of "100ms".

The same result.

It seems that this timeouts are stored in milliseconds,
but are multiplied by 1000 before used.

timing.cc:initialize_timeout_info()
   to->timeout = o.initialRttTimeout() * 1000;

I don't know, maybe internal timeouts should be in microseconds.
But then 'timeout' should be something more than 'int'.

MM.


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


Current thread: