From owner-freebsd-current@FreeBSD.ORG Wed Mar 24 12:40:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F16916A4D0 for ; Wed, 24 Mar 2004 12:40:15 -0800 (PST) Received: from obelix.sillywalks.org (smartie.xs4all.nl [80.126.16.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD5B243D5A for ; Wed, 24 Mar 2004 12:40:14 -0800 (PST) (envelope-from martijn@sillywalks.org) Received: by obelix.sillywalks.org (Postfix, from userid 61) id 2135A67827; Wed, 24 Mar 2004 21:40:13 +0100 (CET) Received: from [192.168.10.160] (dhcp160.in-10.sillywalks.org [192.168.10.160]) by obelix.sillywalks.org (Postfix) with ESMTP id CD9C06780E; Wed, 24 Mar 2004 21:40:02 +0100 (CET) In-Reply-To: <20040324193308.10312.qmail@web40613.mail.yahoo.com> References: <20040324193308.10312.qmail@web40613.mail.yahoo.com> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <6C86A481-7DD3-11D8-83DA-00039346207E@sillywalks.org> Content-Transfer-Encoding: 7bit From: Martijn Pronk Date: Wed, 24 Mar 2004 21:40:01 +0100 To: MaNUaL X-Mailer: Apple Mail (2.613) X-Spam-Status: No, hits=-1.0 required=5.0 tests=IN_REP_TO,REFERENCES,USER_AGENT_APPLEMAIL version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-current@freebsd.org Subject: Re: Berkeley packet filter device in kernel config X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Mar 2004 20:40:15 -0000 Op 24-mrt-04 om 20:33 heeft MaNUaL het volgende geschreven: > 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 The handbook is correct for FreeBSD 4.x but not for 5.x Read sys/conf/NOTES and/or sys/i386/conf/NOTES for the correct option. > I have used "device bpf" but there is no /dev/bpf* at > all... That's because 5.x uses devfs, the device nodes are created on demand. If you try a ls -l /dev/bpf0 you'll see that it's there. > Am i missing something here? How should i define this? > pseudo-device or device? device bpf HTH, Martijn