My passive network monitoring
application needs packets to be captured from network interface (at higher packet rates). The packet capture module should be able to call a monitoring function upon capture of each packet (and also write the packet in to pcap
file).
I thought of using DPDK
as the packet capture module in my monitoring application (as we use pcap_loop
and pfring_loop
in libpcap
and pfring
respectively), but I am not sure whether this is one of the use cases of DPDK
, or, is DPDK
meant to be used like this?.
So my questions are.. Can I use DPDK
to fulfill my requirements?, If yes how to start?.
OS: Linux.
Karnal version: 4.
DPDK version: Latest stable.
Capture on physical device.
The capturing application has root privileges and will be used by the network administrator (as part of passive asset discovery).
I want to use DPDK because it supports capture at line rate upto 10 Gbps
Thank you.
https://stackoverflow.com/questions/66757166/can-i-use-dpdk-as-a-packet-capture-module-for-a-network-monitoring-application March 23, 2021 at 12:09PM
没有评论:
发表评论