Subject: Re: running out of BPF devices
To: Petar Bogdanovic <p+netbsd@2005.smokva.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 04/16/2006 15:51:25
On Thu, Apr 13, 2006 at 11:41:07AM +0200, Petar Bogdanovic wrote:
> 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?

It's irrelevant now that bpf is a cloning device.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--