From owner-freebsd-questions@FreeBSD.ORG Tue Oct 5 18:14:55 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAF6C16A4CE for ; Tue, 5 Oct 2004 18:14:55 +0000 (GMT) Received: from gaff.hhhr.ision.net (gaff.hhhr.ision.net [195.180.9.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7791D43D2F for ; Tue, 5 Oct 2004 18:14:54 +0000 (GMT) (envelope-from ohoyer@ohoyer.de) Received: from gaff.hhhr.ision.net (localhost [127.0.0.1]) by gaff.hhhr.ision.net (8.12.11/8.12.11) with ESMTP id i95IExT2040865; Tue, 5 Oct 2004 20:14:59 +0200 (CEST) (envelope-from ohoyer@ohoyer.de) Received: from localhost (ohoyer@localhost)i95IEvQ4040862; Tue, 5 Oct 2004 20:14:58 +0200 (CEST) (envelope-from ohoyer@ohoyer.de) X-Authentication-Warning: gaff.hhhr.ision.net: ohoyer owned process doing -bs Date: Tue, 5 Oct 2004 20:14:57 +0200 (CEST) From: Olaf Hoyer Sender: ohoyer@gaff.hhhr.ision.net To: stan In-Reply-To: <20041005112453.GA31993@teddy.fas.com> Message-ID: <20041005201342.K40852@gaff.hhhr.ision.net> References: <20041005112453.GA31993@teddy.fas.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: Free BSD Questions list Subject: Re: namp usage ? (bug?) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Oct 2004 18:14:56 -0000 On Tue, 5 Oct 2004, stan wrote: > I'm trying to use nmap to check for all hosts that are up on a subnet. I'm > using this syntax: > > > nmap -sP 170.85.113.0/25 > > Bit, I'm getting the follwing error messge; > > Starting nmap 3.50 ( http://www.insecure.org/nmap/ ) at 2004-10-05 07:22 EDT > sendto in send_ip_raw: sendto(4, packet, 28, 0, 170.85.113.0, 16) => Can't > assign requested addres > > Here's the approriate NIC config: > > fxp0: flags=8843 mtu 1500 > inet 170.85.113.56 netmask 0xffffff80 broadcast 170.85.113.127 > ether 00:01:fa:ff:fa:bc > media: Ethernet autoselect (10baseT/UTP) status: active > > Am I using this incorectly? Yes I'm loged in as root, when I try this. I't > on FreeBSD STABLE built a couple of weeks ago. Well, I had this with nmap 3.50, too. Upgrading to a later version of nmap solved that problem. I am running nmap 3.70. HTH Olaf -- Olaf Hoyer ohoyer@ohoyer.de Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese)