libpcap to capture 10 Gbps NIC

后端 未结 4 2052
萌比男神i
萌比男神i 2021-01-30 01:59

I want to capture packets from 10Gbps network card with 0 packet loss. I am using lipcap for 100Mbps NIC and it is working fine. Will libpcap be able to handle 10Gbps NIC traffi

4条回答
  •  面向向阳花
    2021-01-30 02:37

    PF_RING is a good solution an alternative can be netsniff-ng ( http://netsniff-ng.org/ ). For both projects the gain of performance is reached by zero-copy mechanisms. Obviously, the bottleneck can be the HD, its data transfer rate.

提交回复
热议问题