From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jan 29 22:40:03 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1343E16A468 for ; Tue, 29 Jan 2008 22:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 012F813C461 for ; Tue, 29 Jan 2008 22:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m0TMe2aW093552 for ; Tue, 29 Jan 2008 22:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m0TMe2ho093551; Tue, 29 Jan 2008 22:40:02 GMT (envelope-from gnats) Date: Tue, 29 Jan 2008 22:40:02 GMT Message-Id: <200801292240.m0TMe2ho093551@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: "Mark D. Foster" Cc: Subject: Re: ports/116778: security/nmap ping-scan misses some hosts X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Mark D. Foster" List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jan 2008 22:40:03 -0000 The following reply was made to PR ports/116778; it has been noted by GNATS. From: "Mark D. Foster" 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