Research and Implementation of NAT Travesal of Peer-To-Peer Networks
- Author
- ZhangZePeng
- Advisor
- WenXiangMing
- School
- Beijing University of Posts and Telecommunications
- Major
- Communication and Information System
- Classification
- TP393.02 Computer network architecture and design
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 128
- Citations
- 2
Abstract
With the development of P2P (Peer-to-Peer) technologies, some software in file sharing and instance message, for instance, Maze, PPLive and Skype, has been used more and more online. P2P is a technology which enables connection and telecommunication between peers, while some NAT equipment disables unknown outer connections, which prevent the development of p2P. So how to discover other peers behind NAT and make a connection is one of the problems in P2P networks.First of all, the paper introduces the concept of P2P networks, and analysis three P2P modular covered in this paper. Also introduce NAT traversal theories over TCP, including NAT technology, types and implementation. And compares the advantages and disadvantages of approaches on the NAT traversal over TCP.Then the paper introduces the optimized mechanism based on NUTSS protocol, CNUTS, and provides the design framework, core coding implantation. The principle method is proposed two traversal modes:SYN/ACK mode and "simultaneously open"mode, which make a optimized mode selection based on the net conditions and NAT types to enhance the traversal success rates effectively.The paper emphasize on the design and implantation of traversal modular. At client and server point, user register, NAT type detection and selection of NAT traversal methods, updated messages modular are achieved in our system. And the test results identified the system can not only access to symmetric NAT, but also reach a high successful rates.Finally the paper gives summarizations and prospect to NAT traversal.
Table of contents
Abstract 4-5
Abstract 5-9
Chapter Introduction 9-18
1.1 research background and significance 9-10
1.2 research foundation 10-16
1.2.1 centralized P2P model 11-12
1.2.2 fully distributed P2P model 12-13
1.2.3 Hybrid P2P model 13-14
1.2.4 P2P scenarios 14-16
1.3 This paper studies the content and structure of the paper 16-18
NAT traversal theory basic research 18-27
2.1 NAT defined 18-19
2.2 NAT characteristics 19
2.3 NAT type 19-22
2.3.1 static type NAT 19-20
2.3.2 dynamic foundation NAT 20-21
2.3.3 NAPT 21-22
2.4 NAT principle 22-24
2.5 NAT application 24-25
2.5.1 load balanced 24
2.5.2 optimized overlay network 24-25
2.5.3 to protect the internal network 25
the 2.6 NAT bring problems 25-27
Chapter NAT traversal technology solutions 27-35
3.1 MIDCOM agent 27-28
3.2 TURN way 28-29
3.3 STUN / STUNT way 29-30
3.4 ICE 30-31
3.5 UPnP way 31-32
the 3.6 Push Proxy ways 32-33
3.7 solutions 33-35
the
improved NAT traversal program CNUTS 35-47
4.1 program proposed in the background 35
4.2 TCP NAT traversal theoretical foundation 35-40
4.2.1 TCP protocol introduced 35-37
The
NAT type 4.2.2 TCP Crossing 37-40
4.3 based on the NAT traversal NUTSS agreement are found; 40-43
4.3.1 NUTSS protocol introduced 40-41
the 4.3.2 NUTSS NAT traversal principle 41-42
4.3.3 NUTSS agreement insufficient 42-43
4.4 core idea through the program CNUTS 43-46
4.4.1 SYN / ACK generation mode 43-44
4.4.2 open at the same mode 44-45
4.4.3 port forecast 45-46
4.5 of this chapter Summary 46-47
the
CNUTS through the model design and implementation tests 47-60
5.1 The basic idea 47
5.2 communication process 47-49
5.3 CNUTS system design and implementation 49-56
5.3.1 registration module 50-51
the 5.3.2 type checking module 51-52
5.3.3 port prediction module 52-53
5.3.4 crossing the selection module 53-55
5.3.5 Update module 55-56
5.3.6 through the communication module 56
5.4 system design flow chart 56-57
5.5 test results 57-59
5.5.1 test environment 57-58
5.5.2 Test Results 58-59
5.6 This chapter Summary 59-60
Chapter Summary and Outlook 60-62
the
References 62-64
the
Appendix 1 Abbreviations 64-65
Acknowledgements 65-66
the
pursuing a master's degree during been published or accepted papers 66
Related dissertations
- The Study and Implementation of NAT Traversal Technology
- Design and Implementation of Peer-to-Peer Multimedia Communication Module for Teleconsultation
- The Design and Implementation of SIP Based Managing and Control System for Smart Electricity
- Research on Key Technologies in End Hopping
- Design and Implementation of Home Network Remote Management System based on CWMP
- Research on Highly Robust Data Distribution Technology for Dynamic Network Environment
- Search strategy in unstructured P2P network resource
- Research of Streaming Data Scheduling Algorithm Base on P2P Network
- Research of Peer-to-Peer Communication Technology Based on Internet of Things
- Research on Remote Sensing Image Transfer in the Distributed System
- The Trust Management Research in Peer-To-Peer Networks
- Design and Implementation of Proxy for Vulnerability Scanners Based on Cloud Computing
- Research of Reputation Management in P2P Networks
- P2P worm design based on buffer overflow
- Design and implementation of UDP protocol based on NAT
- The Research of Streaming Media Traversal NAT Based on the Improvement of ICE Protocol
- The Design and Implementation of Distributed Peer-to-peer Based Web Application Firewall
- Research on P2P Flow Identification and Monitoring and Its Implementation
- Research on Analysis Method for Anomaly Network Traffic Based on Statistical Learning Theory
- Research on P2P traffic identification technology based on deep packet inspection