*BSD News Article 34138


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.Hawaii.Edu!ames!elroy.jpl.nasa.gov!sdd.hp.com!decwrl!pa.dec.com!src.dec.com!crl.dec.com!nntpd.lkg.dec.com!lkg.dec.com!thomas
From: thomas@lkg.dec.com (Matt Thomas)
Newsgroups: comp.os.386bsd.questions
Subject: Re: bpf packet filtering
Date: 3 Aug 1994 21:59:53 GMT
Organization: Digital Equipment Corporation
Lines: 18
Sender: thomas@netrix.lkg.dec.com (Matt Thomas)
Distribution: world
Message-ID: <31p40p$qlh@nntpd.lkg.dec.com>
References: <31oche$l5d@hal01.wiltel.com>
Reply-To: thomas@lkg.dec.com
NNTP-Posting-Host: netrix.lkg.dec.com
X-Newsreader: mxrn 6.18-16


In article <31oche$l5d@hal01.wiltel.com>, tlu@sepulcher (Thang Lu) writes:
|>  I try to use the TCPDUMP utility which requires a bpf device (/dev/bpf0)  
|>that is not in my kernel.  I have the code for it (bpf) but don't know how  
|>to include it into the kernel. Thanks in advance for any pointers, or  
|>instructions.     

Add

pseudo-device bpfilter	16

to your config file and rebuild your kernel. 

-- 
Matt Thomas                          Internet:   thomas@lkg.dec.com
U*X Networking                       WWW URL:    http://ftp.dec.com/%7Ethomas/
Digital Equipment Corporation        Disclaimer: This message reflects my
Littleton, MA                                    own warped views, etc.