Description: 相信各位都玩过SOCKET编程,用CSocket进行网络通讯非常方便,但有时想搞点底层点东西却非常麻烦,用windows的API最低也只能SOCK_RAW,顶多能看到IP层数据,如果想处理数据链路层的数据就无从下手了,幸好某天发现了winpcap东西。用了它处理底层的东西就非常方便。
winpcap主要有两个dll供程序员直接调用,pcap.dll和packet.dll,本程序主要使用pcap.dll.详细请看代码,本人也是刚接触WinPcap,所以一不定有一些错漏的地方,请各位大蝦不要见笑。
如果程序有编译不过去的地方,请务必先按装winPcap库,更新VC6的PlatformSDK
-I am sure we all played SOCKET programming, use CSocket for network communication is very convenient, but sometimes want to point at the bottom of things is very troublesome, with the lowest API of windows can only SOCK_RAW, at most able to see IP layer data, if you want to deal with data link layer data can never gain the upper hand, and fortunately found one day things WinPcap. Deal with it on the bottom of things very convenient. WinPcap has two main dll programmers for direct call, pcap.dll and packet.dll, the main use of this procedure pcap.dll. details please see the code, and I was a刚接触WinPcap, so one has some mistakes in the indeterminate place, please not a laughing stock of shrimp. If the program does not have to compile the last place, be sure to press installed Winpcap library updated VC6 the PlatformSDK Platform: |
Size: 48128 |
Author:iie9615 |
Hits:
Description: winpcap程序开发,实行网络抓包,对TCP/UDP协议分析.-WinPcap development, the implementation of the network capture of the TCP/UDP protocol analysis. Platform: |
Size: 102400 |
Author:黄锦 |
Hits:
Description: 饮水思源。决定分享自己的MFC编程开发经验。
ZXG_MySniffer网络抓包分析仪软件说明文档
一、 软件功能描述:
1、 能够获取本地网卡信息,包括以太网卡、无线网卡和虚拟网卡的所有详细数据;
2、 支持IP、ICMP、ARP、RARP、TCP、UDP等六种协议,提供用户自选包过滤规则;
3、 可多线程抓取数据包,并列表显示抓取的数据包;支持从数据链路层到传输层的包字段分析;支持包内数据明细记录;
4、 支持ARP查询功能,可多线程查询与本地以太网卡位于同一网段内的所有激活的主机MAC地址,查询进度动态显示;
5、 支持窗口拆分功能,可动态调整视图大小;记录鼠标移动位置,可在状态栏动态显示鼠标当前的屏幕坐标;
6、 支持整体界面更换皮肤功能。系统内置4种皮肤,同时提供动态加载皮肤文件换肤的操作。支持界面回切系统默认样式的效果。
二、 开发包的名称和版本:
1、 名称:WinPcap
2、 版本:4.1.1 win32 x86
三、 编程环境:
1、 名称:Visual Studio 2005
2、 版本:Team
-Forget their roots.
Decided to share their MFC programming development experience.
Ethereal Network Analyzer software ZXG_MySniffer Documentation
First, the software function description:
1, to obtain the local network card information, including Ethernet cards, wireless cards and virtual cards of all the details
2, support for IP, ICMP, ARP, RARP, TCP, UDP and other six agreements, providing user selectable packet filtering rules
3, packets can be multi-threaded crawl and list shows the capture of data packets support from data link layer to transport layer packet field analysis support packet data in the detail records
4, support the ARP query function, multi-threaded check with the local Ethernet card in the same network segment to all active host MAC address, and check the progress of dynamic display
5, support the split window feature, dynamically adjust the view size record mouse position, can be dynamically displayed in the status bar the current screen Platform: |
Size: 11778048 |
Author:G。G。 |
Hits:
Description: This Manual describes the programming interface and the source code of WinPcap. It provides detailed descriptions of the functions and structures exported to programmers, along with complete documentation of the WinPcap internals. Several tutorials and examples are provided as well.-This Manual describes the programming interface and the source code of WinPcap. It provides detailed descriptions of the functions and structures exported to programmers, along with complete documentation of the WinPcap internals. Several tutorials and examples are provided as well. Platform: |
Size: 335872 |
Author:hyboo |
Hits:
Description: 网络抓包与协议分析
1.实验目的
(1)熟悉和掌握网络编程的基本方法和步骤;
(2)进一步理解TCP/IP协议各层的功能和格式;
(3)加深学生对网络抓包的设计和实现方法的理解;
(4)熟悉原始套接字编程接口(或winpcap编程)。
(5)掌握SQL Server数据库系统的编程应用。
2.实验任务
要求:
(1)实现图形用户界面;
(2)能利用原始套接字编程接口(或winpcap)进行抓包;
(3)能对抓包的内容进行分层显示和各字段数值显示;
(4)可对抓包进行过滤(只抓某种类型的包);
(5)将抓包的内容存入数据库。-Network packet capture and protocol analysis. Familiar with and master the basic network programming methods and procedures experimental purposes (1) (2) to further the understanding of the function and format of each layer of the TCP/IP protocol (3) to deepen students' understanding of the design and implementation of network packet capture ( 4) be familiar with the original socket programming interface (or winpcap programming). (5) The master SQL Server database system programming applications. 2. Experimental task requirements: (1) graphical user interface (2) can be used raw socket programming interface (or winpcap) Ethereal (3) hierarchical display of the contents of the packet capture and field values (4) the capture filter (grasping only a certain type of package) (5) to capture the contents stored in the database. Platform: |
Size: 59392 |
Author: |
Hits:
Description: 熟悉ARP协议并了解Winpcap编程,或者下载JAVA类:jpcap包构造ARP包,选择并打开网卡,将ARP包发送。-Familiar with and understand the Winpcap ARP protocol programming, or download a JAVA class: jpcap packet construction ARP packets, select and open the card, the ARP packet is sent. Platform: |
Size: 2630656 |
Author:子苏 |
Hits: