ALG design based on NAT-PT translation gateway
- Author
- XuYunTao
- Advisor
- SunShiXin
- School
- University of Electronic Science and Technology
- Major
- Information Security
- Classification
- TN915.05 Communication network equipment
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 134
- Citations
- 0
Abstract
NAT-PT is a transition mechanism to be designed to allow direct communicationbetween IPv6-only networks and IPv4-only networks. The term NAT-PT stands forNetwork Address Translation and Protocol Translation. NAT refers to translation of anIPv4 address into an IPv6 address and vice-versa and PT stands for the translation ofthe IPv4 packet into a semantically equivalent IPv6 packet and vice-versa.In order to implement some feature, some of the application layer protocol willcontain the IP information and Port number of TCP/UDP in its payload, and forward itthrough network. Once these package go through the NAT-PT gateway, because thebasic function of NAT-PT is just translate the IP address of network layer andTCP/UDP layer of transport layer, if NAT-PT gateway don’t do any process with theapplication layer payload of these package, it must be failed to complete thecommunication between two nodes. Therefore, NAT-PT must combine withApplication Layer Gateway to achieve its goal.In this subject, base the researching the basic function of NAT-PT, we will focuson the design and implement the ALG system for the most important application layerprotocol, it will be including DNS-ALG, FTP-ALG and SIP-ALG. The SIP-ALG is avery new feature and is an additional ALG for the NAT-PT gateway, regarding theRF2766. DNS is the one of the most important application layer protocol in internet,FTP is most popular file transfer protocol, and SIP will be wildly used in NetGeneration Network. All these three application protocols are needed to be supportedby ALG.In this thesis, firstly we will introduce the key protocol of IPv4-IPv6 translationgateway, which based the NAT-PT. Then we will research and analyses the principlefor each application layer protocol, and build the translation mode or algorithm foreach protocol to go through the NAT-PT gateway. After that it will describer the detaildesign of each ALG subsystem, and it will give some research in enhance andimprovement of ALG’s performance. These two chapters are the most important chapter in this paper. Finally, it will design some test case to verify the function ofALG. In this thesis, author also introduces fast sort algorithm and fast search algorithmto the ALG system. This design and implement finally passed the testing and achievethe practicality goal.
Table of contents
Abstract 4-5
ABSTRACT 5-7
directory 7-10
Chapter Introduction 10-15
the
research 1.1 Background 10-12
1.2 research 12-13
1.3 topics sources 13-14
1.4 papers organizational structure 14-15
the
IPV4-IPv6 translation gateway key technical analysis 15-26
2.1 IPv4 protocol 15-19
2.1.1 address format 15-16
2.1.2 IP packet length 16
2.1.3 IP routing 16-17
2.1.4 ICMP 17
2.1.5 IPv4 packet header format 17-19
2.2 IPv6 protocol 19-23
2.2.1 IPv6 addressing 19-20
2.2.2 the IPv6 packet header format 20-21
2.2.3 IPv6 and Domain Name System 21
2.2.4 IPv6 with IPv4 21-23
2.3 IPv4-IPv6 transition program analysis 23-26
2.3.1 tunneling technology 24-25
2.3.2 IPv4-IPv6 NAT-PT protocol conversion technology 25
2.3.3 dual-stack technology 25-26
Chapter NAT-PT protocol analysis 26-32
3.1 network address translation technology NAT 26-28
3.1.1 traditional NAT technology 27
3.1.2 bidirectional NAT 27
3.1.3 NAT characteristics 27-28
3.1.4 NAT IPv6 transition mechanisms 28
3.2 protocol convert the PT 28-32
3.2.1 IPv4 to IPv6 conversion algorithm 29-30
3.2.2 IPv6 to IPv4 conversion algorithm 30
3.2.3 TCP / UDP than computing experience and 30-32
Chapter Application Layer Gateway (ALG) conversion principle 32-66
4.1 DNS-ALG principle study analysis 33-40
4.1.1 DNS message structure 33-35
4.1.2 DNS extensions for IPv6 35-37
4.1.3 the DNS-ALG protocol conversion model 37-40
4.2 FTP protocol conversion principle 40-48
4.2.1 FTP connection mode 40-43
4.2.2 FTP for IPv6 and NAT extension 43-46
4.2.3 FTP-ALG protocol conversion model 46-48
4.3 SIP-ALG principle and algorithm analysis 48-66
4.3.1 SIP protocol parsing 49
4.3.2 SIP protocol elements 49-55
4.3.3 SDP Session Description Protocol 55-57
4.3.4 SIP routing mechanism 57-58
4.3.5 SIP model 58-60
4.3.6 SIP model variant IPv4-IPv6 transition gateway 60-63
4.3.7 SIP-ALG algorithm based on NAT-PT translation gateway 63-66
the
application layer gateway (ALG) system design and implementation 66-104
5.1 IPv4-IPv6 the conversion gateway architecture design 66-70
5.1.1 gateway system hardware architecture 66-68
5.1.2 gateway software architecture 68-69
5.1.3 gateway system running process design 69-70
5.2 Application Layer Gateway overall system framework design 70-72
5.2.1 ALG system framework 70-72
5.2.2 ALG system development and runtime environment 72
5.3 DNS-ALG Algorithm Design and Implementation 72-78
5.3.1 DNS-ALG overall processing the translation workflow design 72-74
5.3.2 DNS messages Question segment translation process 74-75
the 5.3.3 PTR types requested content translation 75-76
5.3.4 DNS the message Resource Record content translation process 76-78
5.3.5 RDATA data processing 78
5.4 FTP-ALG Algorithm Design and Implementation 78-94
5.4.1 FTP-ALG overall treatment process design 78-79
5.4.2 FTP message type the rapid recognition algorithm 79-83
5.4.3 FTP news translation handling 83-85
5.4.4 the FTP table design 85-94
5.5 SIP-ALG algorithm design and implementation 94-104
5.5.1 SIP message translations handle the whole process 94
the 5.5.2 SIP first line parsing algorithm 94-95
5.5.3 SIP header fields lexical analysis algorithm 95-96
5.5.4 the Record-Route header field analysis algorithms 96-99
5.5.5 SIP message header field translation processing 99-102
5.5.6 SDP translation processing algorithm 102-104
Chapter VI system functional test system performance optimization and test 104-118
6.1 system functional test 104-112
6.1.1 system test environment 104-106
6.1.2 DNS-ALG test 106-107
6.1.3 FTP-ALG test 107-109
6.1.4 SIP-ALG test 109-112
6.2 system performance optimization and testing 112-118
6.2.1 ALG process flow analysis 113-114
6.2.2 Xscale processing power analysis and improvement 114-115
6.2.3 packet copy performance analysis and improvement 115-118
Chapter VII Summary and Outlook 118-119
Acknowledgements 119-120
the
References 120-122
the
attack Shuo achieved during the research 122-123
the
papers Errata 123-124
Related dissertations
- The Research on IPv4/IPv6 Translation Gateway with Several PT Modules
- Research and Implementation of IPv4/IPv6 Translation Gateway Based on SOPC Technology
- Design and Implementation of Network Processor Based NAT-PT System
- Forensic-Oriented Security Methods in Wireless Sensor Networks
- Studying on Connectivility and QoS of IPv6Translation Technology
- The Research and Implementation of IPv4/IPv6Traslation Gateway Based on NAT-PT
- Based on NAT/PT Conversion Gateway for IPV6and IPV4Research
- Research on Network Topology Discovery and Display Technology
- The Research and Implementation of a Transmission Software Supporting IPv4 and IPv6
- Research and Implementation of IPv6-oriented Operation Support System
- The Design of a Dual Protocol Processor of IPv4/IPv6 Based on FPGA
- Research on Streaming Media Scheduling Fairness Based on NAT-PT
- IPv4/IPv6 transition phase under study and implementation of firewall technology
- Based on multicore protocol analysis of state inspection firewall
- The Study and Implementation of SIP-Based VoIPv6
- Smooth transition technology based on the campus network IPv4 to IPv6
- Research on IPv4 to IPv6 Transition and Test and Analysis under Windows Platform
- Research on Techniques of Design and Lmplementation of the NAT-PT Gateway
- Research on Technology of Transiting IPv4 to IPv6 and Implementing of Tunnel Broker
- The SNMP based the CNGI-NATPT system research and program applications