Hi Evgeniy,
For a starter, did you have a look to section XVa of the QUICKSTART guide:
https://github.com/pmacct/pmacct/blob/0bd518b6fbee4ba286832f07fbf8debf0c3fa925/QUICKSTART#L2198C10-L2198C10
Examples are based on src_mac, dst_mac ; but you could give a try with
src_net , dst_net . This is the full list of keys supported in nfacctd
when in tee mode:
https://github.com/pmacct/pmacct/blob/0bd518b6fbee4ba286832f07fbf8debf0c3fa925/examples/pretag.map.example#L25
Paolo
On 9/8/23 14:12, Evgeniy Kozhuhovskiy wrote:
Good day for everyone
I'm trying to solve the following task with the nfacctd tee plugin, but
I'm little bit stuck. Would appreciate your help.
I have a list of "our networks" (list of our customer nets), and I have
a list of "IX networks".
I need to filter out incoming netflow stream traffic between our
networks and IX, and tee the rest to the remote collector.
In other words, I have to exclude traffic between customers and IX from
billing.
How to make such tagging with pretag.map? (i.e. tag "the rest", that is
not tagged already)
--
With best regards, Evgeniy Kozhuhovskiy
_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists
_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists