The design and implementation of the IKEv2 -based coprocessor

Author
ZhangLingLing
Advisor
PanXueZeng
School
Zhejiang University
Major
Computer System Architecture
Classification
TP393.408 Internet
Degree
Master's thesis
Year
2006
Downloads
65
Citations
1

Request the full text

Abstract

With the rapid development of Internet, network security issues more and more attention. IPSec is a security technology currently applies to Internet communication protocols such as TCP, UDP, and can be run on IP upper provide protection. Internet Key Exchange protocol developed by the Internet Engineering Task Force (IETF), IKE (Internet Key Exchange) is a communicating parties IPSec process to identify the identity of the two sides, at the same time security policy consultations, as well as deal with the session key exchange protocol . IKE is an agreement by the three additional Protocol (ISAKMP, Oakley, and SKEME) mixture, and its implementation is quite complex. IKE first edition design complexity of cause it to become the the entire IPSec system speed bottleneck. Since February 2002, IETF began to organize the drafting of IKEv2, and September 23, 2004 No. 17 draft the IKEv2 official rfc document also will be launched soon. IKEv2 message exchange process can be seen in the entire message exchange to establish the process by IKE_SA well Child_SA communications both generated some parameters, as well as some of the other passed parameters to a lot of complex calculations, such as The various key derivative, message encryption and decryption and integrity check, and to verify the identity of the two sides AUTH load calculations, and so. These calculations rely entirely on software will be a very time-consuming work, it will significantly increase the IKE delay. The solution is to use hardware instead of software to carry out these operations, hardware acceleration functions, thereby reducing the delay. The hardware used here is a security co-processor. Security coprocessor actually play the role of hardware acceleration. It can replace the software to achieve secure communication protocols, such as IPSec, PPTP, SSL, IKE, and so on. At present, the added security features to network hardware, the most important way is to work together with a security co-processor and a network processor or a general-purpose processor. Security co-processor is responsible for system and security-related tasks, and allow non-secure processor to perform the major functions of the system. Separation in this function simplifies the design process and to improve the system performance. This paper is divided into five chapters. In the first chapter, the background and development of the IKEv2 protocol basic exposition of IKE and IKEv2 made, compare. The second chapter IKEv2 protocol key exchange mechanism as well as the various algorithms are introduced. The third chapter introduces the basic functions of the security coprocessor module, as well as in an important role in the security protocol algorithm for accelerating. In the fourth chapter, security co-processor to the upper application layer software interface SDK. Elaborated in the last chapter will be a complete IKEv2 system architecture, including the structure of four levels: the IKEv2 application protocol layer, the SDK interface layer with hardware co-processing hardware driver layer, and the last hardware IKEv2 algorithm implementation layer.

Table of contents

Abstract 5-6 Abstract 6-7 Chapter Overview 7-11 1.1 key exchange protocol Brief historical background 1.2 IKE main problems facing the first version 7-8 1.3 IKEv2 of major improvements 8-11 1.3.1 the definition of a single document 1.3.2 simplify IKE session message exchange 1.3.3 reduce the IKE delay 8 1.3.4 load changes 8-9 1.3.5 Defense DoS attacks 9-10 1.3.6 compatible with IKE first version 10-11 second chapter IKEv2 key exchange protocol 11-19 a 2.1 the IKEv2 of message exchange process 11-14 2.1.1 initialization message exchange 11-12 2.1.2 create Child_SA exchange 12-13 2.1.3 Information exchange 13-14 SA 2.2 key calculation 14-15 2.2.1 IKE_SA key calculation 14 the 2.2.2 CHILD_SA in key calculation 14-15 2.3 AUTH load calculation 15 the reliable measures 2.4 the IKEv2 guarantee agreement 15-17 2.4.1 timeout retransmission 16 2.4.2 Error Handling 16-17 2.5 Cookie defense DoS attacks 17-19 security coprocessor 19-36 3.1 security coprocessor introduced 19-22 3.1.1 security / compression module 20 3.1.2 Total key processor 20-21 3.1.3 private memory (Private Memory) 21 3.1.4 chip SRAM 21 3.1.5 Input / Output DMA unit 21 3.1.6 PCI interface 21 3.1.7 Streaming interface 21 3.1.8 private CPU interface 21-22 3.1.9 register 22 the 3.1.10 GPDMA unit 22 3.1.11 random number generator 22 The 3.1.12 EEPROM interface 22 3.2 PCI / the DMA news and descriptor ring 22-24 3.2.1 PCI / DMA descriptor ring 22-23 3.2.2 register 23-24 3.3 security / compression core 24-28 3.3.1 packet and session (session) 24-25 3.3.2 packet processing General 25-26 3.3.3 detailed description 26-27 3.3.4 DPU operating Overview 27-28 3.4 public key processor 28-36 3.4.1 module architecture 28 3.4.2 PK scheduler (PK Dispatcher) 28-29 3.4.5 PK Cores 29-30 3.4.6 PK Cores functional unit 30-32 3.4.7 commands and procedures 32-36 Chapter SDK 36-48 4.1 SDK Overview 36-37 4.2 portable module 37-39 4.2.1 System (System) 37 4.2.2 device (Device) 37 4.2.3 HAL 37 4.2.4 packet processing 37-38 4.2.5 public key 38 4.2.6 random number generated is the RNG 38 4.2.7 Trap Queue Manager 38 4.2.8 notify the processor (Notification Manager) 38-39 4.3 nonportable module 39 4.3.1 Real-Time Operating System Abstraction Layer 39 4.4 subsystems to achieve the function and operation of 39-40 4.4.1 SDK system processing (Sys Processing) 39 4.4.2 notify the processor (Notification Manager) 39-40 4.4.3 packet processing (PP) 40 4.4.4 Hardware Abstraction Layer (Hardware Abstraction Layer) 40 4.4.5 PK and RNG 40 4.5 public key 40-45 4.5.1 public key description 40-41 4.5.2 list of functions 41 4.5.3 Application 41-42 4.5.4 PK Primitives 42-43 4.5.5 PK Utility Layer 43-45 4.6 RNG 45 4.7 packet processing (PP) 45-48 4.7.1 Raw session and algorithm acceleration 45-46 4.7.2 list of functions 46 4.7.3 Application 46-48 Chapter IKEv2 system based coprocessor 48-59 5.1 system functional modules 48-54 5.1.1 interface management subsystem 48-49 5.1.2 news to send receiver subsystem 49 5.1.3 Message Processing Subsystem 49-50 5.1.4 the IKEv2 state library 50-51 5.1.5 SDK and coprocessor applications 51-54 5.2 IKEv2 implementations flowchart 54-59 5.2.1 Nonce The generated 55-56 5.2.2 DH key pair shared key generation 56-57 the 5.2.3 certification load (auth payload) signature and validation 57 5.2.4 key material (key material) generation, and the codec package 57-59 the References 59-60 Acknowledgements 60

Related dissertations

  1. Campus intelligent network construction
  2. Study and Deployment on Communication Security and Optimizations for VPN Networks
    XuHaiDong ·Northeastern University ·2011 ·Master's thesis
  3. The design and implementation of SCPS-SP/IPSec protocol conversion
    LiJingZuo ·Heilongjiang University ·2013 ·Master's thesis
  4. Development and Implementation of Video Monitoring System in Higher Vocational Colleges
  5. Research and implementation of security technology in network space
  6. Research on the Key Technology of Capture and Parameter Control of Remote and Multi-Channel Video Monitoring System
    LiuDiDi ·Xi'an Technological University ·2012 ·Master's thesis
  7. The Cross Platform Desigh and Implementation of a Video/Image Capture SDK
    ShuChang ·Zhejiang University ·2013 ·Master's thesis
  8. Surveillance System, Client Management Software Design and Development
    DanWenBing ·Hubei University ·2012 ·Master's thesis
  9. Analytical Improvement and Implementation for Internet Key Exchange Protocol
    XieZuoRen ·Lanzhou University ·2013 ·Master's thesis
  10. Research and Improvement of Ipsec Vpn Based on the Android System
  11. TTS in the Office System Research and Development
    LiDaZuo ·Qinghai Normal ·2012 ·Master's thesis
  12. Policy Analysis and Study of Electronic Fuel Injection System Based on FPGA
    PengWangKun ·Southwest Jiaotong University ·2012 ·Master's thesis
  13. A Software Development Kit for Display and Control of Indoor Maps
  14. Research on the Application Design and Data Processing for Industrial Real-Time Database
    ZuoZhenHua ·Zhejiang University ·2008 ·Master's thesis
  15. Research of IKEv2 Based on Extensible Authentication Mechanism
    GuLei ·Beijing Jiaotong University ·2008 ·Master's thesis
  16. The Router’s Internet Key Exchange Based on Digital Certificate
  17. Research on Security Handover Technology of Hierarchical Mobile IPv6
    Cao ·PLA Information Engineering University ·2007 ·Master's thesis
  18. The Analysis of IKE and Its Improvement Based on CPK
  19. IKEv2 protocol and implementation of security mechanism
    QuanLe ·PLA Information Engineering University ·2007 ·Master's thesis
  20. NAT-Traversal with UDP Encapsulation
    FanZiNiu ·Chongqing University ·2007 ·Master's thesis