Skip to content
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

Push flows to ntopng #12

Merged
merged 1 commit into from
Aug 3, 2019
Merged

Push flows to ntopng #12

merged 1 commit into from
Aug 3, 2019

Conversation

deece
Copy link
Contributor

@deece deece commented Aug 1, 2019

Ntopng is a an open-source traffic analyser:
https://www.ntop.org/products/traffic-analysis/ntop/

Unfortunately, it cannot ingest Netflow data directly, instead,
it requires a payware component (Nprobe) to tranlate Netflow to JSON
encapsulated in ZeroMQ messages.

This patch allows softflowd to generate those messages directly,
allowing Ntopng to be used without the need for the payware component.

Signed-off-by: Alastair D'Silva alastair@d-silva.org

Ntopng is a an open-source traffic analyser:
https://www.ntop.org/products/traffic-analysis/ntop/

Unfortunately, it cannot ingest Netflow data directly, instead,
it requires a payware component (Nprobe) to tranlate Netflow to JSON
encapsulated in ZeroMQ messages.

This patch allows softflowd to generate those messages directly,
allowing Ntopng to be used without the need for the payware component.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
Copy link
Owner

@irino irino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for sending PR.
I wrote a comment for getopt options. I approve your commit, however I will change the getopt parameter and some points.

" -v 1|5|9|10|psamp NetFlow export packet version\n"
" 10 means IPFIX and psamp means PSAMP (packet sampling)\n"
" -v 1|5|9|%d|%d|psamp NetFlow export packet version\n"
" %d means IPFIX, %d means NTOPNG (if supported),\n"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer to use "ntopng" instead of "11". The version number in IPFIX header is 10 defined in RFC5101 and 7011, therefore it is not unnatural for using 10 for IPFIX.
However notpng is non-standard software. It is unnatural for using 11 for ntopng, I think.

@irino irino merged commit 377efd9 into irino:master Aug 3, 2019
@tusc
Copy link

tusc commented Jul 3, 2020

Does anyone know what version of ntop supports this? I've tried to different ones from 3.x and 4.x with no luck.

@vostorga
Copy link

vostorga commented Jul 3, 2020 via email

@deece
Copy link
Contributor Author

deece commented Jul 3, 2020

This patch exports data to ntopng, not ntop, they are different codebase.

@vostorga
Copy link

vostorga commented Jul 3, 2020 via email

@tusc
Copy link

tusc commented Jul 3, 2020

@deece , I meant to say ntopng, not ntop. Regardless it does not work with ntopng 3.x or 4.x. Is there a version it is intended to work with?

@migube
Copy link

migube commented Sep 1, 2020

hi guys
does it work to ntopng?

@irino irino mentioned this pull request May 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants