摘要
比较了Libpcap、Libpcap-mmap、PF_RING数据包捕获方法的结构和特性,介绍了PF_RING接受数据的3种方式。并在BROADCOM网卡上实现了PF_RING的支持。实现使用PC加软件的方式高速抓包,与传统抓包方法相比,显著提高了抓包性能,降低丢包率。
This paper introduces the structures and characteristics of the packet capture methods based on Libpcap,Libpcap-mmap,PF_RING. It also introduces PF_RING to receive data in three ways. PF RING support implement in BROAD- COM network. By PC software plus software way to capture packet in high-speed, compared with traditional methods of capture, it improves capture per-formance significantly and lower packet loss rate.
出处
《微型电脑应用》
2012年第11期22-25,共4页
Microcomputer Applications