On the Design and Implementation of a Packet Filter Against DDoS in Linux Kernel

Author
LiuFeng
Advisor
ZhouBin
School
National University of Defense Science and Technology
Major
Software Engineering
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2006
Downloads
104
Citations
0

Request the full text

Abstract

In recent years, network has developed very rapidly. With the widely use of internet, network intrusion and attack, especially Denial of Service has become a more and more serious and influencing attack style. Denial of Service makes the victims(host, server, router and all other network device)can not supply or accept normal services, which uses reasonable service request to engross overmuch service resource, which makes the server overloaded and cannot respond to any other requests. With the evolvement of technology, new means of DoS has emerged like DDoS. In order to assure the security of network systems, people brought forward a series of policies on the detection and recovery of DoS.At first, this paper presents DoS’s definition、classification、history and developing trend, including several DoS attack tools, and emphasizes on the analysis of typical attack approaches. Secondly this paper presents and contrasts actual main approaches on accounting DoS. On the base of which, this paper brings forward a DDoS attack packet filter model.Subsequently, the paper describes how to design and implements the filter. It first deeply researches into the time-window packet filtering mechanism on accounting DDoS flooding attack and verifies the feasibility. Then we explain the distributed packet detection and filtering mechanism. In addition to the schemes above, we presented a multi-handshaking SYN cookie improving model as a contrast to the traditional SYN cookie mechanism. At the same time, this paper researches and compares several defense schemes against DDoS on many fields. By analyzing and comparing these schemes’ property, we bring forward an all-around scheme. Based on which, we design and implement a packet filtering system.At last, we design several performance test cases. The test cases show that, with the filter security mechanism being added, the system’s security has increased very much with some system performance. By optimizing the system, we can improve the performance cost.

Table of contents

Directory 5-7 LIST 7-8 Summary 8-9 Abstract 9-10 The first chapter 10-13 1.1 application background 10-11 1.2 Background 11 1.2.1 firewall and DoS 11 1.2.2 scanners and DoS 11 1.2.3 Intrusion Detection System (IDS) and DoS 11 1.3 research objectives 11-12 1.4 research 12 1.5 Thesis structure 12-13 The second chapter related technologies 13-23 2.1 SYN-cookie technology 13-16 Introduction 2.1.1 SYN-cookie is 13 2.1.2 main workflow and generation algorithm 13-15 2.1.3 SYN-cookie technology applications 15-16 2.2 IPSec technology 16-17 2.2.1 Introduction 16 Application 2.2.2 IPSec technology 16-17 achieve 2.3 Linux network mechanisms 17-23 2.3.1 Netfilter introduced 17 2.3.2 packet reception and transmission processes 17-23 Chapter III filter design 23-45 3.1 DoS prevention technology comparison 23-26 3.1.1 DoS defense technology 23-24 3.1.2 DoS detection response technology 24-25 3.1.3 DoS tracking technology 25-26 3.2 filter design with contrast 26-31 3.2.1 client-based legitimacy filter 26-28 3.2.2 torrent types of attacks against the filter 28-30 3.2.3 Filter design contrast 30-31 3.3 final filter design 31-45 3.3.1 filter system model 32-33 3.3.2 filter system design 33-34 3.3.3 SYN cookie protocol design improvements 34-40 3.3.4 packet filtering to detect design 40-42 3.3.5 time window filter design 42-43 3.3.6 packet filtering queues design 43-44 3.3.7 Access Control Lists design 44 3.3.8 server-side filter design 44-45 Chapter IV filters achieve 45-60 4.1 packet inspection filtering implementations 45-50 establishment and maintenance 4.1.1 connection table 45-48 achieve 4.1.2 packet boundary check 48-50 4.2 time window filter to achieve 50-52 4.3 packet filtering queue of 52-54 4.4 SYN cookie achieve improved agreement 54-57 achieve 4.5 server-side filter 57-60 Chapter experiments and results analysis 60-67 nbsp 5.1 test environment ; 60 5.2 test cases 60-61 5.3 test results and analysis 61-67 5.3.1 Performance test 61-63 5.3.2 System test 63-65 5.3.3 Analysis 65-67 Chapter VI Conclusion 67-68 Thanks 68-69 studying for master's theses published 69-70 Appendix A: master's degree while participating in the research work 70-71 References 71-74

Related dissertations

  1. Quantized Control and Filtering of Networked Control Systems
    SunYunNa ·Tianjin University ·2012 ·Master's thesis
  2. Research on Robust Tracking Methods of Mobile Targets in Wireless Sensor Networks
  3. Research on Key Technology of Optical Fiber Current Sensor
  4. Genetic Algorithm and Its Properties Based on Filter Method
  5. Research on Defencing Real Source Address DDoS Attack
    ZhuHongChao ·Central South University ·2012 ·Master's thesis
  6. An Improved Feature Selection Algorithms and Anti-DDoS Analysis
    LiZongQiang ·Central South University ·2013 ·Master's thesis
  7. Implementation Firewall Combined with IPS to Prevent Dos/Malicious Attack
    LATSAMY CHANTHAVONG ·Hunan University ·2013 ·Master's thesis
  8. Design and Implementation of Personal Firewall Based on Windows
    YangQiu ·Dalian University of Technology ·2013 ·Master's thesis
  9. An Algorithm for Matching Strings with Wildcards
    YunZhengJia ·Northeastern University ·2011 ·Master's thesis
  10. Research on Pre-processing Methods of Fingerprint Image
    LiYan ·Northeastern University ·2011 ·Master's thesis
  11. Research on Feature Selection Algorithm for Pattern Classification
  12. Based on the J2EE Against Denial of Service System Management Module Design and Implementation
    HanJie ·Shandong University ·2013 ·Master's thesis
  13. TS101 high speed real time parallel signal processing system based on design and research
  14. Research on Methods of Target Data Correlation under Strong Clutter Interference
    ZhangFengYu ·Jiangnan University ·2013 ·Master's thesis
  15. Research on the S-typed Left-handed Material for60GHZ Communication
    ZhouFuKun ·Jiangxi Normal University ·2013 ·Master's thesis
  16. Study of miniaturized broadband S band up converter system
  17. The Design and Implementation of a Kind of Voiceprint Recognition System Prototype
    MengZuoHui ·Northeastern University ·2010 ·Master's thesis
  18. Processing of the Non-stationary Signal Based on the Wavelet Analysis Technology
    YuPing ·China University of Petroleum Hua Dong. ·2012 ·Master's thesis
  19. The Research on M-QAM Signals Demodulation Algorithm
  20. An Experiment System of Digital Signal Processing Based on LabVIEW8.2