The Research of IPsec VPN in IPv6 Based on Openswan

Author
ZuoWenMei
Advisor
LiuLian
School
Dalian Maritime University
Major
Applied Computer Technology
Classification
TP393.1 Local area network (LAN), metropolitan - area network (MAN)
Degree
Master's thesis
Year
2008
Downloads
267
Citations
0

Request the full text

Abstract

With the development of network technique, more and more enterprises possess their own embranchments. Thus the way to implement secure communication between them becomes more and more important. Virtual Private Network(VPN), which is based on IPsec protocol, provides an effective method for the problem on WAN. However, most current IPsec implementations are based on IPv4 that have high overheads and NAT-traversal problem at present. In order to solve the problems radically, we need IPv6. Because under this protocol, we will have high routing velocity, simple implementation of IPsec, huge address space and no more NAT problem.This paper firstly introduces VPN technique, analyses IPsec protocol suite, researches IPv6 protocol, points out the advantages compared to IPv4, and discusses the feasibility of IPsec in IPv6. Then deeply analyses the IPsec module NETKEY in Linux kernel, summerizes the framework of implementation and the key technique that supports IPv6. Then this paper deeply analyses the open source software Openswan in source code level, discusses its kernel module KLIPS and user module Pluto, makes detailed notes for its main functions, summerizes the main framework in the end, and compares the advantages and disadvantages between KLIPS and NETKEY.After the thorough academic analysis, this paper proposes the overall scheme for implementing IPv6 IPsec VPN: makes use of Openswan’s virtual interface mechanism, integrates the IPv6 method in NETKEY and implements IPv6 IPsec VPN. This paper cutouts redundant code of Openswan, deletes NAT-T module, transplants IPv4 to IPv6 in both function interfaces and data sturctures, realizes modules in IPv6, such as Virtual Interface, Input, Output, SPD, SAD, ESP, IKEv1 and PF_KEYv2, finally accomplishes IPv6 VPN named v6swan. After installing v6swan on Linux and making simulation test in our school’s IPv6 network, test data proves that v6swan scheme is feasible.

Table of contents

Abstract 5-6 Abstract 6-11 Chapter 1 Introduction 11-15 1.1 Network Security Situation 11 <br / > 1.2 the main measures to improve network security 11-12 1.3 research background and significance 12-13 1.4 research status 13-14 < br /> 1.5 dissertation research work and structural arrangements 14-15 Chapter 2 virtual Private Network VPN and IPsec protocol 15-25 2.1 VPN Profile 15 2.2 VPN works 15-16 2.3 VPN application types 16 2.4 VPN implementation techniques 16-18 <br / > 2.4.1 VPN tunneling technology in 16-17 2.4.2 VPN encryption technologies in 17-18 2.5 IPsec protocol Introduction 18-19 2.6 IPsec protocol suite Detailed 19-25 2.6.1 authentication Header (AH) 19-21 2.6.2 Encapsulating Security Payload (ESP) 21-23 2.6.3 IKE protocol 23-25 ?? Chapter 3 IPv6 protocol features 25-31 3.1 IPv6 Overview 25 3.2 IPv6 developments at home and abroad 25-26 3.3 IPv6 new features 26-31 3.3.1 polymerizable IP address 26-27 3.3.2 efficient header 27-28 3.3.3 endpoint patch 28-29 3.3.4 good quality of service 29 3.3.5 mandatory safety 29-31 Chapter 4 Linux support for IPv6 IPsec module 31-43 4.1 IPv6 protocol implementation in the Linux kernel 31-32 4.2 Linux support IPsec protocol historical 32-33 4.3 NETKEY module 33-34 4.4 NETKEY architecture 34-35 4.5 XFRM submodule 35-38 4.5.1 XFRM Profile 35-36 4.5.2 Sk_buff on XFRM support 36-37 4.5.3 XFRM processing sub-module in IPsec into the role 37 4.5.4 XFRM sub-module of the IPsec outbound processing role 37-38 4.6 Netlink interface implementation 38-39 4.7 PF_KEY interface implementation 39-43 4.7.1 PF_KEY Profile 39-40 4.7.2 PF_KEY news and operational 40-41 4.7.3 PF_KEY realize the source 41-43 Chapter 5 Openswan the overall framework and source code analysis 43-56 5.1 Openswan Profile 43 5.2 Openswan architecture 43-47 5.2.1 Openswan software architecture diagram 43-44 5.2.2 Openswan the main module analyzes 44-46 5.2.3 KLIPS module and the module NETKEY contrast 46 -47 5.3 Openswan detailed source code analysis 47-56 5.3.1 basic directory structure 47 5.3.2 kernel space module detailed analysis 47 -53 5.3.3 user space module detailed analysis 53-56 Chapter 6 IPv6 IPsec VPN gateway under the overall design 56-63 6.1 VPN gateway 's overall design ideas 56-58 6.2 VPN gateway specific design 58-63 6.2.1 VPN gateway kernel module interacts with the Linux kernel 58-59 6.2.2 kernel IP packet , the basic transport processes 59-61 6.2.3 need to realize the function modules and their relationships 61 -62 6.2.4 IPv4 to IPv6 migration scenarios 62-63 Chapter 7 IPv6 IPsec VPN gateway under the concrete realization 63-96 7.1 development platform 63 7.2 underlying data structures 63-64 7.3 code and documentation is organized 64-65 7.4 virtual interface module implementation 65 7.5 v6swan entry processing module 65-69 7.5.1 basic processes 65-67 7.5.2 IPv4 to IPv6 by do migrate 67-69 7.6 v6swan outing processing module 69-73 7.6.1 basic processes 69-71 7.6. 2 IPv4 to IPv6 migration made ?? 71-73 7.7 security policy database (SPD) module 73-76 7.7.1 basic processes 73 - 75 7.7.2 IPv4 to IPv6 migration made ?? 75-76 7.8 security Association Database (SAD) module 76-78 7.8.1 basic Processing process 76 7.8.2 IPv4 to IPv6 migration made ?? 76-78 7.9 security package payload (ESP) module and the corresponding algorithm library 78 - 84 7.9.1 ESP module is the basic process 78-79 7.9.2 ESP module from IPv4 to IPv6 migration 79-82 7.9.3 Related authentication , encryption algorithm library 82-84 7.10 user area IKE daemon module 84-86 7.10.1 basic processes 84-85 7.10.2 IKE module from IPv4 to IPv6 migration 85-86 7.11 user area and kernel area communication interface module 86-89 7.11.1 basic processes 86-88 7.11.2 PF_KEY module from IPv4 to IPv6 migration 88-89 7.12 v6swan configuration and test 89-96 7.12.1 test Platform 89 7.12.2 operating system configuration 89-91 7.12.3 v6swan installation 91-92 7.12 .4 procedures for configuring the user area v6swan 92-93 7.12.5 IPsec tunnels start 93-96 Conclusion 96-97 reference literature 97-99 published during the study for a degree thesis 99-100 Thanks 100-101 graduate resume 101

Related dissertations

  1. Design and Implementation of Software for Highway Tunnel Monitoring System
    SunZuoLi ·Dalian University of Technology ·2013 ·Master's thesis
  2. The Design and Implementation of Dual Stack Lite Tunnel
  3. Research of Evolution Scheme and Strategy of the IPv6Network for China Unicom ShanDong Branch
    PengDa ·Shandong University ·2013 ·Master's thesis
  4. The Research of IPv6Transition Technology Based on Tunnel and ⅠⅥ Mechanism
  5. Vpn Technology and It’s Application in Henan Tietong
  6. Research on Current Situations and Countermeasures of ESP Teaching in Science and Technology Universities of Shaanxi Province
    WangZuo ·Chang'an University ·2013 ·Master's thesis
  7. Based on the research of electronic commerce - class English Teaching in Higher Vocational Colleges ESP demand analysis to Xi'an High Tech College as an example
    MaZuo ·Xi'an International Studies University ·2013 ·Master's thesis
  8. A Needs Analysis Approach to EFL Curriculum Development in Tertiary Education in China:a Case Study in CUPL
  9. Scaffolding Instruction in ESP Course
    WangYan ·Anhui University ·2014 ·Master's thesis
  10. A Study of Tourism English Teaching Based on Needs Analysis
    LinQiuJu ·University of North ·2014 ·Master's thesis
  11. A Translation Project ReportofQuantitative Corpus Linguistics with R
    YangZi ·Anhui University ·2014 ·Master's thesis
  12. Design and Simulation of virtual intelligent biological electromagnetic experimental device
  13. Research on Surrounding Rock Stability of Diversion Tunnel
    LiuJinYue ·Hebei University of Engineering ·2013 ·Master's thesis
  14. Research on Dynamic Response and Failure Mode of Tunnel Surrounding Rock under Blasting Loading
    LuShanShan ·Tianjin University ·2012 ·Master's thesis
  15. The Research of Dynamic Design for Tunnel Support
    YuWenPeng ·Shandong University ·2013 ·Master's thesis
  16. A Study of ESP Reading Based on CBI Teaching Concept
    YanTianMing ·Ningbo University ·2013 ·Master's thesis
  17. Development of ESP Hardware-in-the-Loop Simulation Test Bench Based on Real-time Platform
    GaoMuYuan ·Chang'an University ·2013 ·Master's thesis
  18. Research on Estimating Algorithm of Key State Parameters for ESP
    DingHong ·Hefei University of Technology ·2013 ·Master's thesis
  19. Effects on Existent Tunnel Caused by Small Spacing Parallel Shield Tunnel Construction
    JiangHui ·Tianjin University ·2012 ·Master's thesis
  20. Analytical Solutions for Dynamic Response of Underground Tunnels under SH Waves
    DuJinJin ·Tianjin University ·2012 ·Master's thesis