Fast Packet Transmission System in Intrusion Detection Based on FPGA

Author
LanGongMing
Advisor
LiuYanZuo
School
Jilin University
Major
Software Engineering
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2009
Downloads
97
Citations
1

Request the full text

Abstract

IDS (Intrusion-detection system, IDS) is a network security equipment, which gives a real-time surveillance of network transmission and alarms or takes the initiative response when discoveries suspicious transmission. In 1990, IDS was differed into network-based IDS and host-based IDS. Later, distributed IDS appeared.At present the overall structure of distributed systems is multi-level hierarchical structure, which is a top-down tree structure, consisting of the control nodes, data aggregation nodes and data collection nodes. Control nodes are located at the top of the tree. they are responsible for controlling the entire system and provide interface for communicating with the outside world; Data aggregation nodes are located in the middle layer. They accept commands from the upper and then control the lower. They analysis of the data from the lower and submit the reduced data to the upper; The leaf node at the bottom is responsible for data collected function. It can be a network host, It can also be a data collector in the network. But precisely because of its hierarchical structure leads to a very important issue: In this system, the network transmission of large amounts of data will result in network congestion. Therefore, how to deal with the network packets with a high speed is a critical issue in a distributed intrusion detection system.In today’s growing network, how to make the network packet fast becomes a vital link to enhance the performance of a Distributed Intrusion Detection System. The methods of dealing with the network packet by the software in the past can no longer meet the requirements for either fast or exactly. It has an increasing tendency for software and hardware to co-design. At present, in the domestic construction and implementation of the network packet classification processing system, the best method is to use hardware. Though the ASIC that designed by network equipment manufacturers is very excellent in the completion of the work of which the procedure is laid down, its development cycle is long and it is not programmable. Programmable logic device has flexible designed plan and powerful function. FPGA (field programmable gate array) appears as an semi-custom circuit in the ASIC field. And its performance can be tobeonapar with the ASIC. FPGA makes up for the lack of a custom circuit, and overcomes the shortcomings that the number of the original gate is limited in programmable devices. FPGA can be completely configurable and programmable by the user through the software to complete a particular logic function. Their application is no longer limited to instead of traditional digital logic, the more major application is that it can realize more complex logic of the algorithm by oriented algorithm. FPGA can also implement shared hardware, hardware emulation, prototype validation and other functions. Compared with the general processors, FPGA has more specific, the chip has a wealth of programmable hardware resources, by which can directly implement the complex algorithms required by the system, and improves computation speed.FPGA is very fit to any high-speed parallel data processing, It is very flexible and has scalable capacity. FPGA devices which have become the choice of programmable design are now quietly increased the number of the friendly characteristics of network equipment, in order to enter this market. Through the friendly features of network, platform FPGA can provide high performance data and functions of network controlling and processing. This will also enable them to become the ideal candidate devices for dedicated network processing in a network, and give the control power of compromising between flexibility and performance to the users.The basic component of the FPGA are: programmable input / output (I / O) modules, the basic programmable logic modules, routing interconnect resources, embedded block RAM, functional units embedded in the bottom and a embedded dedicated hard-core. According to the characteristics of FPGA, in this paper, put forward a fast packet transmission systems based on FPGA. Its main idea is: using the software and hardware co-design to increase the speed of processing network packet in order to solve the problem of network congestion in distributed intrusion detection system.In this paper, from the SOPC based on FPGA, describes the implement of fast packet transmission based on FPGA in details, including hardware development and software development. In the hardware development process, this paper designs and generates a Nios II system module using SOPC Builder, and downloads the Nios II system module in the FPGA development board using Quartus II. In the software development process, this paper develops on the basis of the HAL (Hardware Abstraction Layer). In the software development process, this paper introduces LAN91C111 Ethernet controller driver interface module, the storage of network packet module, interrupt handling module, DMA transmission module and filtering rules module.The main principle is: First of all intercepts a data packet from the driver interface of LAN91C111 Ethernet controller, and then stores the data packet in a connection pool. In order to reduce the impact of interruption to system performance, it will not interrupt until that it has saved a certain number of packets arrived. after the interruption, transfers packets to the filter rules module by the DMA. Packets will be discarded or transfered according to the rules in the rules table.The structure of this paper is:In chapter 1, first of all from the problems of network congestion in distributed intrusion detection system, explains the study background and significance of this subject; and then puts forward the design for a system of processing network packet based on hardware and software co-design using FPGA; finally explains the theory of how to design the above system.In chapter 2, according to the development of programmable logic device in history, puts forward the basis of why choose FPGA, and systematically introduces the architecture of FPGA, method and flow of design FPGA, and how to use the FPGA development tools-Quartus II. Lays a theoretical basis for the implement of system.In chapter 3, the design process of the system is introduced. It describes the development environment to build the system from the hardware development and software development. In the hardware development process, proposes the process of generating the Nios II system module; in the software development process, presents the HAL system library and LwIP protocol stack.In chapter 4, we carries out the implementation and performance analysis of the fast packet transmission system based on FPGA. Describes the system modules which are developed on the basis of HAL, and tests the performance of the systems. The result shows that the system can meet the requirements of processing network packet fast.In chapter 5, a summary and prospects of the issues are given, Analyze the results of research and inadequacies in this paper, as well as other outstanding issues.

Table of contents

Summary 4-7 Chapter 1 Introduction 7-11 1.1 research background 7-8 1.2 The subject of the theoretical basis 8-9 1.3 of this article organizational structure 9-11 Chapter 2 FPGA Overview 11-22 2.1 programmable logic design techniques Introduction 11-12 2.1.1 Programmable Logic Devices Brief History of 11 2.1.2 programmable logic device classification 11-12 2.2 FPGA technology development history and trends 12-15 2.2.1 FPGA technology development history 12-13 2.2.2 FPGA technology development trends 13-15 2.3 FPGA architecture 15-17 2.3.1 Programmable I / O unit 15 2.3.2 basic programmable logic unit 15-16 2.3.3 Step line interconnect resources 16 2.3.4 embedded block RAM 16-17 2.3.5 embedded functional units 17 2.3.6 embedded in dedicated hard-core 17 2.4 FPGA design methods and design process 17-19 2.5 FPGA commonly used development tools 19-21 2.5.1 Quartus Ⅱ Introduction 19-20 2.5.2 the Quartus Ⅱ design characteristics 20-21 2.6 Summary 21-22 Chapter 3, the overall design of FPGA-based fast sub-system 22-35 3.1 FPGA-based fast sub-system's overall design 22-26 3.1.1 SOPC About 24-25 3.1.2 the Nios II soft core processor features 25-26 3.2 SOPC Builder hardware development 26-30 3.2.1 SOPC Builder About 27-28 3.2.2 Nios II hardware composition 28 3.2.3 Nios II system module generated 28-30 3.3 Nios Ⅱ IDE for software development 30-34 3.3.1 Nios Ⅱ IDE Introduction 31-32 3.3.2 HAL About 32-33 About 3.3.3 LwIP 33-34 3.4 Summary 34-35 Chapter 4 Implementation and results of analysis based on the fast FPGA sub-system 35-47 4.1 FPGA-based fast sub-system 35-45 4.1.1 LAN91C111 Ethernet controller driver interface 35-39 4.1.2 network packet storage module 39-41 4.1.3 interrupt handling module 41-42 4.1.4 DMA transfer module 42-43 4.1.5 filtering rules module 43-45 4.2 Experimental results and conclusions 45-46 4.2.1 Throughput Test 45 4.2.2 packet loss rate test 45-46 4.2.3 experimental conclusion 46 4.3 Summary 46-47 Chapter 5 Summary and outlook 47-48 5.1 This work summary 47 5.2 topics outlook 47-48 References 48-50 thank 50-51 Summary 51-53 Abstract 53-55

Related dissertations

  1. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  2. Design and Experiment of a Motion Control System Based on FPGA
    ZhouZan ·South China University of Technology ·2013 ·Master's thesis
  3. Electronics Design and Algorithm Implementation of Polarization Grating Sensor for Navigation
    MaQiang ·Tsinghua University ·2013 ·Master's thesis
  4. FPGA-based Fast Image Processing System
    YangLiJie ·Harbin Institute of Technology ·2012 ·Master's thesis
  5. Design and Implementation of the FPGA Image Reconstruction System Based on Compressed Sensing
    WangXing ·Northeastern University ·2013 ·Master's thesis
  6. Design of Multimedia Platform Based on FPGA
  7. Design and Implementation of NCC Accelerator Based Real-time Target Tracking System
    ZhangHaoPeng ·Zhejiang University ·2014 ·Master's thesis
  8. The Design of Disk Array Storage System Based on FPGA
    HuZuo ·Harbin Engineering University ·2013 ·Master's thesis
  9. Research on the System for File Storage Media Conversion Processing
    LiuDe ·Qilu Industrial University ·2013 ·Master's thesis
  10. Research and Implementation of FPGA-based Cloud Storage Security Systems
    WangChongSen ·Beijing Jiaotong University ·2014 ·Master's thesis
  11. The Design of High-speed Data Transmission System Based on RapidIO
    LiuLin ·Harbin Engineering University ·2013 ·Master's thesis
  12. Designof High-Frequency Spread Spectrum Communication System Based on SOPC
  13. Design and Implementation of Speaker Recognition System Based on SOPC
    ZhangXue ·Northeastern University ·2010 ·Master's thesis
  14. Design and Implementation of Wide-band Beamforming System Based on SOPC
    ChenQiuShi ·Harbin Engineering University ·2013 ·Master's thesis
  15. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  16. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  17. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  18. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  19. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  20. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis