From owner-freebsd-ipfw@FreeBSD.ORG Sun Mar 15 08:07:53 2009 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DD1A1065676 for ; Sun, 15 Mar 2009 08:07:53 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outY.internet-mail-service.net (outy.internet-mail-service.net [216.240.47.248]) by mx1.freebsd.org (Postfix) with ESMTP id 638E08FC0C for ; Sun, 15 Mar 2009 08:07:53 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 5EAB28135E; Sun, 15 Mar 2009 01:07:53 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id D44A12D6011; Sun, 15 Mar 2009 01:07:52 -0700 (PDT) Message-ID: <49BCB75D.60408@elischer.org> Date: Sun, 15 Mar 2009 01:07:57 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Olivier Nicole References: <200903150605.n2F653Uw021328@banyan.cs.ait.ac.th> <49BCA1AC.7080905@elischer.org> <200903150736.n2F7acad033835@banyan.cs.ait.ac.th> In-Reply-To: <200903150736.n2F7acad033835@banyan.cs.ait.ac.th> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ipfw@freebsd.org, Adrian Chadd Subject: Re: ipfw amd bridge X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2009 08:07:53 -0000 Olivier Nicole wrote: > Thanks, > >>> I remember reqading in the past (4.x) that on a machine with bridged >>> interfaces, only layer 2 rules of ipfw would apply. >> not quite. >> there are rules that do not work when called from a layer two >> point. e.g. divert does not work, nor does 'fwd' (without patches). > > And what would be the patches (if any exists)? > >> note if_bridge and bridge are different and may have >> behavioral differences in this regard. > > I think it will be if_bridge (as bridge is obsolete). > > Bests, > > Olivier > > I gave some to adrian (cc'd).. I don't have them available right now..