Subject: running out of BPF devices
To: None <netbsd-users@netbsd.org>
From: Petar Bogdanovic <p+netbsd@2005.smokva.net>
List: netbsd-users
Date: 04/13/2006 11:41:07
Hi!

I recently updated to nmap 4.01 and have since then the following problem:

**********************************************************
Starting Nmap 4.01 ( http://www.insecure.org/nmap/ )
getinterfaces: Failed to open ethernet interface (fxp0). 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).
QUITTING!
**********************************************************

..so I raised the number of bpf's from 8 to 16 and recompiled the 
kernel. However, I don't know what to do exactly with MAKEDEV. The 
bpf-section of MAKEDEV looks like this:

**********************************************************
bpf)
         mkdev bpf       c 23 0
         lndev bpf bpf0
         ;;
**********************************************************

Should I modify this, or is that irrelevant?

That's a i386 NetBSD 3.0 RC1.


Thank you very much,

Petar