The Design and Implementation of Network Traffic Monitor System
- Author
- CiZuoZuo
- Advisor
- ShiJun
- School
- Shaanxi Normal University
- Major
- Computer Software and Theory
- Classification
- TP393.06 Computer networks, test , run
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 116
- Citations
- 0
Abstract
The rapid development of network not only brings about convenience to the enterprise and users, but also poses a severe challenge to network management. Excessive data communication in the LAN, as well as between the LAN and the Internet, leads to network and network devices need endure tremendous pressure in the load, the efficiency, and security. Meanwhile these faults such as network intermittence, slow network speed, and unable to locate the attack source when the network is attacked have been restricting the normal operation of the network. In order to grasp the status of the network traffic behavior, better manage network, we need to carry out effective monitoring and analysis to network traffic in the face of such a complex project like the Internet. Therefore, the study and implementation of traffic surveillance system have both real-life value and research significance.This paper designs and implements network traffic surveillance system based on WinPcap. Firstly, the paper summarizes the measurement theory, comprehensively relates the meaning and the use of network traffic measurement, and the measurement technology, including active measurement, passive measurement and sample measurement. In addition, the paper introduces measurement model, emphasizes the flow-based measurement model used in this paper, and discusses the evaluation criteria of network traffic monitoring system, to lay the foundation for the follow-up system implementation.Secondly, the article comprehensively narrates the key technologies used in the traffic monitoring system, including ARP address resolution, multi-thread technology, timers, and SQL Server database technology. Then deeply analyzes the network packets capture technique—WinPcap, including a description of its structure, and introduces the central part—NPF, including its drive’s structure and working principle.Thirdly, the paper designs the overall network traffic monitoring system based on the content described above. The paper introduces the requirement analysis, then according to the overall structure divides the system into four functional modules: network packets capture module, traffic analysis module, traffic statistics module, data storage module. At the same time, the basic functions of each module and the interaction between the various functional modules are expatiated. After that, describes the environment of the system development and operation. In addition, designs and analyzes the system database in detail, including designing of database concept structure and the physical structure, and the designing process of data tables used in the system.Fourthly, we carry out the detailed design and implementation of the network traffic monitoring system. The paper details the real-time monitoring interface, including the establishment of the application based on dialog, the creation of the system required control and the choice of their type, as well as the establishment of corresponding variable, and the initialization process of the control. The paper detailedly designs the packet capture module; analyzes the data structure; elaborates the process of WinPcap packet capture; introduces that ARP obtains the MAC address and the list of active hosts of the LAN in detailed. At the same time, designs and implements the others modules:traffic analysis module, traffic statistics module and data storage module. Various modules cooperate in order to accomplish the goal of the network traffic monitoring system.Finally, the paper testes and analyzes the system after the completion of each function module. And writes a series of specific test cases, through these four aspects, including test function, test cases, test results, and if the function achievement we carry out the testing. Ultimately, this graduation project completes a user-friendly real-time traffic surveillance system, and the system has the advantages of real-time, effectiveness, stability, and reliability. Then briefly discusses and analyzes the whole content and poses the shortages of the system. Meanwhile points out the next researches in our future.
Table of contents
Summary 3-5
Abstract 5-10
Chapter 1 Introduction 10-16
1.1 Background 10 <br / > 1.2 Research Status 10-12
1.3 purpose 12-13
1.4 The main work 13-14
1.5 nbsp organization and structure of this article ; 14-16
Chapter 2 Overview of network traffic measurement 16-22
2.1 flow Measurement meaning and purpose 16-17
2.2 network traffic measurement technical 17-19
2.2.1 active measurement technology 17-18
2.2.2 passive measurement techniques 18-19
2.2.3 sampling measurement techniques 19
2.3 network traffic measurement model 19-21
Evaluation Criteria 2.4 traffic monitoring system 21
2.5 Summary 21-22
Chapter 3 network traffic monitoring system related technical presentations 22-30
3.1 ARP address Resolution 22-23
3.2 multithreading technology 23-24
3.2.1 thread classification 23-24
3.3 timer technology 24
3.4 SQL Server 2000 database 24-25
3.5 network traffic capture technology 25-28
3.5.1 WinPcap analysis and research 26
3.5.2 NPF driver structure and working principle 26 -28
3.6 Summary 28-30
Chapter 4 traffic Monitoring system Design 30-40
4.1 system Requirements Analysis 30-31
4.2 overall system architecture 31-34
4.3 system development and operation environment 34-35
4.3.1 runtime environment 34 <br / > 4.3.2 system development environment 34-35
4.4 system database design 35-39
4.4.1 database structural design concept 35-37 <br / > 4.4.2 database physical design 37-39
4.5 system deployment example of FIG. 39
4.6 Summary 39-40
Chapter 5 traffic monitoring system functional modules implementation 40-62
5.1 real-time monitoring interface design and implementation 40-45
5.1.1 Forms technical Analysis 40 -41
5.1.2 main form realization 41-44
initialization 5.1.3 main form controls 44-45
5.2 network packet capture module 45-50
5.2.1 Key data capture module structure detailed design nbsp 45-46
5.2.2 network packet capture module ; 46-48
5.2.3 ARP MAC address and LAN events host 48-50
5.3 traffic analysis module 50-54
5.3.1 traffic analysis module of the data structure 51-52
5.3.2 data Analysis module implementation 52-54
5.4 traffic statistics module 54-57
5.4.1 statistics module specific implementation process 54-57
5.4.2 statistical mode setting 57
5.5 data storage module 57-60
5.5.1 packet 58-60
5.6 program running example ; store binary files choose 57-58
5.5.2 database connection and the specific realization nbsp 60-61 <br / > 5.7 Chapter Summary tests 61-62
Chapter 6 traffic Monitoring system 62-66
6.1 test case design and implementation 62-64 <br / > 6.2 Chapter Summary 64-66
Chapter 7 summary and Outlook 66-68
7.1 summarizes 66-67
7.2 Prospects 67-68
References 68-72
Thanks 72-74
studying for a master's degree research during 74
Related dissertations
- Realtime Detection and Recovery of ARP Spoofing Based on WinPcap
- Study on Network Security Technologies of Marine Safety Information System
- A Simple Study and Realization of Passive Sniffing Detection
- Based on DNMAI architecture of distributed network measurement system with
- The Monitor of the City Economic Development Zone Land Market
- Urban Sprawl Pattern and Measurements:a Case Study of Wuhan City
- The design and Realization of flight quality monitoring system
- Design and Implementation of A Network Access Monitoring System for User
- Research about Content Delivery Network Monitor Based on Web Platform
- The State Monitoring of the Process of High Precision Ball
- Design and Experimental Research of Greenhouse Environment Computer Control System
- The Electronic Reading Room ARP Virus Detection and Localization System Research
- Research and Implement of Ipman XP Software Based on WinPcap
- A Study and Realization on Network Sniffing Technology of MFC Net Based on WinPcap
- Research on Attacks and Prevention Technology Based on ARP and PPPoE
- Design and Implementation of KAD Network Measurement System
- Design and Implementation of Server Monitoring System Based on Traffic Information
- The Technology of Designing and Monitoring for Complex Simulation Experiments
- Design and Implementation of Business Supporting Network Management
- Statistics and Analysis about User’s Data of Surfing the Internet Based on J2EE