A study of P2P traffic identification based on characteristic string
- Author
- ZhaoRui
- Advisor
- HuJian
- School
- University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TP393.06 Computer networks, test , run
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 266
- Citations
- 10
- P2P
- traffic identification
- Protocol feature string
- single pattern matching algorithm
- Netfilter / iptables
Abstract
With the continuous development of P2P applications, P2P traffic has occupied 60% and 80% of the total Internet traffic. The rapid growth of P2P traffic result in unreasonable allocation and huge consumption of network bandwidth (and may even cause network congestion) degradation of network quality of service. Therefore, accurate identification of P2P traffic is of great significance to guarantee QoS, traffic monitoring, billing management. Network traffic identification technology is the basis of the P2P traffic identification. This paper examines the development and current status of the network traffic identification technology. Found a limited number of port-based traffic identification method to be able to identify the protocol, and the accuracy rate is not high; by comparing several traffic identification technology works, and the emerging recognition method based measure is not yet detailed classification of network traffic, also need further refinement; protocol features of string-based recognition method is currently the most mature technology, widely used in a variety of traffic identification system, able to achieve the accurate identification of P2P traffic. P2P protocol analysis for traffic identification protocol-based features, is the premise and foundation. This paper analyzes the working principle of the P2P applications, network model and its key technologies and implementation mechanism of BitTorrent, eDonkey, Gnutella, Kazaa and DirecConnet five most widely used P2P protocols, interaction process analysis as well as the format of the message , summed up their agreement features string. Take advantage of these features string can be efficient and accurate identification of P2P traffic, able to meet the the flow needs identified in the current high-speed, high-bandwidth network environment. P2P traffic identification process, the pattern matching algorithm plays a key role. This paper analyzes the existing single pattern matching algorithm design ideas and implementation mechanisms, and integrated the advantages of the BM, BHM well QS algorithm, design a new improved algorithm for network traffic identification. (The algorithm is able to meet the network traffic identification requirements, to reduce the number of comparisons, increased the moving distance of the matching window.) And to test the performance of the algorithm, prove that the improved algorithm can improve the matching efficiency, shorten the matching time. P2P traffic identification need to rely on efficient and stable development platform. Netfilter / iptables framework is structured Linux provides the underlying framework, the framework can drill down the protocol stack of the Linux kernel network packet flexible, efficient process. Protocol feature string and use of research to get the improved algorithm, based on Netfilter / iptables framework, the development of P2P traffic identification module. Tests prove that the module can be used to identify P2P traffic. In summary, the papers around P2P traffic identification, network traffic identification technology; design characteristics of P2P protocol string; improved pattern matching algorithm, and using the research to the development of P2P traffic identification module based on Netfilter / iptables framework The module can be used to identify the P2P traffic.
Table of contents
Abstract 4-6
ABSTRACT 6-11
The first chapter 11-16
1.1 Background 11-13
1.2 research status 13-14
1.3 research 14-15
1.4 papers organizational structure 15-16
Chapter II application-layer protocol identification technology research 16-20
2.1 protocol identification of the basic concepts of 16
2.2 application layer protocol identification method 16-19
2.2.1 port-based protocol identification 16-17
2.2.2 protocol identification based on characteristic string 17-18
2.2.3 Measure-based traffic identification 18
2.2.4 Comprehensive Identification 18-19
2.3 Chapter Summary 19-20
Chapter P2P technology research 20-27
3.1 P2P Technology Overview 20-22
3.1.1 P2P mode and C / S pattern comparison 20-21
3.1.2 P2P technology 21-22
3.2 P2P network model 22-25
3.2.1 centralized directory-based P2P structure 22-23
3.2.2 pure distributed P2P network model 23-24
3.2.3 hybrid P2P network model 24-25
3.3 Chapter Summary 25-27
Chapter IV characteristics of P2P protocol string of 27-45
4.1 P2P protocol features string design requirements 27-28
4.2 P2P protocol design feature string 28-43
4.2.1 BitTorrent protocol 29-33
4.2.2 eDonkey protocol 33-36
4.2.3 Gnutella protocol 36-40
4.2.4 Kazaa agreement 40-42
4.2.5 DirectConnect protocol 42
4.2.6 P2P protocol features string summary 42-43
4.3 Chapter Summary 43-45
Chapter pattern matching algorithm 45-61
5.1 Pattern Matching Algorithms 45
5.2 single pattern string matching algorithm 45-55
5.2.1 BF algorithm 46-47
5.2.2 KMP algorithm 47-50
5.2.3 BM algorithm 50-53
5.2.4 BMH algorithm 53-54
5.2.5 QS algorithm 54-55
5.3 Improved algorithm design 55-58
5.3.1 algorithm works 56-57
5.3.2 algorithm matching process 57-58
5.3.3 Performance Analysis 58
5.4 algorithm performance test 58-59
5.5 Chapter Summary 59-61
Chapter P2P traffic identification module 61-86
6.1 module needs analysis 61-62
6.2 NETFILTER / IPTABLES framework 62-65
6.2.1 Netfilter 62-64
6.2.2 iptables 64-65
6.3 P2P traffic identification module design 65-66
6.4 P2P traffic identification module 66-80
6.4.1 Flow identification process 66-68
6.4.2 Expanded matching 68-74
6.4.3 User Interface Extension 74-78
6.4.4 Rules filling process 78-80
6.5 module function test 80-85
6.5.1 test environment 80-81
6.5.2 testing program 81-82
6.5.3 Test Results 82-85
6.6 Summary 85-86
Chapter Summary and Outlook 86-89
7.1 paper summarizes 86-87
7.2 Prospects for further work 87-89
Thanks 89-90
References 90-93
attack Shuo research results achieved during the 93-94
Related dissertations
- Research of P2P Traffic Identification Technology Based on IPv6
- Research on P2P Traffic Identification Using Behavior Characteristics
- Research and Realization of P2P traffic identification method
- Research on P2P Resource Optimization and Several Security Issues
- Research on P2P Traffic Identification in Asymmetric Routing
- The Research on Identification of P2P Streaming Traffic
- Research on Key Identification Method of P2P Traffic
- Traffic Identification and Measurement of VoIP and P2P IPTV Applications
- The Research on the Application of Flow Feature Selection in P2P Traffic Identification
- Microfinance Wholesale Mechanism Research and Construction Analysis
- The Investigation Report of P2P Lending
- Risk Management of P2P Network Financing Mode
- The Construction of P2P Networks Lending Risk Management System in China
- Research on Knowledge Sharing Model of Semantic Community Based on P2P Networks
- Optimization Campus Network Cache with Two Value Hopfield Network Model
- The Application of P2P Traffic Identify and Monitoring Technology In the Network Operation
- The Research and Design of the Internet Behavior Management System Traffic Management
- Research and Application Based on the Fpga Network Traffic Behavior Analyzer
- Design and Realization of P2P Traffic Identification Based on DPI
- Design and Implementation of P2P-VoD System Based on BitTorrent