From owner-freebsd-questions@FreeBSD.ORG Wed Dec 24 05:57:00 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51D0B16A4CE for ; Wed, 24 Dec 2003 05:57:00 -0800 (PST) Received: from inferno.eagle.ca (inferno.eagle.ca [209.167.16.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE6BE43D53 for ; Wed, 24 Dec 2003 05:56:56 -0800 (PST) (envelope-from iaccounts@northnetworks.ca) Received: from [192.168.1.150] (sfw.eagle.ca [209.167.16.15]) by inferno.eagle.ca (8.12.8/8.12.3) with ESMTP id hBODpuiE083519; Wed, 24 Dec 2003 08:51:56 -0500 (EST) (envelope-from iaccounts@northnetworks.ca) From: Steve Bertrand To: niraj kumar In-Reply-To: <20031224074509.62197.qmail@web8305.mail.in.yahoo.com> References: <20031224074509.62197.qmail@web8305.mail.in.yahoo.com> Content-Type: text/plain Message-Id: <1072274198.6541.3.camel@ptp.northnetworks.ca> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Wed, 24 Dec 2003 08:56:39 -0500 Content-Transfer-Encoding: 7bit cc: freebsd-questions@FreeBSD.org Subject: Re: implementation of bpf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2003 13:57:00 -0000 First, for the sake of those who use text based email clients, please set your word wrap in your email program to 72 chars. > i want to know how to implement a simple bpf filter on the freebsd > i am using bsd4.7 version and i know the instruction set of the bfp >virutal machine but i dont know how to implement that and to check >whether that particular bpf is working or not so u could explain the >functioning of bpf with example then i would be thankful to u Assuming you are referring bpf to the Berkeley Packet Filter, it should be compiled in with the standard GENERIC kernel on 4.7. To test this, simply use the always handy tcpdump command: # tcpdump -n This will either barf with a 'bpf: device not configured' or will start showing you each packet that your default network interface touches. Merry Christmas! Steve > > thank in advance > > Niraj > > Yahoo! India Matrimony: Find your partner online.Post your profile. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"