Berkeley packet filter device in kernel config

John Baldwin jhb at FreeBSD.org
Wed Mar 24 12:14:19 PST 2004


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


More information about the freebsd-current mailing list