LibtraceTeam / libprotoident

Network traffic classification library that requires minimal application payload
GNU Lesser General Public License v3.0
208 stars 60 forks source link

How to integrate libprotoident wuth dpdk #42

Open anust opened 3 years ago

anust commented 3 years ago

Dpdk has its API intergation with ndpi in passive mode. Please tell us how it will be intergated to dpdk to get l7 and protocol detections.

salcock commented 3 years ago

Hi,

Libprotoident can be used with any libtrace-supported capture format, and this includes DPDK (https://github.com/LibtraceTeam/libtrace/wiki/Supported-Trace-Formats).

Any existing software tools that use libprotoident can therefore be run against a DPDK interface by simply specifying dpdk:<PCI address> as your input URI. If you're writing your own software, the DPDK URI should be provided as the argument to trace_create().