Re: Berkeley packet filter device in kernel config

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 24 Mar 2004 15:15:46 -0500
On Wednesday 24 March 2004 02:33 pm, MaNUaL wrote:
> Hi. I am using 5.2.1-RELEASE-p3 and in the GENERIC
> configuration file of the kernel in
> /usr/src/sys/i386/conf there is the following line:
>
> device bpf # Berkeley packet filter
>
> Though, in the FreeBSD handbook it says:
>
> pseudo-device bpf # Berkeley packet filter
>
> I have used "device bpf" but there is no /dev/bpf* at
> all...
>
> Am i missing something here? How should i define this?
> pseudo-device or device?

The devices get created automatically when you try to open them.
To make sure it is working, try doing a tcpdump.

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Wed Mar 24 2004 - 11:14:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:48 UTC