Design and Implementation Based the Netfilter Framework for Flow Recognition System
- Author
- WuDing
- Advisor
- YangYiXian
- School
- Beijing University of Posts and Telecommunications
- Major
- Information Security
- Classification
- TP393.06 Computer networks, test , run
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 29
- Citations
- 0
Abstract
With the widespread popularity of the Internet, the network application services become more and more colorful, network application development and user’s conmand growth, prompting today’s fast-growing Internet traffic but also to become more complicated. Urgency not only in network monitoring bandwidth utilization, more and more malicious programs such as viruses Trojans worms, spam, phishing, phishing sites, network crime phenomenon caused a great deal of pressure, but also to social stability. The face of these increasingly serious problem affecting the user experience, how to quickly and efficiently monitor the network traffic as little as possible to become critical.DPI protocol identification technology and DFI technology identification technology is widely used as two of the most effective methods. DPI technology has a high level of disaggregation, to identify the effect of a good advantage, but the disadvantage is that the recognition accuracy is unstable, unreliable and can not identify the application layer encryption protocol; the DFI technology to identify with high accuracy, the identification process is simple and easy to achieve, but the disadvantage is the level of disaggregation is insufficient to meet user’s needs.In this paper, after study the advantages and disadvantages of both recognition technology,we proposed a parallel approach to combine the advantages of both analysis and based on the shortcomings of traditional DPI firewall, get a lot of improvement in the traditional firewall, and combined advantage of DFI detection module for system design.Then, in this paper, the Linux system Netfilter framework of the implements new identification monitoring system, defines the grammatical structure of the features of the library, and design a new system architecture, the introduction of a quintuple flow table, the contrast mechanism the type proposed mechanism and concurrent formula recognition mode.Finally, we use the system that we design, take a large number of existing network tests performances and the system’s structures, the completion of the identification function and blocking the realization of the function, and finally concluded that the system designed to meet the requirements before design was begin, it have a significant improvement of the traditional DPI firewall.
Table of contents
Summary 4-5
ABSTRACT 5-9
first chapter 9-15
1.1 Background 9-10
1.2 domestic and foreign research status 10-13
1.3 research 13
1.4 thesis structure 13-15
chapter LINUX NETFILTER framework under 15-22
2.1 hooks HOOK function and achieve 15-20
2.1.1 IPv4 protocol stack HOOK 15 - 17
invoke methods 2.1.2 HOOK the 17-19
realize 2.1.3 HOOK point 19-20
2.1.4 HOOK points in the table registration and deregistration 20
2.2 IPTABLES mechanism 20-21
interact 2.3 NETFILTER and IPTABLES of 21
2.4 Summary 21 -22
Chapter traffic monitoring system related technology 22-29
3.1 stream most monitoring technology 22-26
3.1.1 DPI (Deep Packet Inspection) deep packet inspection technology 22-25
3.1.2 DFI (Deep / Dynamic Flow Inspection) depth / dynamic flow detection technology 25-26
3.2 DPI monitoring system of traditional architecture 26-27 structure
3.3 traditional traffic monitoring equipment 27-28
3.4 shortage of traditional traffic monitoring systems 28
3.5 Summary 28-29
Chapter Four new traffic monitoring system design 29-35
4.1 design ideas 29-30
4.2 new flow structure of the monitoring system design structural design nbsp 30-32
4.3 DPI improved detection module ; 32-33
4.4 DFI technology -based detection system design 33-34
4.5 Chapter Summary detailed design 34-35
Chapter V system modules and implementation 35-45
5.1 traffic interception module implementations 35 - 36
5.2 DPI detection module detailed design and implementation of 36-40
5.2.1 quintuple design and implementation of the associated table 36-37
5.2. the proposed classification system to achieve the 2 DFI DPI detection module identification process 37-38
5.2.3 improved after design 38-40
5.3 DFI detection module and implementation 40-41
5.4 design and Implementation of signatures achieve 41-43
5.5 comparison module 43-44
5.6 Summary 44-45
Chapter VI system testing and analysis 45-56
6.1 test environment 45-46
6.2 test 46-47
6.3 test data and results 47-52
6.3.1 recognition results and data 47-51
6.3.2 blocking test 51 - 52
6.4 analysis 52-55
6.5 summary 55-56
Chapter VII summary and Outlook 56-58
papers published during the study for a degree 58-59
Thanks 59-60
References 60-61