Home page logo
/

nmap-dev logo Nmap Development mailing list archives

Small bug in nmap
From: "J.W. Hoogervorst" <J.W.Hoogervorst () uva nl>
Date: Wed, 1 Feb 2006 14:12:26 +0100 (CET)

Hello,

Just in time for version 4.0001 :)

While investigating a problem with nmap scanning hosts on a local network,
I found the error I got ("WARNING:  eth_send of ARP packet returned
4294967295 rather than expected 42", followed by the message the host is
down, where it was not) contained an error :)

Quick fix to scan_engine.cc (including the printing of some extra info):

@@ -2060,7 +2060,7 @@
-    error("WARNING:  eth_send of ARP packet returned %u rather than
expected %d\n", rc, (int) sizeof(frame));
+    error("WARNING:  eth_send of ARP packet returned %i rather than
expected %d (errno=%i)\n", rc, (int) sizeof(frame), errno);

The problem itself turned out to be the particular version of the linux
kernel I was running, giving -EINVAL. This was easily fixed by upgrading
to the latest-and-greatest.

Regards,
Jeroen Hoogervorst



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


  By Date           By Thread  

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