Discussion:
[pmacct-discussion] Ability to filter by as_src, net_src in tee plugin
Stanislaw
2018-03-01 16:25:15 UTC
Permalink
Hi Paolo and the list,

I have a necessity to filter out traffic data (based on src_as or
src_net) to an IPFIX collector, capturing everything else. I was
thinking that nfacctd in tee mode with pre_tag_map would be able to do
that.

However, according to pretag.map.example, the filtering is restricted
nfacctd when in 'tee' mode: valid keys: set_tag, set_tag2, set_label,
ip, engine_type, engine_id, source_id
Are there any plans for implementing pre_tag mapping/filtering based on
packet data (ips, nets, asns etc)?
Paolo Lucente
2018-03-03 16:01:56 UTC
Permalink
Hi Stanislaw,

Such a feature exists for sFlow/sfacctd in tee mode but not (yet) for
NetFlow/IPFIX/nfacctd. There are definitely plans to introduce it
already for some time (complexities of the porting include template
management, options, etc.), it should happen later in the year with
1.7.2.

Paolo
Post by Stanislaw
Hi Paolo and the list,
I have a necessity to filter out traffic data (based on src_as or
src_net) to an IPFIX collector, capturing everything else. I was
thinking that nfacctd in tee mode with pre_tag_map would be able to
do that.
However, according to pretag.map.example, the filtering is
nfacctd when in 'tee' mode: valid keys: set_tag, set_tag2,
set_label, ip, engine_type, engine_id, source_id
Are there any plans for implementing pre_tag mapping/filtering based
on packet data (ips, nets, asns etc)?
_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists
Loading...