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

How to Integrate nDPI for Deep Packet Inspection into a Python Project? #2505

Open
Nishi13official opened this issue Jul 17, 2024 · 4 comments
Labels

Comments

@Nishi13official
Copy link

Type your question in a clear and concise way to help the community answering it.I am looking for guidance on how to effectively use ndpi and integrate it into my Python project. Specifically, I need assistance with the following:

  1. Understanding ndpi: I would appreciate resources or explanations that detail what ndpi is and its capabilities.

  2. Integration with Python: I am interested in examples or documentation that demonstrate how to integrate ndpi into a Python project. Any sample code or step-by-step guides would be incredibly helpful.

If anyone has experience with ndpi or can point me in the right direction to get started, I would greatly appreciate your insights. Thank you in advance for your assistance!

@IvanNardi
Copy link
Collaborator

You can take a look at https://github.com/ntop/nDPI/blob/dev/python/README.md

@Nishi13official
Copy link
Author

Thanks for the informative link! It was very helpful in implementing nDPI in my API. I’m now looking to extend my implementation to generate a CSV file from the nDPI analysis results.
Here’s what I’ve done so far:
I’ve successfully integrated nDPI into my API

Thanks in advance

@Nishi13official
Copy link
Author

I’m now looking to extend my implementation to generate a CSV file from the nDPI analysis results.Do anyone have idea about that ?

@IvanNardi
Copy link
Collaborator

@Nishi13official, you can take a look at ./example/ndpiReader -K csv -k output.csv -v2 -i $INPUT_PCAP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants