Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Nmap Development: Re: Execution problem : getinterfaces: Failed to open ethernet in terface (fxp9)

Re: Execution problem : getinterfaces: Failed to open ethernet in terface (fxp9)

From: Fyodor <fyodor_at_insecure.org>
Date: Sun, 8 Jan 2006 17:42:30 -0800

On Sat, Jan 07, 2006 at 11:49:48PM -0000, Dom Devitto wrote:
> BINGO, got it:
>
> "getinterfaces: Failed to open ethernet interface"
>
> really means - for 'clean' OpenBSD 3.8 at least:
>
> "You need more BPF devices, rebuild your kernel, and remake /dev, possibly
> changing MAKEDEV"
>
> Alternatively, using "ifconfig <interface> delete" to delete some interfaces
> seems to work too.

Good find. I have added a link to your message to the error message:

--- tcpip.cc (revision 3017)
+++ tcpip.cc (working copy)
@@ -2296,7 +2307,7 @@
        eth_addr_t ethaddr;
 
        if (!ethsd)
- fatal("%s: Failed to open ethernet interface (%s)", __FUNCTION__,
+ fatal("%s: Failed to open ethernet interface (%s). A possible cause on BSD operating systems is running out of BPF devices (see http://seclists.org/lists/nmap-dev/2006/Jan-Mar/0014.html).", __FUNCTION__,
                mydevs[numifaces].devname);
        if (eth_get(ethsd, &ethaddr) != 0)
          fatal("%s: Failed to obtain MAC address for ethernet interface (%s)",

Cheers,
-F

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Received on Jan 08 2006

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos