public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jakob Oestergaard <jakob@unthought.net>
To: linux-kernel@vger.kernel.org
Cc: Florian Weimer <fw@deneb.enyo.de>
Subject: Re: NetFlow export
Date: Thu, 13 Mar 2003 13:29:33 +0100	[thread overview]
Message-ID: <20030313122932.GB29730@unthought.net> (raw)
In-Reply-To: <87znnz8oob.fsf@deneb.enyo.de>

On Thu, Mar 13, 2003 at 12:57:08PM +0100, Florian Weimer wrote:
> Jakob Oestergaard <jakob@unthought.net> writes:
> 
> > On Thu, Mar 13, 2003 at 12:07:00PM +0100, Florian Weimer wrote:
> >> Are there any patches which implement kernel-based NetFlow data
> >> export?
> >
> > Netramet works very well - it's userspace (and very flexible indeed).
> 
> According to the documentation, it can receive NetFlow data and
> process it, but it cannot generate such data.

I never used it to receive netflow data.

I used netramet to generate flow information on a linux-based backbone
router, and to periodically move the flow information to another node
for batch processing/analysis.

I used the netramet tools to extract that information from the netramet
"meter" (the flow measurement daemon running on the router), for storage
on the remote accounting/processing machine. Some custom Perl scripts
process the flow information thereafter.

You asked for netflow data export. Netramet can give you something
similar to netflow (I never used netflow, but from what I hear, netramet
is similar only more flexible).

> 
> > No need to clutter the kernel with an SNMP stack too, if you ask me.
> 
> NetFlow doesn't use a complicated packet format and is not based on
> SNMP.  You can parse version 5 or 7 packets in 10 lines of Perl code,
> using a few calls to "unpack".

With 10 lines of Perl you could do full ASN-1   ;)

Netramet uses SNMP for the data transport - and I am very much surprised
if Cisco does not use SNMP - but again, I did not use netflow so I
wouldn't know.

In any case, to the "end user", it's as simple as calling a tool saying
"get me my data" - whether it's SNMP based or not.

Point being; if what you want is flow information from a Linux router,
excellent user space software (both "meter" and retrieval/filtering
tools) already exist for that.

If you want something else, then I have completely misread your mails.
Please elaborate, in that case  :)

-- 
................................................................
:   jakob@unthought.net   : And I see the elder races,         :
:.........................: putrid forms of man                :
:   Jakob Østergaard      : See him rise and claim the earth,  :
:        OZ9ABN           : his downfall is at hand.           :
:.........................:............{Konkhra}...............:

  reply	other threads:[~2003-03-13 12:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-13 11:07 NetFlow export Florian Weimer
2003-03-13 11:48 ` Jakob Oestergaard
2003-03-13 11:57   ` Florian Weimer
2003-03-13 12:29     ` Jakob Oestergaard [this message]
2003-03-13 13:46       ` Florian Weimer
2003-03-13 16:45         ` Jakob Oestergaard
2003-03-14  9:32         ` David Luyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030313122932.GB29730@unthought.net \
    --to=jakob@unthought.net \
    --cc=fw@deneb.enyo.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox