首页 | 本学科首页   官方微博 | 高级检索  
     检索      

基于WinPcap的网络流量捕获器的设计
引用本文:王会燃,马瑞芳.基于WinPcap的网络流量捕获器的设计[J].西安工程科技学院学报,2005,19(1):64-69.
作者姓名:王会燃  马瑞芳
作者单位:[1]西安工程科技学院计算机科学学院,陕西西安710048 [2]西安交通大学电信学院,陕西西安710049
基金项目:The research was sponsored by the science fund of Shaanxi Education Bureau( 0 1JK185)
摘    要:研究网络流量规律时,第一项工作是从网络中捕获报文.介绍了流量捕获器的两种基本设计方法,一种方法基于NDIS,另一种方法基于WinPcap.重点讨论第二种方法.介绍了WinPcap的结构,把WinPcap提供的函数分成三种类型.设计者可以基于这种分类方法配置开发环境,例如定义预处理器、设置工作目录等.详细介绍了三个基本函数pcap_findalldevs_ex(),pcap_open()和pcap_next_ex().最后,给出了设计实例及其运行结果.

关 键 词:网络管理  网络流量捕获器  网络监视器  WinPcap

Design of network traffic capturers based on WinPcap
WANG Hui-ran,MA Rui-fang.Design of network traffic capturers based on WinPcap[J].Journal of Xi an University of Engineering Science and Technology,2005,19(1):64-69.
Authors:WANG Hui-ran  MA Rui-fang
Institution:WANG Hui-ran~1,MA Rui-fang~2
Abstract:The first step in understanding of traffic is capturing packets from the network. This paper introduces two approaches to develop the traffic capturer/monitor, one of which is based on NDIS (Network Driver Interface Specification), the other is based on WinPcap. The later is discussed in details. This paper outlines the WinPcap architecture. The functions exported by WinPcap are classified in three types. On this classification, we can accurately configure the developing environment, e.g. define the preprocessors, set working directories. Three basic functions, i.e. pcapfindalldevsex(), pcapopen(), and pcapnextex(), are interpreted thoroughly. In the end, a step-by-step example is given with its outcomes.
Keywords:network management  traffic capturer  network monitor  WinPcap
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号