摘要
本文研究了以太网数据包的捕获机制,实现了基于JPcap的网络数据包捕获工具,其基本原理是通过调用Jpcap库捕获本地网络上的所有数据包,然后对数据包进行协议解码,从而可以实时地监视网络的运行情况。局域网使用结果表明此工具稳定,效果较好。
Packet capture mechanism is introduced in this paper, and then the development and implement of network packet capture based on Jpcap is discussed, The fundamental principle of this system is to monitor the network on real-time through performing protocol analyzing and decoding on the packets captured from the local network using JPcap library. The result from the application in LAN also confirms that the system is steady and very effective.
出处
《微计算机信息》
2009年第21期197-199,共3页
Control & Automation