From owner-freebsd-net@FreeBSD.ORG Fri Jul 29 19:14:47 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D0401065672; Fri, 29 Jul 2011 19:14:47 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id 3AFAE8FC12; Fri, 29 Jul 2011 19:14:46 +0000 (UTC) Received: from julian-mac.elischer.org (home-nat.elischer.org [67.100.89.137]) (authenticated bits=0) by vps1.elischer.org (8.14.4/8.14.4) with ESMTP id p6TJEdKa048641 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Fri, 29 Jul 2011 12:14:43 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <4E330699.9000002@freebsd.org> Date: Fri, 29 Jul 2011 12:14:33 -0700 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: "Alexander V. Chernikov" References: <20110717.004248.48765964696292481.hrs@allbsd.org> <4E21BA0B.6080800@ipfw.ru> In-Reply-To: <4E21BA0B.6080800@ipfw.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, "Bjoern A. Zeeb" , Hiroki Sato , dudu@dudu.ro, freebsd-net@freebsd.org Subject: Re: FIB separation X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2011 19:14:47 -0000 On 7/16/11 9:19 AM, Alexander V. Chernikov wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hiroki Sato wrote: >> Vlad Galu wrote >> in: >> >> du> Hello, >> du> >> du> A couple of years ago, Stef Walter proposed a patch[1] that enforced >> du> the scope of routing messages. The general consesus was that the best >> du> approach would be the OpenBSD way - transporting the FIB number in the >> du> message and letting the user applications filter out unwanted >> du> messages. >> du> >> du> Are there any plans to tackle this before 9.0? >> >> I am looking into this and investigating other possible extensions in >> rtsock messages such as addition of a fib member to rt_msghdr. I am >> not sure it can be done before 9.0, though... > Actually there were an off-list discussion with bz@ and julian@ about > interface fibs and rtsock changes several weeks ago. > > Initial messages: > http://lists.freebsd.org/pipermail/freebsd-net/2011-June/029040.html > > I've got 3 different patches: > 1) straight forwarded kern/134931 fix (no fib in rtsock, no breaking > ABI, send to bz@) just got back from vacation in hungary so catching up...: Didn't he commit it? bz?? > 2) adding fib in rtsock with rtsock versioning and other ABI keeping tricks > 3) adding special RTA which can contain TLV pairs, with single defined > TLV with routing socket > > As a result of discussion, first patch was sent to bz@. Since patches > from kern/134931 are outdated attaching it here.