Research of P2P Flow Control Based on Linux Kernel Expanded Model
- Author
- LuoCong
- Advisor
- WangChunZhi
- School
- Hubei University of Technology
- Major
- Applied Computer Technology
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 67
- Citations
- 0
Abstract
With the continuous development of computer technology, especially network technology, the processing of more and more businesses are more dependent on the network, the network bandwidth requirements are also increasing, but the network has swallowed many unrelated business network traffic significant bandwidth, the normal operation of the network to be greatly affected. Especially now because of the rapid development of P2P technology, takes up a lot of bandwidth, resulting in a lot of business because of the bandwidth resources occupied. Traditional P2P traffic detection and control tools generally by source / destination IP address, MAC address, TCP / UDP port such as detection and control, lack of analysis of its application layer traffic, but now a lot of P2P software use dynamic port or masquerading as HTTP traffic, using traditional detection and control is difficult to detect and control P2P traffic. This article is full use of the Linux 2.4 kernel firewall framework Netfilter / Iptables scalability, combined with the linux traffic the entire line tool to identify and control P2P traffic so that network resources are rationally allocated. This paper authors propose a method of identification and control of P2P data based on the Linux kernel extension module, the first packet capture on the network, and common P2P protocol analysis framework by the Linux system firewall Netfilter connection tracking mechanism to track network the data packet, and according to the characteristics of the packet to determine the type of connection of the packet belongs. Linux Netfilter / Iptables framework of detailed analysis and results of the analysis of P2P protocols extend it, and then according to the characteristics of the various P2P application layer protocol to identify P2P traffic, then set up some filtering rules in the Linux kernel to manage P2P traffic. Using this method, but makes P2P traffic in the network is completely discarded, Linux QOS rational allocation of resources P2P network means to limit the use of bandwidth, can be used to significantly improve network performance. Developed in this paper is based on the Linux kernel extension module P2P traffic control system, is mainly used in the the rules set Iptables tables, and also combined with the queue bandwidth management rules. To analyze and identify a variety of P2P traffic based on the characteristics of the application layer, can be a total ban on some network administrators do not want to download the P2P traffic can also use Linux traffic control technology P2P download traffic control in a range to ensure stable operation of the network within. This article provides a good traffic monitoring solutions for network managers.
Table of contents
Abstract 4-5
ABSTRACT 5-8
Chapter 1 Introduction 8-14
1.1 P2P Overview 8-10
1.1.1 Definition of P2P 8
1.1.2 P2P history 8-9
1.1.3 P2P features 9-10
1.2 research status
1.3 Source of topics, background and significance 10-12
1.4 related concepts 12
1.5 This paper studies the content 12-14
Chapter 2 P2P networks and P2P protocol analysis 14-21
2.1 P2P major network model 14-18
2.1.1 centralized P2P network model 14-15
2.1.2 Distributed P2P network model 15-16
2.1.3 hybrid P2P network model 16-18
2.2 common P2P protocol analysis 18-20
2.3 This chapter Summary 20-21
Chapter 3 Linux kernel firewall framework and expand 21-39
3.1 Linux 2.4 kernel firewall mechanism 21-22
3.2 Netfilter foundation 22-24
3.2.1 Netfilter framework 22
3.2.2 Netfilter works 22-23
3.2.3 package select Tools Iptables 23-24
3.2.4 connection tracking mechanism 24
3.3 Netfilter program interface 24-27
3.3.1 kernel module 24-26
3.3.2 user space parameter transfer analysis 26-27
3.4 IPTables realization and expansion 27-33
3.4.1 IPTables core data structure 27-30
3.4.2 the IPTables of expansion 30-33
3.5 connection tracking / Network Address Translation implementation and expansion 33-38
3.5.1 connection tracking / NAT function called checkpoint 33-34
3.5.2 Connection Tracking data structures and workflow 34-36
3.5.3 Connection Tracking / address translation expansion 36-38
3.6 Chapter Summary 38-39
Chapter 4 kernel extension module-based P2P traffic control to achieve 39-56
4.1 flow control system design 39
4.2 P2P protocol application layer recognition achieve 39-41
4.3 traffic identification system test 41-48
4.3.1 test environment build 41
4.3.2 the P2P-BT protocol identification test 41-44
4.3.3 on the P2P-GUNTELLA protocol identification test 44-45
4.3.4 of P2P-eDonkey protocol identification test 45-46
4.3.5 on P2P-Fasttrack protocol identification test 46-48
4.4 bandwidth management implementations 48-55
4.4.1 Traffic Management principle 48-50
4.4.2 Traffic Management feature designed 50-51
4.4.3 application traffic management functions 51-55
4.5 of this chapter Summary 55-56
Chapter 5 Conclusions and Outlook 56-58
the
References 58-61
Acknowledgements 61-62
Appendix 62
Related dissertations
- Optimization Technology on Packet Filtering of Firewall
- Firewall and Log Analysis on Linux
- The Embedded Firewall Based on IXP425Network Processor Design
- Design and Implementation of Firewall Based on the Behavior Detection
- Design and implementation of Firewall Based on content filtering software
- Configration and Analysis of Netfilter/Iptables in Linux Kernel
- Design and Implementation Based on Netfilter/Iptables Firewall
- Modeling and Analyzing VoD System Based on BitTorrent
- IPv6 hardware firewall design and implementation of fast data channel
- Research and Implementation of Personal Firewall Based on Windows
- Key Technology of Firewall Based on Content Filter
- Intel IXA architecture - based firewall technology
- Design and Implementation of Firewall Toolkit Based on Linux
- Integrated firewall protection system
- Research and Realization of Linux-based Network Firewall
- Linux based the netfilter firewall performance analysis and research
- IPv6-based firewall system design and implementation
- Content Inspection Firewall System Design and Implementation
- A Packet Filtering Firewall Based on SPI and NDIS HOOK
- Research and Implementation of P2P Traffic Control Based on QoS Bandwidth Management