Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 2004 21:10:18 +0400
From:      Gleb Smirnoff <glebius@freebsd.org>
To:        Andre Oppermann <andre@freebsd.org>
Cc:        net@freebsd.org
Subject:   Re: [TEST/REVIEW] Netflow implementation
Message-ID:  <20040909171018.GA11540@cell.sick.ru>
In-Reply-To: <4140834C.3000306@freebsd.org>
References:  <20040905121111.GA78276@cell.sick.ru> <4140834C.3000306@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 09, 2004 at 06:22:36PM +0200, Andre Oppermann wrote:
A> I haven't looked into every detail but overall it's a nice piece of work. 
A> :-)

Thanks :)

A> In the README you are talking Netflow 5 and AS path's.  I don't undestand 
A> why
A> you want to pass the AS path into the rtentry structure?  Wouldn't the 
A> right-most AS sufficise?

AFAIK, Cisco's netflow can be configured in two modes: "peer-as", when a
left-most is put into exports, and "orig-as" when a right-most is put.
"orig-as" mode is default one, since most interesting statistics
can be taken from it. However, "peer-as" is used for billing purposes,
when we need to know which peer was transit for this traffic.

A> A couple of people from OpenBSD and us are thinking of updating and 
A> extending
A> the routing code and rtsocket framework for things like this most 
A> importantly
A> the interaction between different routing daemons (EGP & IGP).  However 
A> this is
A> a more long-term thing and more targeted at FreeBSD 6.0.

I'm working on a patch, which will bring AS path support. AS paths are going
to be stored separately from rtentries. The latter will have a reference to
AS paths. Each AS path is going to have a reference counter in self.
This feature is going to be utilized not only for Netflow, but also
in ipfw/dummynet. I think it would be very nice to shape bandwidth or
make policy routing decisions using AS path regexes in ipfw rules.

P.S. And we should keep an eye on XORP. It is young now, but is going to
be a BSD-licensed alternative to zebra.

-- 
Totus tuus, Glebius.
GLEBIUS-RIPN GLEB-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040909171018.GA11540>