nfdump-1.7 Beta testers wanted. #308
Replies: 59 comments
-
Any good replacement to inject data in influxdb if |
Beta Was this translation helpful? Give feedback.
-
Problem:Issue is related to setting PID file for nfcapd/sfcapd/nfpcapd. Description:In version 1.7.0 there is requirement of creating pid file before launching mentioned programs (but is removed automatically on exit) which sometimes could lead to incompatibility problems. Maybe requirement should only apply to dirname of pid path. The problem is caused by using realpath() on argument parsing and removing code which creates pid file (by open() call). For version 1.6.x pid file is created by mentioned programs, which is appropriate in my opinion. Expected behaviorPid file should be created, if possible, by nfcapd/sfcapd/nfpcapd. |
Beta Was this translation helpful? Give feedback.
-
Problem:Issue is related to Description:In version 1.7.0 flag Expected behaviorConsistence between nfcapd and sfcapd arguments (remove |
Beta Was this translation helpful? Give feedback.
-
Problem:Issue is related to Description:In version 1.7.0 flag Expected behaviorConsistence of nfcapd,sfcapd and nfpcad arguments (remove |
Beta Was this translation helpful? Give feedback.
-
Problem:Typos and missing man/usage info. Description:Typos:
Missing info/usage examples:
Expected behaviorRemove typos and update man/usage. |
Beta Was this translation helpful? Give feedback.
-
Problem:Verbose output of nfcapd. Description:Debug info (DumpHex) after launching nfcapd in non debug mode. Expected behaviorUse |
Beta Was this translation helpful? Give feedback.
-
Are you planning full adapting sflow code from sflowtool to nfdump? I have noticed that you have made a step towards it (ex. add To extend sflow code i can address my PR (master branch): #290 |
Beta Was this translation helpful? Give feedback.
-
Problem:Wrong pipe output format (-o pipe) with aggregation (-A) Description:For version 1.7.0 pipe output format together with aggregation mode results with one long line instead newline separated records/flows (with Expected behaviorRecords/flow in pipe output format with aggregation should be newline separated. |
Beta Was this translation helpful? Give feedback.
-
Thanks - Fixed in 47595c7 |
Beta Was this translation helpful? Give feedback.
-
Thanks - Fixed in bbd3408 |
Beta Was this translation helpful? Give feedback.
-
Thanks! Fixed in 3b9731a |
Beta Was this translation helpful? Give feedback.
-
Thanks! Fixed in ef739d8 |
Beta Was this translation helpful? Give feedback.
-
Thanks. Fixed in 67efa0e |
Beta Was this translation helpful? Give feedback.
-
What information are you exactly missing? So far, the goal was to have pretty much the same information from netflow/sflow collectors - with variations of course. I am not an sflow user and have no sflow equipment. I am open to integrate fields which are of interest to users, but do not want to blindly integrate each and every information. |
Beta Was this translation helpful? Give feedback.
-
I am not sure if I understand you correctly. The pid files are created by nfcapd/sfcapd/nfpcapd.. Could you please elaborate more detailed? |
Beta Was this translation helpful? Give feedback.
-
Now I moved to CentOS Linux 8 - Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz |
Beta Was this translation helpful? Give feedback.
-
Problem:Issue is related to time window reporting and processing by nfdump. EnviromentOS: Debian 9, Debian 8 Description:Pcap and generated nfcapd file:nfdump_issue_data.tar.gz Flag
NOTES: Error source:
Expected behaviorTime window value should be properly handled by nfdump (and valid reported time window). |
Beta Was this translation helpful? Give feedback.
-
@phaag is this handled now? |
Beta Was this translation helpful? Give feedback.
-
Problem:Issue is related to occassionaly error during collecting IPFIX records by nfcapd. EnviromentOS: Debian 9, Debian 8 Description:
Some records during collecting IPFIX records are malformed (I can not detect why on my own). I had noticed that more malformed records occurred for shorter time interval (
Sometimes other fields (other than time, bytes, packets, etc) are also malformed, eg.
NOTES:
Expected behaviorPlease detect and remove problem source - no malformed records. |
Beta Was this translation helpful? Give feedback.
-
Fixed in 8ee9de8 |
Beta Was this translation helpful? Give feedback.
-
I had the virt. memory issue once on a Debian 5.9.15-1kali1, however, it resulted from a dirty git repo, after a git pull - not sure, what caused this effect. Deleting the entire repo and re-downloading/rebuilding fixed this. The virt memory is comparable with nfdump-1.6.x. So far I could not reproduce malformed records. I tested with the same command line options. I keep testing |
Beta Was this translation helpful? Give feedback.
-
I'm still experiencing two issues:
Both issues was reproduced in docker environment using prepared project Issues should be treated separately (it seems there is no direct relation between). Environment
Problem: Growing virtual memory size - blocked processDescription:Running process of nfcapd/nfcapd increases its virtual memory size on every file How to reproduceI was able to reproduce this issue in testing environment nfdump-tcpreplay-docker with no changes. NOTES: Expected behaviorReduce virtual memory usage. Problem: Error during collecting IPFIX records by nfcapdDescription:This is copy of previously mentioned problem - some records during collecting How to reproduceI was able to reproduce this issue in testing environment nfdump-tcpreplay-docker with following notes:
I have noticed that reproduction of this issue is more likely using more In my case there is 4 netflow exporters which generate 10s nfcapd files with
Expected behaviorNo malformed records in nfcapd.* files. |
Beta Was this translation helpful? Give feedback.
-
The virtual memory issue should be gone with commit 4871d29. To speed up, you may set -t 2 down to 2 s rotation time. Please check, if it works now. |
Beta Was this translation helpful? Give feedback.
-
Hi, After that commit I get sometimes error during reading files:
Unfortunately I'm still experiencing issue related to malformed records - I'm trying to generate appropriate pcap file with no confidential data. Malformed elements are usually 'bytes' (the most common), 'packets', and time related fields. Maybe have you any tool/method to anonymize ipfix/netflow records in pcap files? I have tried capturing traffic generated by nfreplay on anonymized nfcapd.* file using netflow v9 but segmentation fault occurs (maybe conversion from ipfix to netflow v9 is not possible?) |
Beta Was this translation helpful? Give feedback.
-
The pthread_join() messages are removed in the latest commit. I also fixed some threading issues as well. |
Beta Was this translation helpful? Give feedback.
-
Yes, after rebuilding image (commit 87fb3ba) error messages gone (and virtual memory usage decrease ci. 330M). I have noticed that problem occurs if there are more IPFIX exporters (in my case 4) - I also wasn't able to reproduce this error with single exporter. I have sent all mentioned data to your email address. |
Beta Was this translation helpful? Give feedback.
-
Thanks! The memory footprint is further reduced with commit 81b3f12 as well as the coredump with nfreplay. |
Beta Was this translation helpful? Give feedback.
-
If you have 4 IPFIX exporters sending data to same collector, they must have different observation domain IDs. Otherwise you will run into corrupt data. There is no way to avoid this. |
Beta Was this translation helpful? Give feedback.
-
Yes, they have different observation domain IDs - as I have said before: I replay recorded data and errors occur occasionally (most of the time everything is ok). |
Beta Was this translation helpful? Give feedback.
-
I convert this issue in a discussion, as it is a better place. nfdump-1.7-beta testers still wanted :) |
Beta Was this translation helpful? Give feedback.
-
The code for nfdump-1.7 settles slowly. Beta testers are wanted and welcome. If you want to test nfdump-1.7 please check out the unicorn branch:
git clone -b unicorn https://github.com/phaag/nfdump.git nfdump-1.7
Comments and bug reports are welcome.
Beta Was this translation helpful? Give feedback.
All reactions