There seems to be a problem with nfcapd dealing with ipfix data. I have read that it is only partially implemented in the nfdump suite.
My log files have a steady stream of errors. So, either I get thousands of these every 10 seconds in /var/log/messages
Code: Select all
nfcapd[24931]: Process_v9: flowset zero length error.
and
nfcapd[25022]: Process_v9: flowset length error. Expected bytes: 48369 > buffersize: 1Code: Select all
cat /etc/rsyslog.d/ignore-nfcapd-noise.conf
if $programname == "nfcapd" and ($msg contains "flowset length error" or $msg contains "flowset zero length error") then stopCode: Select all
journal: Suppressed 7366 messages from /system.slice/nagiosna.serviceI have also found a post on line that may be a way around that. Basically take all the nfcapd information and feed it to nfreplay and convert it to Netflow_V5.
Like this.
Code: Select all
nfcapd -t 300 -z -D -p 9999 -l /home/dmsh/netflow/nfcapd/ -x 'nfreplay -r %d/%f -p 9998'I am not sure this even works. If someone has some way to do this in the NNA setup I would appreciate knowing the result.
When and if you have time.
Thanks
Steve B