-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not decode netflow data #35
Comments
What is the version your trying to export using softflowd? |
I am currently using v9, so let me change it to v5 and report back. |
I have switched it to v5 and it seems to be working. I am going to let it run for a bit and if it works fine, I will close the issue. Any plan on supporting version 9? |
Ok, let me know the result. It already supports Version 9, getting the "can not decode" error message, for a short period of time after starting the solution, is a normal behavior, because it might be a flow records from the previous time from your softflowd. So just wait for a half of a minute or a minute to see if could collect v9 flows. |
Regarding getting the "can not decode" error message and getting it being normal for a short period after starting the solution, I thought it was normal, hence why I let it run for the whole night and was still seeing it after 12 hours of continuous running time and I was still getting it after that period of time. |
Thank you for submitting issue. To investigate the issue, we need to run the following commands to gather some logs from our application. 1- You need to stop the netflow collector docker images
2- Download the following logger tool and run int, wait form some minutes and after that, a file located in /tmp/nfcollector-dump.log (by default) will be created. You can change it using -out /path/to/your/log/file. Also if you are listening on different address other than default port :6859, you can change it using -addr command line option.
This file might include some confidential information like IP addresses, You can replace the confidential IP Addresses and the share it with me. Regards |
Hi, This is what you can see from the shell:
You can clearly see, that nfcollector-logger is receiving data from softflowd, it also creates the file nfcollector-dump.log. But it doesn't write anything to it. Edit: |
I got the same issues |
All this is such a mess. I ended up going with nfdump and nfsen_ng and its IPFIX/Netflow input setup. Works like a charm, waaaay less buggy than all the docker overhead and dependency hell this creates. Hints: |
Hi,
I have just discovered goNfCollector and had high hopes to use it as my netflow collector. My router/firewall is a RPI4 running OpenWrt 21.02.1 r16325-88151b8303. I installed softflowd version 1.0.0.2 on it as my netflow exporter and configured it to send the flows to goNfCollector running in docker.
As soon as I start the goNfCollector docker container, I can see the following error messages in the log:
I followed the instructions given in a different issue about downloading the
nfcollector-logger
program and running it. I did and this is the output:Additional information is supposed to be contained in the
/tmp/nfcollector-logger.log
but it is empty, even after I CTRL-C thenfcollector-logger
program.I am not sure what it happening here and why goNfCollector can't decode the netflow data coming from softflowd.
Thanks a lot in advance for your help,
Bertrand.
The text was updated successfully, but these errors were encountered: