Subject: Re: [vserver] Using nmap
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Fri, 19 Jun 2009 13:14:57 +0200

On Thu, Jun 18, 2009 at 02:35:35PM -0500, John Alberts wrote:
> I'm having trouble using nmap in a centos 5.3 guest running on a
> centos 5.3 host.

> When I run nmap with pretty much any options, such as: nmap -v -sP x.x.x.x

> I get the following message:
> Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2009-06-18 14:34 CDT
> dnet: Failed to open device eth0
> QUITTING!

> Does anyone have any idea what I need to do to get nmap working?

nmap forges packets to test for specific corner cases
at a very low level (unless you restrict it to tcp/udp
probing or ping tests), so that is something which 
requires raw net access or a virtual network stack

HTH,
Herbert

> Thanks
> 
> -- 
> John Alberts