The Research and Implementation of IPsec VPN

Author
GuoTao
Advisor
LiZhongXian
School
Beijing University of Posts and Telecommunications
Major
Information Security
Classification
TP393.1 Local area network (LAN), metropolitan - area network (MAN)
Degree
Master's thesis
Year
2009
Downloads
344
Citations
0

Request the full text

Abstract

With the rapid development of network technology, VPN(virtual private network), as a new type of remote network access technology, has got the widespread concern by enterprise users in the past two years. As the most important tunnel technology, IPsec VPN is now regarded as the safest, most widely used one.Internet’s rapid development makes it increasingly move the focus of technology from the network availability, information accessibility to the network security, applications simplicity. IP-based VPN technology is fast becoming the basis of the new generation web services, and many service providers have launched a variety of VPN-based business. Accordingly, Internet security issues also get more and more attentions. Internet is an open packet switching network built on TCP/IP protocol. The lack of security considerations when it was designed have led to the current Internet security seriously inadequate. IP packets are almost always transmitted without of encryption, and are very vulnerable to eavesdropping, tampering and other attacks. In the variety of network security solutions, IPsec protocol, which was launched by IETF in 1998, has a unique advantage, and occupies an important foundation of the status. IPsec protocol is the most extensive used one in the VPN development, and may become the standard of IP VPN in the future.Based on IPv4, IPv6 and IPv4/IPv6 transition environment, after doing in-depth study on IPsec VPN, this dissertatio puts forward realization schemes of IPsec VPN in the variety of environments. With the help of the well-known open source software IPsec-tools, Openswan and Linux 2.6 kernel’s built-in IPsec, and the use of virtual machine software to simulate the real Internet, we tested almost all the schemes. We hope that this essay can play a guiding role in the research and implementation of IPsec VPN.The following are the main tasks which are accomplished in this paper:1. Make a detailed summary on the protocol and principle of IPsec VPN, by reading the IPsec-related RFCs.2. Resolve the well-known IPsec VPN open source softwares’ working principle, by analyzing the Linux kernel IPsec realization.3. Put forward IPsec VPN solutions in IPv4, IPv6 environment, as well as in 6to4 and NAT-PT, including manual mode and IKE automatic mode.4. Test and complete a detailed test report.IPv6 calls for the enforcement of IPsec, so the promotion of IPv6 network will lead to the rapid development of IPsec VPN. IPsec VPN will also get better and better combination with other kinds of VPNs, and provide us the best IP security solutions.

Table of contents

Abstract 4-6 ABSTRACT 6-10 first chapter 10-12 1.1 research status 1.2 legislature title basis and significance 10-11 1.3 This article organizational structure 11-12 IPsec VPN principle research 12-43 2.1 IP protocol 12-16 2.1.1 IPv4 12-13 2.1.2 IPv6 13-15 2.1.3 IPv4 to IPv6 transition 15-16 2.2 IPsec architecture 16-26 2.2.1 SP and SA 17-20 2.2.2 AH 20-22 2.2.3 ESP 22-23 2.2.4 IKE 23-26 2.3 IPsec mode 26-32 2.3.1 Transfer Mode 26-29 2.3.2 tunnel mode 29-31 2.3.3 related issues 31-32 2.4 AH's handling 32-33 2.4.1 outbound processing 32-33 2.4.2 enter handling 33 2.5 of ESP processing 33-35 2.5.1 outbound processing 33-34 2.5.2 enter handling 34-35 2.6 IPsec VPN works 35-42 2.7 Summary 42-43 the IPsec VPN achieve Chapter 43-68 3.1 Linux kernel IPsec implementations 44-47 3.1.1 XFRM library 45-46 3.1.2 PF KEY socket 46 3.1.3-CRYPTO algorithm library 46 3.1.4 AH and ESP protocols to achieve 46-47 3.2 famous open source software works 47-50 3.2.1 IPsec-tools 47-49 3.2.2 Openswan 49-50 3.3 IPv4 environment implementations 50-54 3.3.1 manually configure 50-53 3.3.2 IKE is 53-54 3.4 IPv6 implementations environment 54-55 3.4.1 manually configure 54 3.4.2 IKE ways The 54-55 3.5 6to4 environment implementations 55-61 3.5.1 6to4 tunneling principle 55-57 3.5.2 6to4 environment to deploy IPsec VPN 57-61 3.6 NAT-PT environment to achieve program 61-67 3.6.1 NAT-PT principle 61-62 3.6.2 the network deployment IPsec VPN NAT-PT 62-67 3.7 Summary 67-68 Chapter IPsec VPN implementations test 68-84 4.1 test environment configuration 68-70 4.1.1 hardware configuration 68 4.1.2 software installed 68 4.1.3 Network configuration 68-70 4.2 IPsec VPN test 70-83 4.2.1 IPv4 environment 70-76 4.2.2 IPv6 environment 76-81 4.2.3 6to4 transition environment 81-83 4.3 Summary 83-84 Conclusion 84-85 the References 85-86 Appendix 86-96 the Appendix 1 certificate configuration 86-87 Appendix 2 configuration script 87-96 Acknowledgements 96-97 studying for a master's degree during the thesis 97

Related dissertations

  1. Research and Application of IPSec-based Virtual Private Network
  2. Design and implementation of ISAKMP VPN gateway , client
    CaoZhengYu ·Shandong University ·2006 ·Master's thesis
  3. IPSec-based VPN IKE protocol Research and Implementation
  4. Analysis and Implementation of IKE Protocol
    ChenWenGui ·Southwest Jiaotong University ·2005 ·Master's thesis
  5. Research and Implementation of Secure VPN Gateway Based on IPSec
    LuZuo ·Wuhan University of Technology ·2007 ·Master's thesis
  6. IPSec protocol analysis systems theory and VPN based on IPSec Protocol Implementation and formation
  7. The Research for VPN System Based on IPSec and Improved Implement of IKE Protocol
    SunZuo ·Taiyuan University of Technology ·2004 ·Master's thesis
  8. The Design of Key Exchange and Message Communicating Mechanism in IPSec Security Gateway
    LiuMei ·Suzhou University ·2003 ·Master's thesis
  9. Principle and Implementation of IPSec VPN and its application in Networked Manufacturing
  10. Study of Virtual Private Network Based on IPSec
  11. The Design and Implementation of Dynamic Key Negotiate Mechanism on IPSec VPN
    GaoZhenDong ·Suzhou University ·2005 ·Master's thesis
  12. The Study and Design of NAT Traversal Based on IPSec VPN
    DaiBin ·Southwestern University ·2006 ·Master's thesis
  13. Research and Application for Centralized VPN Tunnel Managment
  14. The Design and Implementation of Gateway Dased on IPSec VPN
    ChenMeiLin ·Northeast Normal University ·2006 ·Master's thesis
  15. The Design and Realization of VPN Gateway Based on OE
    LiXi ·Hunan Normal University ·2006 ·Master's thesis
  16. Research and Implementation of IPSec Windows VPN client system
    LiYanMei ·Shandong University ·2005 ·Master's thesis
  17. Design and Implementation of IPSec VPN gateway
    GaoLing ·PLA Information Engineering University ·2005 ·Master's thesis
  18. Study and Performance Analysis on Virtual Private Network on IPv6
    LiangJian ·Taiyuan University of Technology ·2005 ·Master's thesis
  19. Research of Security Technology for Wireless Local Area Network Based on IPSec
    NianZuo ·Jiangsu University ·2005 ·Master's thesis
  20. Research and Design of VPN System Based on IPSec
    LuoZuo ·Chongqing University ·2004 ·Master's thesis