摘要
介绍了基于Libpcap和BPF包过滤器进行软件抓包的原理;针对局域网环境,在不使用专门的硬件设备前提下,设计并实现了基于Libpcap进行数据采集的流量测量系统。系统中区分了国际国内的流量,方便网络管理员进行流量控制和计费。最后,考虑了不同局域网环境下的部署问题。
In this paper, the principles of packet capture based on Libpcap and BPF are introduced at the beginning. Then, the design and implementation of a traffic flow measurement system without additional hardware devices are described. In this system, the international traffic flow and national traffic flow are differentiated making the traffic and fee control easier. The deployment of the system in different LAN environments is explained in the end.
出处
《计算机应用研究》
CSCD
北大核心
2006年第10期219-222,共4页
Application Research of Computers
基金
国家"863"计划资助项目(2001AA112040)