摘要
通过软件编程,将网卡置于混杂工作模式,可以方便地捕获IP层的数据报文。在数据捕获过程中,网络程序可以正常进行IP报文的收发,Socket套接字的工作不会受到影响。在此基础之上,针对具体项目编程,可以实现IP数据的高效捕获和分析,此方法已成功应用于GPS车辆管理系统的工程调试。在此项目中,此方法的运用,缩短了项目的调试周期,提高了工作效率。
The network adapter is put in promiscuous work mode by using software programming in order to easily capture the data message at the IP level. In the process of data capture, the network program can normally receive and send the IP message, the operation of Sockets are not affected. On this basis, aiming at the specific project programming, the high effective capture and analysis of IP data can be implemented. This method is successfully applied to the engineering commissioning of GPS vehicle management system. In this project, the application of this method shortens the debugging cycle of project and improves the work efficiency.
出处
《计算机与网络》
2015年第2期67-69,共3页
Computer & Network