ntop/ndpi ? reverse-engineered prompt

Reverse engineered prompt

Build me a C library for deep packet inspection that can look at network traffic and पहचान what protocols and applications are being used from packet data or PCAP files.

I want it to be useful for security and traffic analysis, with a clean way to add new protocol detectors, basic flow tracking, and support for common test and example programs. Please include a small set of docs that explain how to compile it, run the tests, and add a new protocol detector. If it makes sense, also include bindings or helpers for Python and simple integration examples for things like Wireshark or exporting flow info.

Make sure it builds on Linux, macOS, and Windows if possible, and include unit tests plus a few sample captures for validation. If you need to look up current build or dependency details online, go ahead and do that.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab