From owner-freebsd-security@FreeBSD.ORG Wed Feb 8 18:05:33 2006 Return-Path: X-Original-To: freebsd-security@freebsd.org Delivered-To: freebsd-security@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D04D16A422 for ; Wed, 8 Feb 2006 18:05:33 +0000 (GMT) (envelope-from ipfreak@yahoo.com) Received: from web52110.mail.yahoo.com (web52110.mail.yahoo.com [206.190.48.113]) by mx1.FreeBSD.org (Postfix) with SMTP id DAEA943D6E for ; Wed, 8 Feb 2006 18:05:24 +0000 (GMT) (envelope-from ipfreak@yahoo.com) Received: (qmail 57970 invoked by uid 60001); 8 Feb 2006 18:05:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=y8tWoS2TP1aBtfhc//xyi6K5pPHgg+DC3//MAk/QhtiGuJyRX5IbW0q3HaLG9qK7H9wqjmScXl+VBqlhplct/O0iG3++OI2oMHfaYhyPk09tV5PETirHhfPpIaLDL89yxhpCz878MwTI5sWuQnF1XT7oLAE9MdExnflQbiEtxBc= ; Message-ID: <20060208180524.57968.qmail@web52110.mail.yahoo.com> Received: from [70.109.54.68] by web52110.mail.yahoo.com via HTTP; Wed, 08 Feb 2006 10:05:23 PST Date: Wed, 8 Feb 2006 10:05:23 -0800 (PST) From: gahn To: "Arneaud, Tim" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd security Subject: RE: nnamp question X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2006 18:05:33 -0000 Thanks Tim: well, the real interface is rl0...:) sorry for the confusion. the problem is that the nmap seems to have mind of its own and stick with em0: sis# nmap -e rl0 -v -sP 192.168.126.0/23 Starting Nmap 3.95 ( http://www.insecure.org/nmap/ ) at 2006-02-08 12:01 CST getinterfaces: Failed to open ethernet interface (em0) QUITTING! It has 4 interfacres but nmap just sticks with em0. i am lost ... Thanks --- "Arneaud, Tim" wrote: > > nmap -e fx0 -v -sP 192.168.128.0/23 > > -> is a "Ping Scan however, and this does not > require root privilages... > > -sP (Ping Scan) > -v (Increase verbosity level) > -e : Use specified interface > > Error: > > getinterfaces: Failed to open ethernet interface > (el0) QUITTING! > > Which seems to indicate that nmap is being told to > look for an interface > that can't/doesn't exist... > el is an old 3Com ISA card > > You mentioned using ethernet device "fx0" - did you > mean "fxp0", the > Intel Intel EtherExpress Pro/100 style cards? > ...or you may have already discovered this ;) > > It might be worth checking exactly what interfaces > and hardware you do > have on this system... > ...and you could also try running the command > without specifying the > interface directly and rely on the routing table to > sort it out. Nmap > does not require the "-e" flag to run a "Ping Scan". > > nmap -v -sP 192.168.128.0/23 > > Hope this helps! > > Kind Regards, > Tim Arneaud > > > > -----Original Message----- > From: owner-freebsd-security@freebsd.org > [mailto:owner-freebsd-security@freebsd.org] On > Behalf Of Pietro Cerutti > Sent: Sunday, 5 February 2006 9:42 PM > To: gahn > Cc: freebsd security > Subject: Re: nnamp question > > On 2/4/06, gahn wrote: > > Hi: > > Hi, > > > nmap -e fx0 -v -sP 192.168.128.0/23 > > > > Starting Nmap 3.95 ( http://www.insecure.org/nmap/ > ) at 2006-02-04 > > 14:04 CST > > getinterfaces: Failed to open ethernet interface > (el0) QUITTING! > > > > What did I do wrong? > > Are you running nmap as root? If not, you should. > Only root can put > interfaces in promiscuous mode. > > > > > Thanks > > Hope this helps, > regards > > -- > Pietro Cerutti > > > Non lasciar calpestare i TUOI diritti! > Don't let 'em take YOUR rights! > > NO al Trusted Computing! > Say NO to Trusted Computing! > > www.no1984.org > www.againsttcpa.com > _______________________________________________ > freebsd-security@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to > "freebsd-security-unsubscribe@freebsd.org" > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com