From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Oct 1 05:30:03 2007 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 2BC5C16A421 for ; Mon, 1 Oct 2007 05:30: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 EBB6F13C481 for ; Mon, 1 Oct 2007 05:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l915U2pB044357 for ; Mon, 1 Oct 2007 05:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l915U21m044353; Mon, 1 Oct 2007 05:30:02 GMT (envelope-from gnats) Resent-Date: Mon, 1 Oct 2007 05:30:02 GMT Resent-Message-Id: <200710010530.l915U21m044353@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Mark D. Foster" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1E7516A41B for ; Mon, 1 Oct 2007 05:23:05 +0000 (UTC) (envelope-from mark@foster.cc) Received: from sccrmhc14.comcast.net (sccrmhc14.comcast.net [63.240.77.84]) by mx1.freebsd.org (Postfix) with ESMTP id 9249213C4B2 for ; Mon, 1 Oct 2007 05:23:05 +0000 (UTC) (envelope-from mark@foster.cc) Received: from fosgate.dyndns.org ([24.17.77.253]) by comcast.net (sccrmhc14) with ESMTP id <2007100105230401400rh9jve>; Mon, 1 Oct 2007 05:23:04 +0000 Received: from localhost (localhost [127.0.0.1]) by fosgate.dyndns.org (Postfix) with ESMTP id 468DB3982B for ; Sun, 30 Sep 2007 22:20:51 -0700 (PDT) Received: from fosgate.dyndns.org ([127.0.0.1]) by localhost (sonar.foster.dmz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rYjDICBm1H1G for ; Sun, 30 Sep 2007 22:20:47 -0700 (PDT) Received: from [192.168.1.9] (monk.foster.dmz [192.168.1.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by fosgate.dyndns.org (Postfix) with ESMTP id 3077539825 for ; Sun, 30 Sep 2007 22:20:47 -0700 (PDT) Message-Id: <47008430.1030808@foster.cc> Date: Sun, 30 Sep 2007 22:22:56 -0700 From: "Mark D. Foster" To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/116778: nmap ping-scan misses some hosts X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Oct 2007 05:30:03 -0000 >Number: 116778 >Category: ports >Synopsis: nmap ping-scan misses some hosts >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 01 05:30:02 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Mark Foster >Release: FreeBSD 5.5-RELEASE-p15 i386 >Organization: >Environment: System: FreeBSD franco.foster.dmz 5.5-RELEASE-p15 FreeBSD 5.5-RELEASE-p15 #23: Thu Aug 2 02:47:53 PDT 2007 root@franco.foster.dmz:/usr/obj/usr/src/sys/FRANCO1 i386 FreeBSD sonar.foster.dmz 6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-p6 #2: Fri Jul 13 02:58:24 PDT 2007 root@sonar.foster.dmz:/usr/obj/usr/src/sys/GENERIC sparc64 >Description: Using nmap to ping-scan a network range gives inconsistent results. Certain hosts that are definitely UP are recognized as down when using a "range". This seems to be specific to FreeBSD as the same version of nmap (4.20) on a linux box correctly sees the hosts as UP. >How-To-Repeat: Hosts 192.168.1.1, .2 and .3 are all UP. nmap -sP -PE 192.168.1.1-3 Result on FreeBSD: (flavors seen above) Starting Nmap 4.20 ( http://insecure.org ) at 2007-09-30 22:10 PDT Host HORTON.foster.dmz (192.168.1.2) appears to be up. MAC Address: 00:B0:D0:47:76:48 (Dell Computer) Nmap finished: 3 IP addresses (1 host up) scanned in 0.887 seconds Result on Linux: Starting Nmap 4.20 ( http://insecure.org ) at 2007-09-30 22:12 PDT Host gw.foster.dmz (192.168.1.1) appears to be up. MAC Address: 00:0F:B5:1F:89:D2 (Netgear) Host HORTON.foster.dmz (192.168.1.2) appears to be up. MAC Address: 00:B0:D0:47:76:48 (Dell Computer) Host franco.foster.dmz (192.168.1.3) appears to be up. MAC Address: 00:B0:D0:7E:6C:7E (Dell Computer) Nmap finished: 3 IP addresses (3 hosts up) scanned in 0.203 seconds The 192.168.1.1 host is not seen be FreeBSD. Same holds true for another host 192.168.1.11. Also, if I run nmap -sP -PE 192.168.1.1 on FreeBSD it DOES see the host as UP which is correct. /tmp root@franco>nmap -sP -PE 192.168.1.1 Starting Nmap 4.20 ( http://insecure.org ) at 2007-09-30 22:20 PDT Host gw.foster.dmz (192.168.1.1) appears to be up. MAC Address: 00:0F:B5:1F:89:D2 (Netgear) Nmap finished: 1 IP address (1 host up) scanned in 0.435 seconds >Fix: Unknown, but I am happy to offer tcpdump or ktrace or any other output if it helps. >Release-Note: >Audit-Trail: >Unformatted: