Nmap Development mailing list archives

Re: nmap errors on *BSDs (noted on NetBSD and MacOSX, so far) (traceroute)


From: David Fifield <david () bamsoftware com>
Date: Tue, 23 Mar 2010 11:30:49 -0600

On Tue, Mar 23, 2010 at 06:19:34PM +0100, Fredrik Pettai wrote:
On Mar 23, 2010, at 5:57 PM, David Fifield wrote:
On Tue, Mar 23, 2010 at 05:28:29PM +0100, Fredrik Pettai wrote:
I've noted two problems that has surfaced in between the release of
nmap 5.00 (2009-07-15) -> 5.10BETA1 (2009-11-23).

First one, traceroute doesn't work any more on *BSD system. I've
verified this on NetBSD, Mac OS X (I haven't verified OpenBSD, but
this probably broken there as well). FreeBSD status is unknown.

Thanks for taking the time to report this. Please post the output
that you see. Make sure to run Nmap with the -d option to get
debugging output. I tested just now and traceroute works for me on OS
X (with  the latest SVN version; I didn't test 5.10BETA1).

I haven't tested the SVN version but 5.21 still fails both for NetBSD  
and MacOSX (Leopard).
I started with 5.21 first on both platforms and backed back as long as I 
could towards 5.00 where the problems wheren't present.
(I used the released tarballs, hence I noted that it was present in  
5.10BETA1).

Here is debug output from a NetBSD host:

-bash-4.0$ nmap -d --traceroute ping.sunet.se

Starting Nmap 5.21 ( http://nmap.org ) at 2010-03-23 18:05 CET
Warning: Traceroute does not support idle or connect scan, disabling...
PORTS: Using top 1000 ports found open (TCP:1000, UDP:0, SCTP:0)

The answer here is the line "Warning: Traceroute does not support idle
or connect scan, disabling...". Traceroute needs to be run as root. This
has surprised me more than once too. Maybe we should treat this as a
fatal error, just like when someone asks for -O as a non-root user?

$ nmap -O localhost
TCP/IP fingerprinting (for OS scan) requires root privileges.
QUITTING!

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


Current thread: