From owner-freebsd-arch@FreeBSD.ORG Sat Sep 24 20:38:57 2005 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED79B16A41F; Sat, 24 Sep 2005 20:38:57 +0000 (GMT) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5697B43D48; Sat, 24 Sep 2005 20:38:57 +0000 (GMT) (envelope-from max@love2party.net) Received: from p54A3D7BC.dip.t-dialin.net [84.163.215.188] (helo=donor.laier.local) by mrelayeu.kundenserver.de with ESMTP (Nemesis), id 0MKwpI-1EJGnP482S-0006m5; Sat, 24 Sep 2005 22:38:55 +0200 From: Max Laier To: freebsd-arch@freebsd.org Date: Sat, 24 Sep 2005 22:38:36 +0200 User-Agent: KMail/1.8.2 References: <200509241525.16173.max@love2party.net> <20050924192237.GP40237@cirb503493.alcatel.com.au> In-Reply-To: <20050924192237.GP40237@cirb503493.alcatel.com.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1683708.da5CxqY0eD"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200509242238.51966.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: Peter Jeremy , Andrew Thompson Subject: Re: Bridges X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Sep 2005 20:38:58 -0000 --nextPart1683708.da5CxqY0eD Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 24 September 2005 21:22, Peter Jeremy wrote: > On Sat, 2005-Sep-24 15:25:06 +0200, Max Laier wrote: > >for some time now, we have three bridge implementations in the tree: > > - net/bridge.c - the "old" bridge > > - net/if_bridge.c - the "new" bridge from Net/OpenBSD > > - netgraph/ng_bridge.c - the netgraph version [1] > > > >The new code has several advantages over the old version: > > - Spanning Tree Protocol (802.1D) > > - better firewall support (IPv6, stateful filtering, ...) > > - easy ifconfig(8) configuration > > Since I've recently needed it, neither bridge.c nor if_bridge.c allow > you to bridge VLAN trunks (you can bridge individual VLANs but that > becomes unwieldly when you have dozens of VLANs). I have code to do > this in bridge.c. Not sure what you mean, but I am sure Andrew Thompson is willing to help=20 converting your code to if_bridge if asked. BTW, forgot about one big plus= =20 for if_bridge: It is the one true bridge implementation in Net/OpenBSD so=20 there is a lot of additional "developer power" behind it. Of course one=20 could argue that code monoculture is a bad thing ... I like to believe=20 otherwise, however. > >and would have to do it twice, for example) I would like to retire the o= ld > >bridge code soon. This should happen in HEAD only and thus the old brid= ge > >will stay for all of FreeBSD 6 unless more aggressive depreciation is > >requested. > > Since if_bridge.c does not exist in FreeBSD 5, and there has not > previously been any suggestion that bridge.c is deprecated, I would > object to the removal of bridge.c from FreeBSD 6 since this would > violate the standard deprecation cycle. No idea what the standard deprecation cycle is, but no problem. I just wan= t=20 it out of HEAD to be able to move forward with other projects more easily,= =20 such as what Andre is going to do. > >Please test the new alternative if you are using the old one still. > > Has anyone looked at how difficult it would be to get if_bridge.c to > work in 5.x? See http://people.freebsd.org/~thompsa/ for patches. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart1683708.da5CxqY0eD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDNblbXyyEoT62BG0RAqhFAJ0Y+7Af7FNteJl2DNvmhK6+1MAFhACdEseY TLDXdLARln397htteZbsip8= =1Mlg -----END PGP SIGNATURE----- --nextPart1683708.da5CxqY0eD--