From owner-freebsd-net Thu Apr 11 23: 7:36 2002 Delivered-To: freebsd-net@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 455A437B41A for ; Thu, 11 Apr 2002 23:07:33 -0700 (PDT) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020412060733.INTK15826.rwcrmhc54.attbi.com@blossom.cjclark.org>; Fri, 12 Apr 2002 06:07:33 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g3C67WJ40388; Thu, 11 Apr 2002 23:07:32 -0700 (PDT) (envelope-from cjc) Date: Thu, 11 Apr 2002 23:07:32 -0700 From: "Crist J. Clark" To: Yidan Zhou Cc: freebsd-net@FreeBSD.ORG Subject: Re: How can I use ng bpf Message-ID: <20020411230732.F39738@blossom.cjclark.org> References: <410-220024310222625267@kth.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <410-220024310222625267@kth.se>; from zyd@kth.se on Thu, Apr 11, 2002 at 12:26:25AM +0200 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Apr 11, 2002 at 12:26:25AM +0200, Yidan Zhou wrote: > Hi all, > I want to set up a bridge with filtering function on Freebsd. I checked > some webpages which mention that I can ng_bpf to implement filtering. But > the freebsd man page of ng_bpf is not clear(especially, how to use ngctl to > configure step by step). Has anybody a sample configuration or a example? ipfw(8) will filter with bridge(4) just fine. I have a simple patch on the website below to get ipf(8) to filter with bridge(4) too. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message