Design of network traffic capturers based on WinPcap

Hui-ran WANG,Rui-fang MA
DOI: https://doi.org/10.3969/j.issn.1674-649X.2005.01.017
2005-01-01
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.
What problem does this paper attempt to address?