文档介绍:源程序代码等全套设计联系QQ 695132052 各专业都有
分类号: U D C:D10621-408-(2007) 5774-0
密级:公开编号:2003032010
成都信息工程学院
学位论文
网络数据包捕获工具的设计与实现
论文作者姓名:
龚俊杰
申请学位专业:
网络工程
申请学位类别:
工学学士
指导教师姓名(职称):
韩斌(副教授)
论文提交日期:
2007年06月 10日
网络数据包捕获工具的设计与实现
摘要
网络数据包的捕获对于网络安全有着巨大的作用,为我们更好的分析网络中的数据流提供了帮助。
本论文是基于Windows下开发一个网络监听工具,侧重点在于实现网络数据包的捕获,然后分析并显示捕获到的数据包信息这部分功能的实现,如分析:IP首部协议类型、源IP、目的IP和端口号等。数据包的捕获是实现防火墙、网络协议的分析或者网络监听等等功能的核心内容,一般可以采用Winsock编程、Winpcap或者NDIS网络接口驱动来实现。
采用的是Winpcap(Windows Packet Capture)来实现的抓包功能。Winpcap是Windows平台下一个专业网络数据包捕获开发包,是为Libpcap在Windows平台下实现数据包捕获而设计的。Winpcap功能更加强大,不仅具备了Libpcap的功能,还具有一些其他功能。
通过VC++,然后通过预先对于IP、TCP、UDP等数据包的定义和TCP/IP等协议来解析其中包含的内容并返回显示捕获到数据包的信息,当然也可以保存捕获到的数据包到指定地点以便进一步分析。
关键词:Winpcap;NPF;VC++;TCP/IP;计算机网络;
The Design and Implementation of Capture Tool work Data Packets
Abstract
The capture work data packets plays an important part work security, which is helpful for our better analysis work data flow.
This paper is about work monitoring tool based on Windows system, which emphasizes particularly on realizing the capture and analysis work data packets and then displays them. Take analysis as an example, it will check the type of the IP protocol, the source address of IP, the destination address of IP and the port number. The capture of data packets is the basis of realizing the analysis work protocol work monitoring. Generally it can be realized via Winsock and Winpcap programming, or NDIS.
Use the Winpcap(Windows Packet Capture)to capture of data packets. Winpcap is a professional developing program based on Windows which is designed to help you to capture the data packs via Libpcap. Winpcap is much more powerful. It not only has integrated all the functions of Libpcap but also has some advanced functions.
In MFC programming of VC++, the capture work data packets can be realized via the invoking and control of the functions through a full control panel, and then the analysis of IP