Implementation of the VPN Gateway Based on Special Network Stacks in Firewall System
- Author
- JiangLin
- Advisor
- ZhangHuiTing
- School
- Jinan University
- Major
- Communication and Information System
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 128
- Citations
- 1
- Virtual Private Network (VPN)
- IP Security (IPSec)
- Internet Key Exchange (IKE)
- Network Address translation (NAT)
- Special network stacks
Abstract
This paper adopts Linux open source as development roof to construct Virtual Private Gateway (VPN) by using IPSec protocols in network layer based on special network stacks and integrate VPN gateway into firewall system. C language is used for programming development.In this thesis, on the reference to RFC documents of IPSec protocols, several security service modes are analyzed in compare and it is decided to implement security service of ESP tunnel mode which primarily includes Internet Key Exchange (IKE), security service protocol and security policy, etc. Then through analyzing free software-FreeS/WAN which implements IPSec protocols in Linux network stacks, grasp the detailed contents should be considered and solved during IPSec protocol implementation. Based on above research and processing flow of Linux network stacks, construct IPSec module on special network stacks to implement security service of ESP tunnel mode. At last as for the incompatibility between Network Address Translation (NAT) with IPSec, deploy UDP encapsulation measure to well traversing NAT, and then propose to introduce IPComp to optimize network performance.What this system adopts and uses for reference are Linux open source and free software, and the RFC documents referenced are also standard open published, so that its implementation is of lower development cost and better transplantation. Besides, adding the resolution of incompatibility between IPSec with NAT and the consideration of IPComp, this VPN gateway well implements the final aim to provide efficient resolution for private network of corporations to access to Internet in security and practicality.
Table of contents
Foreword 9-11
Chapter System Overview 11-19
1.1 Internet security 11-13
1.1.1 loss of confidentiality 11
1.1.2 data integrity loss 11-12
1.1.3 identity spoofing 12
1.1.4 denial of Service 12-13
1.2 VPN generation and key technologies 13-15
1.3 layers of security measures and agreements 15-17
1.3.1 layers of security measures and protocol analysis and comparison 15-16
1.3.2 VPN and firewall need to integrate the implementation 16-17
1.4 dedicated protocol stack 17
1.5 Summary 17-19
Chapter IPSec protocol analysis 19-36
2.1 IPSec protocol architecture 19-22
2.2 ESP mechanisms 22-28
2.2.1 ESP encapsulation modes 22-24
2.2.2 ESP header in the IP packet insertion position 24 - 26
2.2.3 ESP payload format 26-28
2.3 AH mechanism 28-31
2.3.1 AH encapsulation modes 28 -30
2.3.2 AH header in the packet location 30
2.3.3 AH payload format 30-31
2.4 key negotiation management 31-32
2.5 IPSec protocol analysis 32-34
2.5.1 IPSec protocol complexity 32-33
2.5.2 tunnel mode ESP protocol 33-34
2.6 IPSec protocol deficiencies and resolve 34-35
2.6.1 operating system insecurity 34
2.6.2 non- end security 34
2.6.3 certification object inadequate 34-35
2.6.4 DOS can not prevent denial of service attacks 35 <br / > 2.7 Chapter Summary 35-36
Chapter Frees / WAN analysis 36-59
3.1 FreeS / WAN software Overview 36-37
3.2 FreeS / WAN implementation of each functional module 37-45
3.2.1 security Policy Database (SPD) to achieve 37-38
3.2.2 security Association Database ( SAD) implementation 38-39
3.2.3 ESP protocol processing module 39-42
3.2.4 AH protocol processing module 42 <br / > 3.2.5 algorithm 42-43
3.2.6 logs, statistics , configuration and auditing implementation 43
3.2.7 application communicate with the kernel interface 43-45
3.3 FreeS / WAN in the Linux network protocol stack to achieve 45-55
3.3.1 Linux2.4 kernel network protocol stack processing 45 -46
3.3.2 IPSec protocol in the Linux kernel registration 46-50
3.3.3 IPSec protocol reception processing 50-53
3.3. 4 registered to the system virtual interface 53-54
3.3.5 IPSec protocol transmission processing 54-55
3.4 key negotiation and management module 55-57
3.4.1 IKE in FreeS / WAN in the realization 55-56
3.4.2 ISAKMP SA establishment 56-57
3.4.3 IPSec SA 's establish 57
3.5 PF_KEY module 57-58
3.6 Summary 58-59
Chapter IV system specific 59 -72
4.1 system network flow modification 59-62
4.2 IPSec module registration 62-64
4.2.1 proc_dir_entry structure registered 62-63
4.2.2 transmission and reception functions are implemented 63-64
4.3 ESP tunnel mode encryption transmission processes 64-66
4.4 self-built VPN gateway protocol stack test 66-72
4.4.1 test environment 66
4.4.2 test Project 66-72
fifth Zhang system improvements 72-82
5.1 IPSec and NAT work research 72-77
5.1.1 NAT technology Overview 72-73
5.1.2 IPsec and NA (P) T incompatibilities analysis 73-75
5.1.3 solution Analysis 75-77
5.2 IP payload compression 77-80
5.2.1 application after IPSec data compression problems 77-78
5.2.2 IP payload compression protocol analysis and implementation of technology research 78 <br / > 5.2.3 IPComp need to pay attention to some of the problems 78-80
5.4 the system integrated flowchart 80-82
Summary and Outlook 82 -83
References 83-85
papers published during the school 85-86
Thanks 86
Related dissertations
- Campus intelligent network construction
- Research on Virtual Private Network for Hierarchically Switched Networks
- Networked collaborative design a number of key technology research and application
- Research on the Networking Technologies of the Enterprise Based on CAS Theory
- Research and implementation of virtual private network VPN
- Broadband VPN: IPSec and NAT to work
- Research and Implementation of IPSec VPN network security technology
- The Design and Realization of Liaoning Green Sunshine Group VPN Network
- The Design of ADSL Access Router’s Boot Module and NAT Protocol Module
- MPLS / BGP VPN router bits implemented in the T key issues
- Researches on Access Control Technology in Public Wireless Local Area Network (Pwlan) Security Architecture
- Mianyang IP MAN optimize the transformation
- Research and Implementation of SSL-based VPN
- Design and Implementation of Streaming Media Live System Based on P2P
- Research and Implementation of VPN Based on IPSec
- Research of Intranet Network Security Architecture Base on Firewall and VPN
- The Research on All-Optical Virtual Private Network and Novel Service Delivery in Passive Optical Networks
- Research and Application in Campus Network Security Technology
- Analysis and design of key technologies based on the SSL VPN
- IPSec VPN technology research and engineering to achieve