Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Mar 2004 15:15:46 -0500
From:      John Baldwin <jhb@FreeBSD.org>
To:        freebsd-current@freebsd.org
Cc:        MaNUaL <manual3000@yahoo.com>
Subject:   Re: Berkeley packet filter device in kernel config
Message-ID:  <200403241515.46819.jhb@FreeBSD.org>
In-Reply-To: <20040324193308.10312.qmail@web40613.mail.yahoo.com>
References:  <20040324193308.10312.qmail@web40613.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403241515.46819.jhb>