Nmap Development mailing list archives
Re: Error when running nmap -sP on internal network
From: Daniel Roethlisberger <daniel () roe ch>
Date: Sun, 8 Mar 2009 20:44:07 +0100
Fyodor <fyodor () insecure org> 2009-03-06:
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 issueThis 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 makeHeh, 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.
FWIW, one possible cause of such effects can be Subversion's use-commit-times option (meaning svn will set the mtime to the time of the last commit). When doing an svn update shortly after a build, the mtime of source files may get set to a time older than the object files from the last build, confusing make's dependency tracking. -- Daniel Roethlisberger http://daniel.roe.ch/ _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- Error when running nmap -sP on internal network Nelson (Mar 04)
- Re: Error when running nmap -sP on internal network Nelson (Mar 05)
- Re: Error when running nmap -sP on internal network Nelson (Mar 05)
- Re: Error when running nmap -sP on internal network Fyodor (Mar 06)
- Re: Error when running nmap -sP on internal network Fyodor (Mar 06)
- Re: Error when running nmap -sP on internal network Daniel Roethlisberger (Mar 08)
- Re: Error when running nmap -sP on internal network Nelson (Mar 05)
- Re: Error when running nmap -sP on internal network Nelson (Mar 05)