Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2008 22:40:02 GMT
From:      "Mark D. Foster" <mark@foster.cc>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/116778: security/nmap ping-scan misses some hosts
Message-ID:  <200801292240.m0TMe2ho093551@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/116778; it has been noted by GNATS.

From: "Mark D. Foster" <mark@foster.cc>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/116778: security/nmap ping-scan misses some hosts
Date: Tue, 29 Jan 2008 14:11:09 -0800

 Using the latest version. -sP with range works fine as user... but not
 so with root.  I'm sure this doesn't help explain the other problem, but
 as root I only see 3 hosts, as user I see 5.
 
 /tmp/nmap-4.22SOC8 mdf@franco>./nmap -sP 192.168.1.1-11
 
 Starting Nmap 4.22SOC8 ( http://insecure.org ) at 2007-11-03 22:13 PDT
 Warning: File ./nmap-services exists, but Nmap is using
 /usr/local/share/nmap/nmap-services for security and consistency
 reasons.  set NMAPDIR=. to give priority to files in your local
 directory (may affect the other data files too).
 Host gw.foster.dmz (192.168.1.1) appears to be up.
 Host franco.foster.dmz (192.168.1.3) appears to be up.
 Host turing.foster.dmz (192.168.1.4) appears to be up.
 Host monk.foster.dmz (192.168.1.9) appears to be up.
 Host sonar.foster.dmz (192.168.1.11) appears to be up.
 Nmap done: 11 IP addresses (5 hosts up) scanned in 2.792 seconds
 /tmp/nmap-4.22SOC8 mdf@franco>sudo !!
 sudo ./nmap -sP 192.168.1.1-11
 
 Starting Nmap 4.22SOC8 ( http://insecure.org ) at 2007-11-03 22:13 PDT
 Warning: File ./nmap-services exists, but Nmap is using
 /usr/local/share/nmap/nmap-services for security and consistency
 reasons.  set NMAPDIR=. to give priority to files in your local
 directory (may affect the other data files too).
 Host gw.foster.dmz (192.168.1.1) appears to be up.
 MAC Address: 00:0F:B5:1F:89:D2 (Netgear)
 Host franco.foster.dmz (192.168.1.3) appears to be up.
 Host monk.foster.dmz (192.168.1.9) appears to be up.
 MAC Address: 00:09:6B:A0:96:17 (IBM)
 Nmap done: 11 IP addresses (3 hosts up) scanned in 0.762 seconds
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801292240.m0TMe2ho093551>