From owner-freebsd-net@FreeBSD.ORG Thu Sep 9 19:41:22 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 EF53816A4CE; Thu, 9 Sep 2004 19:41:22 +0000 (GMT) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3426543D2F; Thu, 9 Sep 2004 19:41:20 +0000 (GMT) (envelope-from glebius@freebsd.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.12.11/8.12.8) with ESMTP id i89JfICp012210 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 9 Sep 2004 23:41:19 +0400 (MSD) (envelope-from glebius@freebsd.org) Received: (from glebius@localhost) by cell.sick.ru (8.12.11/8.12.11/Submit) id i89JfI0O012209; Thu, 9 Sep 2004 23:41:18 +0400 (MSD) (envelope-from glebius@freebsd.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@freebsd.org using -f Date: Thu, 9 Sep 2004 23:41:17 +0400 From: Gleb Smirnoff To: Andre Oppermann Message-ID: <20040909194117.GB12168@cell.sick.ru> References: <20040905121111.GA78276@cell.sick.ru> <4140834C.3000306@freebsd.org> <20040909171018.GA11540@cell.sick.ru> <414093DE.A6DC6E67@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <414093DE.A6DC6E67@freebsd.org> User-Agent: Mutt/1.5.6i cc: net@freebsd.org Subject: Re: [TEST/REVIEW] Netflow implementation 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: Thu, 09 Sep 2004 19:41:23 -0000 On Thu, Sep 09, 2004 at 07:33:18PM +0200, Andre Oppermann wrote: A> > I'm working on a patch, which will bring AS path support. AS paths are going A> > to be stored separately from rtentries. The latter will have a reference to A> > AS paths. Each AS path is going to have a reference counter in self. A> A> Ugh, I don't like that at all. The AS path is of variable length and A> the kernel should not know anything about it. We already had this discussion in the past. I know your position. A> The only thing the kernel *may* know about is the right- and leftmost AS. A> It may be more efficient to send the netflow data through a small helper A> application that just fills in the two AS number based on a mrt dump. A> A> > This feature is going to be utilized not only for Netflow, but also A> > in ipfw/dummynet. I think it would be very nice to shape bandwidth or A> > make policy routing decisions using AS path regexes in ipfw rules. A> A> Ugh. No, better have a way to 'tag' routes and make your decision based A> on those tags. Keep all the policy definition out of the kernel table. Isn't reference to extended information a tag? A> Additionally you have the tables support in ipfw already. It's far easier A> to extend Quagga/Zebra/etc to properly feed that table than to mangle the A> whole kernel for those purposes. That is a good idea, too. A> > P.S. And we should keep an eye on XORP. It is young now, but is going to A> > be a BSD-licensed alternative to zebra. A> A> Have a look at OpenBGPd in OpenBSD. Does a lot more, and is useable for A> production networks. If it had a nice interaction with OSPF, like zebra does, I'd consider moving to it. -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE