Based on Netfilter implementation of IPv6/IPv4 translation gateway

Author
BaiLi
Advisor
LuoHuiQiong
School
University of Electronic Science and Technology
Major
Computer System Architecture
Classification
TN915 Communication network
Degree
Master's thesis
Year
2004
Downloads
198
Citations
4

Request the full text

Abstract

IPv6 is the \IPv4 applications in the past has a brilliant performance , but now has been exposed many drawbacks . One of the most urgent need to address , but also the IPv4 itself can not solve the problem is to address shortages. IPv4 IPv6 can solve many of the problems , such as an address shortages. Meanwhile , IPv6 IPv4 also made ??a lot of improvements, including increased security , auto-configuration and mobility as well as performance improvements and so on. Therefore, the conversion from IPv4 to IPv6 will inevitably occur, but in the process of transformation , we must pay attention to a very important issue is the IPv4 protocol is not compatible with the IPv6 protocol , but we can not upgrade to an overnight Internet IPv6 network , because that would mean even on the Internet all the hosts in the Internet , the network devices are done once IPv6 network upgrade, which is clearly unrealistic , so we believe that the IPv6 protocol is fully applied before there will be an IPv4 to IPv6 transition phase, which depends on the speed of development of the Internet , at this stage , IPv4 and IPv6 are two protocols will coexist in the Internet . This paper first discusses the basic theory of IPv6 as well as Netfilter and related knowledge , and then introduced the coexistence of IPv4 and IPv6 several mechanisms - dual stack , tunneling , translation gateway. Then elaborated this topic to be employed methods - Translation Gateway implementation, it is mainly to solve the pure IPv4 network , or IPv4 and IPv6 network or IPv6 host communication issues , on this basis, highlights the translation gateway protocol translation process , the entire framework is based on Netfilter under Linux to achieve, to the processing of data packets transferred to the user space , greatly reducing the kernel code is written so that the various existing network applications ( including server and client ) can be very smooth running IPv4 and IPv6 networks, the test results are given paper and made a full summary points out the future need for further work done .

Table of contents

Abstract 4-5 Abstract 5-6 directory 6-9 first chapter 9-14 <br / > 1.1 IPv6 protocol for the purpose and significance 9-10 1.2 IPv4 to IPv6 transition 10 1.3 IPv4/IPv6 translation gateway design principles and objectives 10 1.4 IPv6 research status at home and abroad and trends 10-12 1.5 The ultimate goal of this project and the current implementation status 12 1.6 This chapter arrangement 12-14 Chapter IPv6 protocol introduces 14-34 2.1 Introduction 14 2.2 IPv4 status and problems 14 -16 2.2.1 address space, address program issues 15 2.2.2 routing table expansion 15 2.2.3 nbsp network management complexity ; 15 2.2.4 Type of service problems 15-16 2.2.5 The emergence of new applications on IP networks presents new requirements 16 <br / > 2.3 IPv6 development road 16-18 2.3.1 IPng specification 16-17 2.3.2 IPv6 birth 17-18 <br / > 2.3.3 IPv6 features 18 2.4 IPv6 data packet format 18-27 2.4.1 IPv6 and IPv4 header underlying comparative 19-22 2.4.1.1 IPv6 header subject simplified 20-21 2.4.1.2 Parameters amendments 21-22 2.4.1.3 newly imported domain 22 2.4.2 IPv6 basic header 22-24 2.4.3 IPv6 extension headers 24-27 2.5 IPv6 address architecture 27-33 2.5.1 IPv6 address types 27-28 2.5.2 IPv6 address notation 28-33 2.5.2.1 Single multicast address 29-31 2.5.2.2 multicast address 31-32 2.5.2.3 anycast address 32-33 2.6 Summary 33-34 Chapter ICMPv6 protocol describes 34-49 3.1 Introduction 34 3.2 ICMPv6 packet format and type of 34 -48 3.2.1 source IP address selection 36-37 3.2.2 Neighbor Discovery 37-41 3.2.2.1 Address Resolution 37-40 3.2.2.2 Router Discovery 40 3.2.2.3 Redirection (Redirect) 40-41 3.2.2.4 Neighbor disappeared detection 41 3.2.3 address auto-configuration 41-43 3.2.3.1 link-local address 42 3.2.3.2 duplicate address Detection 42-43 3.2.4 Group members 43 3.2.5 Error Report 43-47 3.2.5.1 Destination Unreachable 44 3.2.5.2 Grouping long 44-45 3.2.5.3 timeout 45-46 3.2.5.4 Attribute error 46-47 3.2.6 Network Diagnostic 47-48 3.3 Summary 48-49 Chapter IPv4 to IPv6 transition 49-56 4.1 Introduction 49 4.2 dual stack technology 49-51 4.3 tunneling technology 51-53 4.3.1 with IPv4 compatible IPv6 address 52 4.3.2 configured tunnel and automatic tunnel 52 4.3.3 IPv6 tunnel type 52-53 4.4 Translation Gateway 53-55 4.4.1 Address Translation 54-55 4.4.2 protocol translation 55 4.5 Summary 55-56 Principles and Chapter Netfilter framework 56-64 5.1 Introduction 56 5.2 Netfilter structural framework 56-60 5.2 .1 using iptables for packet selection 58 5.2.2 how to write and register the hook function 58-60 5.3 Socket buffer sk_buff structure 60-62 < br /> 5.3.1 sk_buff structure definition 60-62 5.3.2 for the operation sk_buff 62 5.4 Summary 62-64 Chapter VI translation gateway based on Netfilter implementation 64-77 6.1 Introduction 64 6.2 Translation Gateway implementation framework and environmental 64 6.3 packet filtering and processing 64-71 6.3.1 Address Translation (NAT) 65 6.3.2 DNS-PROXY 65-66 <br / > 6.3.3 protocol translation 66-71 6.3.3.1 algorithms: from IPv4 to IPv 67-68 6.3.3.2 algorithms: from IPv6 to IPv 68-70 6.3.3.3 algorithms: from ICMPv4 to ICMPv 70 6.3.3.4 Algorithm: From ICMPv6 to ICMPv 70-71 6.3.3.5 TCP / UDP protocol modifications 71 6.4 module file description 71-73 6.5 gateway packet enters the translation workflow diagrams 73-75 6.5.1 IPv6 to IPv 73-74 6.5.2 IPv4 to IPv 74-75 6.6 Test 75-76 6.6.1 echo request and echo reply detect 75-76 6.6.2 FTP test 76 6.7 Summary 76-77 Chapter VII Conclusion 77-79 7.1 Work Summary 77 7.2 topics current implementation status 77-78 7.3 further work 78 -79 References 79-81 Thanks 81-82 biographical 82

Related dissertations

  1. The Research and Realization of IPv6 Transition Technology
    WangPing ·Taiyuan University of Technology ·2004 ·Master's thesis
  2. Research of Intrusion Prevension System in IPv6Transition Environment
  3. The Research and Application on Intranet IPv6Transition Technology
  4. The Research and Implementation of IPv4/IPv6Traslation Gateway Based on NAT-PT
  5. Design and Implementation of Ipv4to Ipv6Transition Technology Program
  6. The Research of the Access from IPv4 to IPv6
    ZhangLi ·Dalian Maritime University ·2008 ·Master's thesis
  7. Study and Implementation of Stateful InspectionTechnology in IPv6 Firewall
    ZhangKe ·Chongqing University ·2007 ·Master's thesis
  8. Research on Transparent Gateway between IPv4 and IPv6 on Linux
    MaYing ·Jilin University ·2004 ·Master's thesis
  9. Research and Design of IPv4 and IPv6 Transition Gateway
  10. Vocational Cappus Network to IPv6Transition Study
    ZhangWenJuan ·Yanshan University ·2012 ·Master's thesis
  11. The Design and Implementation of a NEW Generation of Digital Campus Network
  12. Research and Design of Campus Network Construction Model Based on IPv6
  13. Research and Design of University Network Construction
  14. Research on IPv6Routing Strategy Based on the Virtual Router
    LiuJianZhi ·Harbin Institute of Technology ·2012 ·Master's thesis
  15. Research on Packet Marking Against Malicious IP Packets
    HuangLuJuan ·Ningbo University ·2013 ·Master's thesis
  16. The Research of Secure DHCPv6System Based on SAVI Technology
    JiangYaLan ·Beijing Jiaotong University ·2014 ·Master's thesis
  17. Design and Implementation of Server Monitoring System Based on Traffic Information
  18. Research on Network Performance Monitoring Based on SNMP under IPv6Environment
  19. Research on Tcl-based Automatic Test Technology on IPv6Network
  20. Research and Implementation of Integrated Network Management Supports IPv6
    TanXingLi ·Chongqing University ·2013 ·Master's thesis