Research and Implementation of Indentifying P2P Flow with Machine Learning Based on SVM
- Author
- LiWeiXing
- Advisor
- ZhuoXinJian
- School
- Beijing University of Posts and Telecommunications
- Major
- Information Security
- Classification
- TP393.06 Computer networks, test , run
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 123
- Citations
- 2
Abstract
P2P is a network service which has a rapid development in recent years and opens the edge of the network resources. P2P users can more quickly download resources, but also be able to find some resources hard to find in peacetime. The number of users becomes more and more because of its convenience and fastness.As a result of its taking up more network resources,it causes network congestion and hampers the development of normal business and the operations of other critical services. Telecommunications operators and other companies are planning to identify P2P traffic in the network, which can take further restrictions on operations.Based on the static port, protocol and payload,the method of P2P traffic analysis has achieved good classification results. However, as the development of P2P protocols, many P2P services use dynamic ports, and even take up a fixed port, and the payload is also encrypted,so the results of the traditional classification are no longer visible, or no longer valid.This research is based on classification of P2P traffic flow, considering the port and the flow properties which are independent of the port and load.The machine learning as a guide, SVM algorithm is used to obtain classification model and the classification of the flow can be predicted based on the classification model.This paper mainly completes the following aspects of work:1. Review P2P. BT is most widely used among P2P,so focus on the work process and the principle of BT;2. Study machine learning.Describe its study meaning and content,and research its application process in flow identification. 3. Study SVM.Based on the research of its principle,propose general idea of identifying P2P flows with SVM;4. Test libSVM. Study its input methods to determine the output data format of the flow properties;5. Code for getting flow attribute data.Due to the need to handle a large number of packages to get flow attribute data, program in order to be able to quickly get bulk flow attribute data;6. Realize that libSVM predict flow.From the test data,understand the feasibility and accuracy of identifying P2P flows with SVM-based machine learning.By identifying P2P flows, Network operators and other network managers address the misuse of bandwidth resources, network performance degradation, copyright protection and other issues which are caused by the rapid growth of P2P.To network researchers,the P2P traffic identification is also a hot issue.There is need for in-depth understanding and study of P2P traffic and P2P behavior. In addition, as the study of how to use machines to simulate human learning activities,machine learning has been used widely in the fields of data mining, which gives us inspiration. This paper has a try in the study of the feasibility and accuracy of P2P flows identification using machine learning.
Table of contents
Abstract 4-6
ABSTRACT 6-10
first chapter 10-15
1.1 thesis background 10-11
1.2 research status 11-13
1.2.1 and abroad P2P flow identification method 11-13
1.2.2 existing methods defect 13
1.3 paper structure and main work 13-15
Chapter P2P research 15-25
2.1 P2P Overview 15-16
2.1.1 P2P communication mode Overview 15-16
2.1.2 current network P2P technology 16
2.2 BT principle 16-24
2.2.1 BT architecture 16-18
2.2.2 BT protocol process 18-23
2.2.3 a BT traffic detection method 23-24
2.3 Summary 24-25
Chapter of machine learning research 25-29
3.1 definition of machine learning and research significance 25-26
3.2 machine learning research 26-27
3.3 machine learning applied to the study of the flow identification 27-28
3.4 Summary 28-29
the
P2P streaming Chapter SVM recognition and realization of ideas 29-36
4.1 SVM classification principle 29-34
4.2 implementation approach based on SVM machine learning to identify P2P streaming method 34-35
4.3 section 35-36
the
fifth chapter the SVM algorithm implementations-libSVM 36-40
the
5.1 select libSVM significance is 36
5.2 libSVM in the use 36-39
the sample pretreatment
5.2.1 libsvm in the principle 36-37
5.2.2 libSVM the use 37-39
the
5.3 libSVM enter research 39
5.4 Summary 39-40
Chapter Six pack of acquisition, the flow properties of the selected and output to achieve 40-50
6.1 using Ethereal packet capture 40-45
6.2 flow characteristic attribute selection 45-46
6.3 output stream feature attributes to achieve 46-49
6.4 Summary 49-50
of Chapter VII libSVM recognition P2P streaming Details achieve 50-59
the 7.1 all flow properties as the implementation of the training set and prediction set 50-53
7.2 containing a large number of packets flow attributes as a training set to achieve 53-58
7.2.1 Block Diagram 53-54
7.2.2 detail to achieve 54-57
7.2.3 summarizes 57-58
7.3 Summary 58-59
Conclusion 59-60
the
References 60-63
the
Appendix characteristics of the output stream attribute code achieve 63-73
Acknowledgements 73-74
the
pursuing degree during the academic catalog 74
Related dissertations
- Extracting Informative Semantic Contents from Web Pages
- Research on Image Retrieval and Classification Based on Spatial Relationships
- Research on the Techniques of the Intrusion Detection Based on SVM and Bayesian Analysis
- The Analysis and Application Based on P2P Flow Characteristics
- Research on the Approach of P2P Network Traffic Classification Based on Network Trafifc Characteristics
- Research on P2P Streaming Traffic Identification
- A Novel System for P2P Traffic Identification Based on Packet Inspection and Machine Learning
- Identification of Critical Debris Research and Application Based on Machine Vision
- Incremental Learning with Label Noise for Face Recognition
- Research and Implementation of Real-time Traffic Sign Recognition System Based on Vision
- Research and implementation of audio and video advertisement detection system combining
- Research on P2P Traffic Identification in Asymmetric Routing
- 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
- The small and medium-sized enterprise bond credit risk measurement research
- Study of the Performance Measurements of Communications Manufacturing Listed Companies
- Research on Cradit Risk Evaluation Based on GRA-SVM in Real Estate Listed Companys
- The Research of BaiduZhidao Content Extraction