Nmap Development mailing list archives

Re: Packet rate logging and division by zero


From: jah <jah () zadkiel plus com>
Date: Wed, 17 Dec 2008 02:17:43 +0000

I was incorrect to say "before any packets are sent" because it happens
after a single packet has been sent :/
I notice too that the nmap-perf build seems to have improved performance
such that this division by zero can happen at the end of a scan too:

nmap -sT -p445 -d4 192.168.1.15
...
CONN (0.5160s) TCP localhost > 192.168.1.15:445 => Unknown error
...
Current sending rates: 0.00 packets / s.
Overall sending rates: 1.#J packets / s.
Receive rate for 192.168.1.15: 0.0000  max 0.0000  last_drop 0.0000
...
Moving 192.168.1.15 to completed hosts list with 0 outstanding probes.
Completed Connect Scan at 01:49, 0.00s elapsed (1 total ports)
Overall sending rates: *1.#J* packets / s.
Host 192.168.1.15 appears to be up ... good.
Scanned at 2008-12-17 01:49:23 GMT Standard Time for 0s
Interesting ports on 192.168.1.15:
PORT    STATE SERVICE      REASON
445/tcp open  microsoft-ds syn-ack
Final times for host: srtt: 0 rttvar: 5000  to: 100000

Read from U:\dev\nmap\proj\r11350_perf\mswin32\nmap-4.76: nmap-services.
Nmap done: 1 IP address (1 host up) scanned in 0.52 seconds

Wow!  I haven't been able to reproduce that in 50 retries though.

jah

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


Current thread: