Research on Transparent Gateway between IPv4 and IPv6 on Linux
- Author
- MaYing
- Advisor
- LiuZiLiang
- School
- Jilin University
- Major
- Applied Computer Technology
- Classification
- TP393.05 Network equipment
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 305
- Citations
- 2
Abstract
With the development of Internet technology, between 2005 and 2015, will be faced with the problem of IPv4 address exhaustion, this IETF has developed a new version of the IP protocol - an IPv6 1970s design IPv4 more modernization. It is expected that with the growth of the Internet and the demand of plug-and-play solution, IPv6 will be more widely adopted, and completely replace IPv4 in the near future. IPv4 to IPv6 will have a long transition period, IPv4 nodes and IPv6 nodes coexist and communicate with each other during this transition period is necessary, and a strong, flexible IPv4-to-IPv6 transition and coexistence mechanisms will be required . In addition, interoperability technology should be \It is necessary to achieve interoperability between IPv4 networks and IPv6 networks and smooth upgrade mechanism. There are a variety of techniques can achieve the transition from IPv4 to IPv6, but are still limitations. Can be divided according to the principle: dual-stack (RFC 2893 obsolete RFC1933): technology nodes running both IPv4 and IPv6 sets of protocol stack. The downside: Because it is still to use IPv4 addresses, so it does not alleviate the IP address space depletion problem. Tunnel technology (RFC 2893): refers to a protocol header is encapsulated in another protocol header, this way, a protocol can be another protocol encapsulation communication. The disadvantage is: can not be achieved the Ipv4 network with Ipv6 network to communicate with each other. NAT-PT (RFC 2766): suitable for communication between IPv4-only sites and native IPv6 sites. In addition to the address translation, but also including the translation of the agreement. Can be seen from the above, in order to achieve communication IPv4 nodes and IPv6 nodes, the best way is only way of NAT-PT. In this thesis, to solve in this transition process in the host IPv6 network and IPv4 network communication between the host, is the in-depth study to link two IPv4 and IPv6 network bridge - Protocol Gateway. lt; WP = 73 gt; in order to better improve the transmission performance, the IPv6 header and the IPv4 header phase comparison, there is a big change: compared with IPv6, IPv4 header 6 domain was deleted, domain 3 The name or part of the function to be changed, and new two domains. Therefore, we communicate with each other between the IPv6 network and IPv4 network, must solve the two parts of the address translation and protocol conversion. This paper only studies need to solve the problem based on the NA (P) T-PT IPv4 and IPv6 network visits. This approach offers a transparent gateway way to solve the problem of mutual communication between the host in the IPv6 network and the IPv4 network. , This method can be achieved through a combination of network address conversion and protocol conversion. NAT-PT IPv6 network area and IPv4 network area border gateway. It is usually a running dual-stack machine, there is at least one interface link IPv4 network, another port associated IPv6 network then, NAT-PT router or such as Linux / FreeBSD / Windows and other computer platforms be realized. Microsoft IPv6 protocol stack with protocol conversion function, NAT-PT. NAT-PT can be divided into the following categories: traditional NAT-PT (Traditional-NAT-PT) mode is the traditional mode can only solve the NAT-PT the pure IPv6 domain host can access the the IPv4 domain of the host, that is initiated side can only IPv6 domain host. It can be divided into the basic mode and NAPT-PT model: lt; gt; Qi AT-PT mode, set aside an IPv4 address pool, an IPv6 address with the address of an IPv4 address pool corresponding conversion. lt; 2 gt; NAPT-PT mode can achieve multiple IPv6 host address multiplexed to the same IPv4 address. Is similar to the specific implementation and common IPv4 NAPT. The bidirectional mode NAP-PT (Bi-directional-NAT-PT) initiator either IPv6 hosts in the domain, and may be IPv4 hosts in the domain. The bidirectional mode extends the NAP-PT the NAP-PT mode. To achieve this, we use a DNS Application Layer Gateway (DNS-ALG) to achieve the purpose of the two-way exchange of visits. The transparent gateway using contrast to depth analysis NAP-PT lt; WP = 74 gt; (NAPT-PT) system implementation process and performance. The first implementation is completed on the Linux platform user mode bidirectional NAT-PT, packet capture and packet processing are complete user mode, packet capture and filtering using Berkeley packet filter device (BPF) In this way, we achieve the the Jida IPv6 experimental network with the external IPv4 network to communicate with each other, including domain name resolution, web browser, FTP, SSH, and other functions. While this way the program design, scalable advantages, but a lot of overhead in the network communication is spent in the packet from the Adapter to the kernel and then to a copy of the user layer, which greatly affect the protocol conversion transmission performance in data traffic, packet loss is very apparent, In the second scheme in order to further improve the success rate of packet capture, we take advantage of the Linux kernel and convenient extended kernel mode protocol conversion . linux 2.4.x kernel later, provides a set of functions, stable performance Netfilter framework, I used the the Netfilter framework for packet capture and filtering framework and protocol conversion parts transplanted into the kernel, and to achieve a the NAPT functionality, reduce the occupancy of the IPv4 address; entire NAPT-PT are being ported to the kernel, kernel module into the kernel, the performance received a satisfactory result. Theoretically any agreement payload contains address information needs with the help of ALG (Application Layer Gateway) to properly support these agreements, ALG is a certain application agent (Agent), with V6 node can communicate with each other and V4 node. Because some application protocols will be the network address in the packet's payload, but NAT-PT itself does not know what is kept in the payload, the NAT-PT only deal with the contents of the IP header. The use of ALG NAT-PT can help to achieve this functionality, support these application protocol. Here, the main use of the DNS-ALG and FTP-ALG. Complete this personal in today's research protocol conversion research units, mainly in the user layer between the system call and convert the waste of valuable time. Our program is finished in kernel mode?
Table of contents
The first chapter 6-9
1.1 of this thesis the main work 6-7
1.2 needs analysis 7-8
1.3 feasibility study 8-9
the IPV4 protocol with IPV6 protocol analysis 9-25
2.1 IPv4 protocol and IPv6 protocol 9-13
2.1 .1 IPv4 protocol 9-10
2.1.2 IPv6 10-13
2.2 header structure 13-17
2.3 IPv4 and IPv6 traffic the analysis of the way and select a strategy 17-25
2.3.1 Interworking technical background and status quo 17-18
2.3.2 interoperable technology requirements 18
2.3.3 IPv4 and IPv6 coexistence multiple mechanisms 18-24
2.3.4 How to choose a suitable transition mechanism 24-25
NAT-PT implementation userland 25-46
3.1 NAT-PT protocol 25-28
3.1.1 NAT-PT introduced 25-26 < br /> 3.1.2 NAT-PT classification 26-28
3.2 gateway selection 28-31
3.2.1 Protocol Gateway 29 - 30
3.2.2 Application Gateway 30-31
3.2.3 Security Gateway 31
3.2.4 Gateway Select 31 < br /> 3.3 NAT-PT system process 31
the 3.4 packet capture and filtering the 31-32
3.5 Address Translation 32-33
3.6 protocol conversion between 33-36
3.7 DNS-ALG 36-41
3.7.1 application layer gateway (ALG) address assignment 36-41
3.8 FTP-ALG support 41-43
3.9 Summary 43-46
Chapter kernel mode gateway 46-56
4.1 Linux IPv6 network research 46-47
4.2 Linux Netfilter framework analysis 47-51
4.2.1 Netfilter basic principle 47-48
4.2.2 Netfilter framework 48
4.2.3 overall structure 48-51
4.3 NAPT_PT flowchart 51
4.4 kernel NAPT-PT system to achieve 51-55
4.4.1 protocol conversion 53
4.4.2 Address Mapping management 53 - 55
4.5 Summary 55-56
Chapter performance testing the 5.1 experimental environment 56-69
56-58
5.1. a test network topology diagram 56
5.1.2 test environment 56-58
5.1.2.1 host performance 56
5.1.2.2 test software 56-58
5.2 Experimental Procedure nbsp the; 58-63
5.2.1 userland NAT-PT system 59-62
5.2. the 2 kernel NAPT-PT configure debug 5.3 testing process and results in 62-63
63-68
5.3 summarizes 68-69
5.3.1 summary of the work 68
5.3.2 Future work 68-69
Reference the 69-72
Chinese Abstract 72-76
the English summary 76-80
Acknowledgements 80
Related dissertations
- Design and Implementation of Ipv4to Ipv6Transition Technology Program
- Research and Implementation of Remote Monitoring Methods Based on IPv6and PROFIBUS
- The Research and Realization of IPv6 Transition Technology
- Research and Design of IPv4 and IPv6 Transition Gateway
- Translation Gateway (NAT-PT) Design and Implementation
- Research and Design of High-power Temperature Control System Based on PROFIBUS
- The Design of Data Acquisition Controller Based on Wireless Ad-Hoc Network Technology
- Vocational Cappus Network to IPv6Transition Study
- The Design and Implementation of a NEW Generation of Digital Campus Network
- Research and Design of Campus Network Construction Model Based on IPv6
- Research and Design of University Network Construction
- E1Ethernet Protocol Slot Auto-Negotiation Conversionthe Design and Implementation
- Research on IPv6Routing Strategy Based on the Virtual Router
- Research on Packet Marking Against Malicious IP Packets
- The Research of Secure DHCPv6System Based on SAVI Technology
- Research on Network Performance Monitoring Based on SNMP under IPv6Environment
- Research on Tcl-based Automatic Test Technology on IPv6Network
- Research and Implementation of Integrated Network Management Supports IPv6
- Application and Realization of embedded IPv6 protocol stack in embedded system
- Research and Implementation of IPv6Stateless Address Auto-configuration System Based on Authentication