From owner-freebsd-net@FreeBSD.ORG Tue Mar 2 12:17:12 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 E900316A4CE; Tue, 2 Mar 2004 12:17:11 -0800 (PST) Received: from vorbis.noc.easynet.net (vorbis.noc.easynet.net [195.40.1.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73BEE43D41; Tue, 2 Mar 2004 12:17:11 -0800 (PST) (envelope-from chrisy@vorbis.noc.easynet.net) Received: from chrisy by vorbis.noc.easynet.net with local (Exim 4.10) id 1AyGK9-000J36-00; Tue, 02 Mar 2004 20:17:05 +0000 Date: Tue, 2 Mar 2004 15:17:05 -0500 From: Chris Luke To: Gleb Smirnoff , Wes Peters , Andre Oppermann , freebsd-net@freebsd.org, freebsd-current@freebsd.org Message-ID: <20040302201704.GA72944@flix.net> Mail-Followup-To: Chris Luke , Gleb Smirnoff , Wes Peters , Andre Oppermann , 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040302082625.GE22985@cell.sick.ru> User-Agent: Mutt/1.4.1i Organization: The Flirble Internet Exchange X-URL: http://www.flix.net/ X-FTP: ftp://ftp.flirble.org/ Sender: Chris Luke 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 20:17:12 -0000 Gleb Smirnoff wrote (on Mar 02): > Currently I'm working on my Netflow implementation, and I have faced the > following problem: I've already got global routing in my routing table, but it > lacks AS (Autonomous System) information. The routing daemon (zebra in my case) > already knows ASes, but this informations is lost when routing information is > injected into kernel. It'll be nice to add AS path to struct rtentry. I overcame this same problem by hacking a simple query mechanism into bgpd. My netflow categoriser retains a small routing information cache, and queries the bgpd for aspath/community information as and when it's needed. All my netflow stuff is done off-host, and so is my netflow bgp. I use bgpd with a view per router that I collect netflow data from, and my netflow system is configured to relate these things together. Chris. -- == chrisy@flix.net