From: Holger Eitzenberger <holger@eitzenberger.org>
To: Patrick McHardy <kaber@trash.net>
Cc: Roman Tsisyk <roman@tsisyk.com>,
Stig Thormodsrud <stig@vyatta.com>,
netfilter-devel@vger.kernel.org, netfilter@vger.kernel.org,
linux-net@vger.kernel.org,
Holger Eitzenberger <heitzenberger@astaro.com>
Subject: Re: NetFlow / sFlow / IPFIX network probe proposal
Date: Thu, 1 Apr 2010 14:05:37 +0200 [thread overview]
Message-ID: <20100401120536.GF19153@mail.eitzenberger.org> (raw)
In-Reply-To: <4BB473CB.5030300@trash.net>
(replying by private mail)
Hi,
> > Thank you for pointing it out, I didn't know about conntrack support in ulogd.
> >
> > As far as I understood, IPFIX output in ulogd is in a early stage and
> > don't work. So, I tested ulogd + ctnetlink with null output and it
> > worked very well.
I've done an IPFIX implementation a few months ago for ulogd2, but it
currently is of prototype character only, as it only implements IPFIX
over UDP, but SCTP and possibly TCP (+ SSL) are required for a
conforming implementation. I use the "bi-flow" approach of RFC 51303,
but it shouldn't be a problem at all to have it support the single
direction flow approach instead from RFC 5101/5102.
In general ctnetlink is not a problem here from a performance standpoint,
and I think there is no need for doing that in kernel space.
Some bits and pieces may be missing on the kernel side if you need to
classify your flows though. E. g. some IPFIX Aggregrators require the
DSCP value for that.
> Accounting is done in kernel space by conntrack, but aggregation should
> be done in userspace in my opinion. I don't think you need a lot of
> optimization, AFAIK Holger's patches already scale to large setups
> very well.
I have setups with hundreds of thounsands of flows, and it accounts
quite well :).
Hope that helps a bit.
/holger
next prev parent reply other threads:[~2010-04-01 12:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-30 14:06 NetFlow / sFlow / IPFIX network probe proposal Roman Tsisyk
2010-03-30 14:29 ` Changli Gao
2010-03-30 14:56 ` Jan Engelhardt
2010-03-30 15:57 ` Roman Tsisyk
2010-03-30 16:07 ` Jan Engelhardt
2010-03-30 16:39 ` Patrick McHardy
2010-03-31 13:47 ` Roman Tsisyk
2010-04-01 10:22 ` Patrick McHardy
2010-04-01 12:05 ` Holger Eitzenberger [this message]
2010-04-01 14:29 ` Pablo Neira Ayuso
2010-04-01 14:33 ` Patrick McHardy
2010-04-01 14:46 ` Holger Eitzenberger
2010-04-01 14:55 ` Patrick McHardy
2010-04-01 16:56 ` Jan Engelhardt
2010-04-08 14:55 ` Florian Weimer
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=20100401120536.GF19153@mail.eitzenberger.org \
--to=holger@eitzenberger.org \
--cc=heitzenberger@astaro.com \
--cc=kaber@trash.net \
--cc=linux-net@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=netfilter@vger.kernel.org \
--cc=roman@tsisyk.com \
--cc=stig@vyatta.com \
/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;
as well as URLs for NNTP newsgroup(s).