Nmap Development mailing list archives

Re: Error when running nmap -sP on internal network


From: Fyodor <fyodor () insecure org>
Date: Fri, 6 Mar 2009 20:58:15 -0800

On Fri, Mar 06, 2009 at 08:38:53PM -0800, Fyodor wrote:
On Thu, Mar 05, 2009 at 12:52:15PM -0600, Nelson wrote:
nevermind... make clean and distclean fixed the issue

This makes me wonder if the Nmap (or dependencies such as nbase,
nsock, etc.) Makefile dependency tracking is working properly.  Has
anyone else been noticing this problem (where you have to do make

Heh, minutes after writing this email I rebuilt my Nmap and tried a
command:

flog/home/fyodor/nmap#./nmap -p ssh scanme.nmap.org

Starting Nmap 4.85BETA3 ( http://nmap.org ) at 2009-03-06 20:56 PST
nmap: nsock_connect.c:292: nsock_connect_udp: Assertion `nsi->state == NSIOD_STATE_INITIAL || nsi->state == 
NSIOD_STATE_UNKNOWN' failed.
Abort

Then I did a 'make clean' in the nsock/src directory.  Then I retried
the Nmap make, reran Nmap, and it worked perfectly.  So I suspect the
problem is that the nsock Makefile isn't doing proper dependency
checking.  I'll add a note to docs/TODO.

Cheers,.
-F


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


Current thread: