From nobody Sat Nov 20 06:20:47 2021 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 72E2D189D388 for ; Sat, 20 Nov 2021 06:20:57 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hx3Lw6xjGz4mkN; Sat, 20 Nov 2021 06:20:56 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 1AK6Klfi096203; Fri, 19 Nov 2021 22:20:47 -0800 (PST) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 1AK6KlRf096202; Fri, 19 Nov 2021 22:20:47 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202111200620.1AK6KlRf096202@gndrsh.dnsmgr.net> Subject: Re: Porting OpenBSD MPLS to FreeBSD In-Reply-To: <7de5f4bf0fdec027b5ae5d844a7cb0f5@FreeBSD.org> To: Neel Chauhan Date: Fri, 19 Nov 2021 22:20:47 -0800 (PST) CC: freebsd-net@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4Hx3Lw6xjGz4mkN X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N > Hi freebsd-net@, > > Long time no see. I've gotten a (Ports) commit bit since then. > > I haven't been very active in TCP/IP hacking as of late, as more > recently I've been more focused on GNOME packages and some GPU drivers. > > Going back, I'm thinking about porting OpenBSD's MPLS to FreeBSD. I have had similiar thoughts on and off over the years, and one pretty solid "want" for this. > > I have a two questions: > > * Is porting OpenBSD MPLS to FreeBSD feasible, or are we better off > doing a from-scratch implementation based on netgraph? Feasible, yes, as to the better off part that probably depends on who you ask. MPLS is not that complicated to implement, so doing it either way all depends on weither you want to deal with netgraph, or the kernel network interface code. Its also probably fairly trivial to do both with a great deal of shared code. > > * Would some of the other committers here be willing to mentor/help me > if needed? Yes. > > Unlike my old IPFW patches which got nowhere (plus I no longer use > IPFW), I feel this is more something that could be useful when running > FreeBSD as a router, but hasn't really been done. I can probably arrange a telco size beta tester too... unless there interested has gone away, which I doubt. > -Neel (nc@) -- Rod Grimes rgrimes@freebsd.org