From owner-freebsd-net@FreeBSD.ORG Tue Mar 2 08:09:08 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 977EB16A4CE; Tue, 2 Mar 2004 08:09:08 -0800 (PST) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD1B343D1D; Tue, 2 Mar 2004 08:09:07 -0800 (PST) (envelope-from glebius@cell.sick.ru) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.9/8.12.8) with ESMTP id i22G94QE027499 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 2 Mar 2004 19:09:05 +0300 (MSK) (envelope-from glebius@cell.sick.ru) Received: (from glebius@localhost) by cell.sick.ru (8.12.9/8.12.6/Submit) id i22G92Px027498; Tue, 2 Mar 2004 19:09:02 +0300 (MSK) Date: Tue, 2 Mar 2004 19:09:02 +0300 From: Gleb Smirnoff To: Andre Oppermann Message-ID: <20040302160902.GB26977@cell.sick.ru> Mail-Followup-To: Gleb Smirnoff , Andre Oppermann , Kris Kennaway , Wes Peters , freebsd-net@freebsd.org, freebsd-current@freebsd.org References: <4043B6BA.B847F081@freebsd.org> <200403011507.52238.wes@softweyr.com> <20040302031625.GA4061@scylla.towardex.com> <20040302042957.GH3841@saboteur.dek.spc.org> <20040302082625.GE22985@cell.sick.ru> <20040302084321.GA21729@xor.obsecurity.org> <20040302085556.GA23734@cell.sick.ru> <20040302092825.GD884@saboteur.dek.spc.org> <20040302095134.GA24078@cell.sick.ru> <40449B8E.A48B39B0@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <40449B8E.A48B39B0@freebsd.org> User-Agent: Mutt/1.5.6i cc: freebsd-net@freebsd.org cc: freebsd-current@freebsd.org cc: Kris Kennaway Subject: Re: My planned work on networking stack X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2004 16:09:08 -0000 Andre, On Tue, Mar 02, 2004 at 03:34:54PM +0100, Andre Oppermann wrote: A> > B> As to the second part of your mail: That sounds like a reasonable suggestion, A> > B> I am sure Andre and others are paying attention to this and will take it on A> > B> board when an implementation is nearer. A> > A> > If this is OK from you, I start working on it (second variant using sockaddr_aspath). A> > I'm willing to see this feature, and I have a good testing conditions for it. A> A> Putting the AS path into the kernel routing table is certainly not the A> right thing to do. The kernel fib must be as small as possible. All A> information how a route made it there is pretty much irrelevant and A> only the business of the routing protocol daemons. However, I can imagine at least 2 things, where we need AS pathes in kernel (at least optionally). Nowadays, for continuing my work on bringing netflow implementation I need AS path info in kernel. If we are planning to create routing solution based on FreeBSD, we will need to support netflow. And only in-kernel flow catching can give us high performance. In nearest future, you are going to implement policy routing. Are you going to support constructions like: "match as-path XXX; set nexthop a.b.c.d"? I do not insist that AS pathes in kernel are good idea. If you show me an other way to get AS information when constructing netflow exports in kernel, I'd be thankful. I'd be also thankful if you describe how policy routing can be implemented while no AS info in kernel. What do other FreeBSD networking withards think? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE