I don't believe samplicate is appropriate for this task. If I sample and forward IPFIX, I need whatever is doing that to consistently forward the templates even as it samples everything else. samplicate just blindly drops packets to meet the frequency.
I did see the "sampling_rate" configuration option but I'm not sure if it works with tee and if it does whether it would also consistently forward the templates. -Paul > On Nov 17, 2016, at 7:39 AM, Stephen Clark <[email protected]> wrote: > > Hmm... > > Doesn't samplicate do this? > > and each <destination> should be specified as > <addr>[/<port>[/<freq>]], where > > <addr> IP address of the receiver > <port> port UDP number of the receiver (default 2000) > <freq> number of received datagrams between successive > copied datagrams for this receiver. > > On 11/17/2016 10:10 AM, Paul Lockaby wrote: >> Ah, yeah, hmm. Doesn't seem to support any sampling of the data it forwards >> so I guess I'll have to find something else. >> >> Thanks, >> -Paul >> >>> On Nov 17, 2016, at 12:36 AM, Tristan Bendall <[email protected]> >>> wrote: >>> >>> Hi Paul >>> >>> Pretty sure "tee" does this? Have a look below: >>> >>> http://wiki.pmacct.net/OfficialConfigKeys >>> >>> Tristan >>> >>> -----Original Message----- >>> From: pmacct-discussion [mailto:[email protected]] On >>> Behalf Of Paul Lockaby >>> Sent: 16 November 2016 21:57 >>> To: [email protected] >>> Subject: [pmacct-discussion] forwarding netflow >>> >>> Does pmacct/nfacctd support forwarding netflow/ipfix, like samplicator >>> does? If it does, does it support forwarding sampled netflow/ipfix? E.g. I >>> have netflow coming in to one collector host and I need to send it on to >>> one person who wants it 1:1 and another person who wants it 10:1. >>> >>> -Paul >>> _______________________________________________ >>> pmacct-discussion mailing list >>> http://www.pmacct.net/#mailinglists >>> >>> _______________________________________________ >>> pmacct-discussion mailing list >>> http://www.pmacct.net/#mailinglists >> >> _______________________________________________ >> pmacct-discussion mailing list >> http://www.pmacct.net/#mailinglists >> > > > -- > > "They that give up essential liberty to obtain temporary safety, > deserve neither liberty nor safety." (Ben Franklin) > > "The course of history shows that as a government grows, liberty > decreases." (Thomas Jefferson) > > > > _______________________________________________ > pmacct-discussion mailing list > http://www.pmacct.net/#mailinglists _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
