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
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
- The Pproblems and Solutions of the Network Information Security
- Design and Implementation of Server Monitoring System Based on Traffic Information
- The Research and Design of the Internet Behavior Management System Traffic Management
- Research and Implementation of Audit Monitor Firewall Based on the Framework of the Netfilter
- Research of Intrusion Prevension System in IPv6Transition Environment
- The Design and Implementation of the Netfilter-Based Content Filtering System
- Configration and Analysis of Netfilter/Iptables in Linux Kernel
- The Design and Implematation of P2P Traffic Monitoring System
- Design and Implementation DPI and DFI-based System of Flow Identification and Control
- Internet P2P application signature extraction and flow control research
- A Novel Identity-Locator Seperation-based Protocol Stack Design and Implementation
- The Research and Application on Intranet IPv6Transition Technology
- The Research and Implementation of IPv4/IPv6Traslation Gateway Based on NAT-PT
- Design and Implementation of a Network Performance Emulation System
- Study and Design of Netfilter-based Framework of Enterprise-class Mobile Application Platform
- Studies on Key Technologies of Converged Channel Bilateral Transmission in HFC Network
- Embedded ADHOC Network Node: Protocol Analysis and Its GUI Design
- WLAN monitoring system based on Linux
- Research on Handling IP Fragment in BSD Packet Filter
- Parameter Identification for Excitation System and Transmission Line Based on WAMS