Research on NAT Traversal Method Based on LINUX System
- Author
- LianShuGuo
- Advisor
- WangPeiDong
- School
- Harbin University of Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP393.03 Network interconnect technology
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 162
- Citations
- 2
Abstract
With the rapid development of Internet, especial the emergence of P2P technology, a growing number of users connect to the network, to make use of the technology to exchange, to transfer files, to progress distributed computing. The application of P2P technology needs legal IP addresses, however, the shortage of IP addresses seriously limites a wide range of applications of the P2P technology in the existing network environment. In order to solve the problem, network address translation(NAT) technology is proposed. It is better to solve the problem of the shortage of public network IP address, and to ensure the network security, while NAT also affected the direct communications of peer-to-peer network. At the same time, widespread adoption of NAT circumstances, advantages of symmetric NAT such as security features and so on, are accepted by a large number of enterprises. Although, it is based on the popular STUN for UDP traversing the NAT to make a very excellent solution, it is not to traverse symmetric NAT.In order to traverse symmetric NAT, the dissertation is based on the NAT function, principle, and the basic principle of the existing program traversing the NAT to do further analysis, by comparing the research to identify the existing deficiencies,and combining with the way of P2P NAT through port prediction.The method is based on the prediction, and use the building and sending engine of Linux kernel libnet packet as well as the capturing engine of libpcap packet.The dissertation proposes the prediction algorithm based on the NAT port mapping structure. It is not only to compile the traversing algorithm of the client end and the server end, but also to expound the implementation process of the NAT traversing algorithm and to verify its feasibility furtherly. Finally, we use virtual machine to set up NAT traversal environment, it is impleted the algorithm P_P2PNAT applications, to set up TCP connection at both the client. Results of Experimental show the feasibility of the algorithm, and achieve the success of traversing the symmetric NAT.
Table of contents
Abstract 5-6
ABSTRACT 6-11
Chapter 1 Introduction 11-18
1.1 topics sources 11 <br / > 1.2 research background and significance 11-13
1.3 research and Analysis 13-16
1.3.1 NAT technology overview and status 13 -15
1.3.2 NAT traversal technology overview of the development and current situation 15-16
1.4 the main work and structural arrangements 16-18
Chapter 2 NAT works 18-28
2.1 NAT-based IP address classification 18
2.2 NAT classification 18-21
2.3 NAT 's function 21-22
2.4 NAT works 22-24
2.5 NAT working process 24-26
2.6 NAT problems posed 26-27
2.7 Summary 27-28
Chapter 3 status and NAT traversal technology solutions 28-37
3.1 NAT data transmission problem 28-29
3.2 NAT traversal techniques commonly used 29-35
3.2.1 ALG mode 30-31
3.2.2 Full Proxy way 31-32
3.2.3 MidCom way 32
3.2.4 TURN way 32-33
3.2.5 tunneling 33-34
3.2.6 STUN and STUNT way 34-35
3.3 simple comparison of various programs 35-36
3.4 Summary 36-37
port prediction P2PNAT Chapter 4 feasibility analysis and Implementation 37-54
4.1 NAT traversal problem 37-38
4.2 symmetric NAT the behavior 38-41
4.2.1 NAT mapping 38-40
4.2.2 filtering mechanism 40
4.2.3 TCP state tracking 40-41
4.3 symmetric NAT traversal based on the TCP protocol port prediction P2PNAT method 41-46
4.3.1 P2PNAT crossing method 41-42 <br / > 4.3.2 port prediction 42-43
4.3.3 P2PNAT methods of analysis and improvement 43-46
4.4 port prediction P2PNAT achieve 46-53 < br /> 4.4.1 P2PNAT port prediction algorithm implementation process 46-49
4.4.2 main data structures 49-51
4.4.3 client development process 51-52
4.4.4 server development process 52-53
4.5 Chapter Summary 53-54
Chapter 5 experimental Validation and analysis 54-60
5.1 verify that the target 54
5.2 verification environment build 54-55
5.3 system test 55-59 <br / > 5.3.1 testing process and procedures 55-57
5.3.2 test results 57-59
5.4 Summary 59-60
Conclusion 60-61
References 61-64
papers published during the study for a degree 64-65
Thanks 65
Related dissertations
- Design and Realization of P2P Traffic Identification Based on DPI
- Research of Multi-domain and Multi-overlay Mechanisms for Innovative Mobile Service Control Network
- Multi-Bloom-Filter Query Algorithms and Their Applications
- Study of Optimization Strategies for P2P Oriented3D GIS
- Named Data Networking for Tactical Information Network
- Research on P2P-based Botnet and Key Technologies
- The Study and Implementation of NAT Traversal Technology
- Design of P2P Flow Control System
- Research on distribution technology of streaming media based on virtual agent
- Analysis and Realization of P2P Application Identifying System Basing on Protocol Signature Description Language
- Research on Cache Mechanism for P2P Based Spatial Vector Data Indexing Network
- Design and implementation of instant communication system in Digital Campus Based on P2P
- Research on the Beam Automatic Modulating and Control System for SFC Injection Beam Line by Artificial Neural Network
- Research on Building Digital City Platform Based on ArcGIS Engine
- Studyon Grid File System with P2P Concepts
- Research on P2P Media Streaming Distribution in Wireless Mesh Networks
- Research on Peer to Peer Content Distribution Network Model Based on the Socail Attributes of the User
- Real-time Sharing of Multimedia System Research and Implementation Based on P2P Net
- P2P-based network applications NAT traversal solution analysis and design
- Research and Implementation of Identification for P2P Streaming Media Traffic