The Research & Implementation of BPF Model on Linux

Author
LouBingLiang
Advisor
CaoJing
School
Hohai University
Major
Applied Computer Technology
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2004
Downloads
191
Citations
1

Request the full text

Abstract

The implementation of Intrusion Detection & Prevention System depends on some software saddlebags to capture and filter packets.This paper makes a comparison firstly on the merits and the shortcomings of some typical packet filtering models, such as NIT, CSPF (CMU/Stanford Packet Filter) and BPF (Berkeley Packet Filter) etc. Among them, BPF model is discussed in detail. Secondly, we implement a BPF model called mybpf on Linux as a kernel module. It can collect packets within the Netfilter frame, provide the applications with an interface in char device file manner and be attached to the NF_IP_PRE_ROUTING hook defined by Netfilter frame for IPv4 as a hook function. Finally, we evaluate the performance between mybpf and other BPF on SOCK_PACKET socket.

Table of contents

The first chapter 6-11 1.1 Introduction 6-9 1.2 research content and objectives 9-10 1.3 The paper is organized 10 1.4 this work 10-11 Chapter BPF model 11-17 2.1 BPF model describes 11-12 2.2 BPF filter description 12-13 2.3 BPF virtual machine 13-16 2.4 BPF model application analysis 16-17 <br / > Chapter mybpf system design 17-37 3.1 mybpf design goals 17 3.2 mybpf system architecture 17-31 3.2.1 hook function 19-25 3.2.2 mybpf_d data type 25-26 3.2.3 character device file interface 26-31 3.3 mybpf achieve way 31-36 3.4 mybpf system characteristics 36-37 Chapter mybpf module test 37-48 4.1 debugging Techniques 37-39 4.2 mybpf module test 39-48 Chapter Summary and Outlook 48-50 5.1 Summary 48 < br /> 5.2 Prospects 48-50 References 50-52 Thanks 52-53 papers published during the study for a degree directory 53

Related dissertations

  1. The Pproblems and Solutions of the Network Information Security
    TianSong ·Yanshan University ·2012 ·Master's thesis
  2. Design and Implementation of Server Monitoring System Based on Traffic Information
  3. The Research and Design of the Internet Behavior Management System Traffic Management
    LiuZuo ·Chang'an University ·2013 ·Master's thesis
  4. Research and Implementation of Audit Monitor Firewall Based on the Framework of the Netfilter
    WuLiangMin ·Hunan University ·2012 ·Master's thesis
  5. Research of Intrusion Prevension System in IPv6Transition Environment
  6. The Design and Implementation of the Netfilter-Based Content Filtering System
  7. Configration and Analysis of Netfilter/Iptables in Linux Kernel
  8. The Design and Implematation of P2P Traffic Monitoring System
  9. Design and Implementation DPI and DFI-based System of Flow Identification and Control
  10. Internet P2P application signature extraction and flow control research
    KangDaoJie ·Yunnan University ·2013 ·Master's thesis
  11. A Novel Identity-Locator Seperation-based Protocol Stack Design and Implementation
  12. The Research and Application on Intranet IPv6Transition Technology
  13. The Research and Implementation of IPv4/IPv6Traslation Gateway Based on NAT-PT
  14. Design and Implementation of a Network Performance Emulation System
  15. Study and Design of Netfilter-based Framework of Enterprise-class Mobile Application Platform
  16. Studies on Key Technologies of Converged Channel Bilateral Transmission in HFC Network
    XueZuo ·Beijing Jiaotong University ·2012 ·Master's thesis
  17. Embedded ADHOC Network Node: Protocol Analysis and Its GUI Design
    DuZhiMin ·Huaqiao University ·2012 ·Master's thesis
  18. WLAN monitoring system based on Linux
  19. Research on Handling IP Fragment in BSD Packet Filter
    LiLanQing ·Dalian University of Technology ·2012 ·Master's thesis
  20. Parameter Identification for Excitation System and Transmission Line Based on WAMS
    ZhaoFei ·North China Electric Power University ·2012 ·Master's thesis