Design and Implementation of Packet Filter Rule Framework of Firewall

Author
LiuJunYu
Advisor
GaoYan
School
Northeastern University
Major
Computer technology
Classification
TP393.08 Computer Network Security
Degree
Master's thesis
Year
2010
Downloads
51
Citations
1

Request the full text

Abstract

With the continuous development of economy and society, and the more widespread of network applications, the user demand for the network security protection is growing continuously. And the requirement of protection capabilities and performance of the network security equipment is gradually improving too. The traditional network security equipment Firewall has been difficult to meet the needs of complex applications, and it started the transition from the traditional firewall to Unified Threat Management (UTM) system. In the meantime, with the expansion of security equipment functions, the categories of filter rule which is the basis of the network security are increased subsequently. Supposing that, the manufacturers implement rule management modules and rule matching modules for each new rule independently, it would be bound to the high cost of development and maintenance, and also it is not conducive to accelerating the pace of product development.Therefore, developing a scalable security rules framework has become an urgent need. It will make the integration of new rules modular, and reduce the development and maintenance cost of new rules.This thesis analyses the packet forwarding process and the characteristics of the various security rules of firewall, and proposes the concept of abstract rules. It designed and implemented a common framework system for security rules management and matching rules, provided the reusable interfaces for rule matching and rule management. The thesis describes the design of the whole framework of rules and the implementation process, and illustrates the process and methods of the IP packet filtering rule module implements based on rule framework. Finally, it introduces the function and performance test process against the rule framework.The rule framework not only integrated interfaces of various rules to add, delete, match and the other conventional operations,, allows modules can be re-used when developing new rule functions, the rule framework also provides the interface of expanding rule matching algorithm, organize and manage these expanding rule matching algorithm uniform and solves the problem of all kinds of rules’reuse for matching algorithm. It makes the rules system of the product more scalable and easier to integrate new rules; also it improved the code reuse rates, saved the development costs. The specific application IP packet filter rule module which is developed based on rule framework has been successfully integrated into the latest version of the Neusoft UTM products. And the using of new matching algorithm, greatly enhance the performance of the rule matching function At the end of the thesis, it summarizes achievement and problems in the rule framework, and proposed improvements in the following work.

Table of contents

Abstract 5-6 Abstract 6-11 first chapter 11-15 1.1 Project Background 11-12 < br /> 1.2 goals and content 12 1.3 dissertation chapters arranged 12-15 Chapter II development platform and related technologies 15-21 2.1 Linux firewall technology 15-17 2.1.1 Linux firewall 15 2.1.2 Netfilter 15-16 2.1.3 Iptables 16-17 2.2 NetEye firewall system platform NEOS 17-18 2.3 tools and methods 18-21 2.3.1 Gcc 18 2.3.2 dynamic Link Library 18 2.3.3 system Calls 18-19 2.3.4 SmartBits tester 19 2.3.5 VMware 19-20 2.3.6 software framework design 20-21 Chapter firewall rule framework needs analysis 21-27 <br / > 3.1 rules Framework design background 21-24 3.1.1 framework of rules related concepts 21-22 3.1.2 UTM functional framework 22 <br / > 3.1.3 firewall packet forwarding process 22-24 3.2 rules Framework design requirements 24-27 3.2.1 rules Management operations on the regulatory framework required 25 3.2.2 rule matches the requirements of the framework of the rules 25 3.2.3 expansion matching algorithm regulatory framework requires 25-27 Chapter firewall rules framework overall design 27-39 4.1 rules prototype definition 27-28 4.2 rules to store and organize 28-32 4.2.1 rules storage structure 28-30 4.2.2 rules organizational forms 30-32 4.2.3 Hipac algorithm rules organizational forms 32 <br / > 4.3 rules Framework hierarchical division 32-34 4.4 rules framework 34-35 4.5 framework of rules work process 35-39 4.5. a regulatory framework initialization process 35-36 4.5.2 user mode to kernel mode command line add rules process 36-37 4.5.3 rule matching process 37-39 Chapter regulatory framework kernel module design and implementation 39-51 5.1 rules management interface and rule matching interface design and implementation 39-48 < br /> 5.1.1 rules management Interface 39-41 5.1.2 rule matching interfaces 41-44 5.1.3 extension rule matching algorithm 44 - 46 5.1.4 kernel interface framework of rules call methods 46-48 5.2 kernel modules framework of rules to achieve 48-51 5.2.1 kernel modules framework of rules development environment 48 5.2.2 kernel module development results framework of rules 48-49 5.2.3 kernel modules framework of rules provided kernel function interface 49-51 Chapter IP packet filtering rules module and IP packet filtering rules userland management program to achieve 51-63 6.1 IP packet filtering rules module design and implementation 51 - 58 6.1.1 IP packet filtering rule matching interfaces 52-55 6.1.2 IP packet filtering rules management interface 55-57 6.1.3 IP packet filtering rules module initialization and exit process 57-58 6.2 IP packet filtering userland management program to achieve 58-63 6.2.1 IP packet filtering rules module userland interface implementation 59-61 6.2.2 IP packet filtering rule configuration tool to achieve 61-63 Chapter VII of the testing and analysis 63-71 < br /> 7.1 functionality and performance testing 63-68 7.2 analysis of test results 68-71 Conclusion 71-73 References 73-75 Thanks 75

Related dissertations

  1. Configration and Analysis of Netfilter/Iptables in Linux Kernel
  2. IPv4/IPv6 transition phase under study and implementation of firewall technology
    DaiXiaoMiao ·Beijing Jiaotong University ·2007 ·Master's thesis
  3. The Research and Realization of Firewall Based on Embedded Linux Technology
    LiuZhengHai ·Chongqing University ·2007 ·Master's thesis
  4. Based on Artificial Immune Learning Research and Implementation of a firewall
    ZhangFeng ·Suzhou University ·2007 ·Master's thesis
  5. The Research and Implementation in View of Packet Filtering Technique in Individual Security Defense System
  6. Study and Implementation of Stateful InspectionTechnology in IPv6 Firewall
    ZhangKe ·Chongqing University ·2007 ·Master's thesis
  7. Linux-based embedded firewall network traffic control system
    WuHuTong ·Tianjin University ·2004 ·Master's thesis
  8. Design and Implementation of IPv4/IPv6 Daul Stack Firewall Based on Linux
    MiGuoZhi ·Lanzhou University of Technology ·2004 ·Master's thesis
  9. Application of Intrusion Detection Technology on Linux-based Firewall
    WangLi ·Central China Normal University ·2004 ·Master's thesis
  10. Research and based on the Linux Ethernet host firewall
    RaoWei ·Zhejiang University ·2004 ·Master's thesis
  11. The Application and Design of Senal Pert Insulation in Stock Transaction Online
    SanHuanWen ·Taiyuan University of Technology ·2002 ·Master's thesis
  12. Network Perimeter Security Defense System Based on Linux Kernel
    ChenYuLai ·Shanghai Jiaotong University ·2007 ·Master's thesis
  13. The Research & Realization of Packet Filtering Technology in Individual Security Defense System
  14. Research and Realization of Intrusion Detection Individual Firewall on Linux Operation System
    QiuHao ·Guizhou University ·2006 ·Master's thesis
  15. Based on the Firewall and Intrusion Detection Linkage System Research and Implementation
  16. Risk Analysis and Evaluation of Network Security in Stock Information Systems
    YangJian ·Hunan University ·2013 ·Master's thesis
  17. The Research and Design of Xiangyang Career Technical College Campus Network Virus Prevntion System
  18. Optimization Technology on Packet Filtering of Firewall
    NiCuiXia ·Ningbo University ·2013 ·Master's thesis
  19. Research on Security Performance Based on Embedded Network Firewall
    RenZhou ·Central South University ·2013 ·Master's thesis
  20. The Research on Firewall Policy in Cloud Environment Conflict Detecting and Resolving
    XiaoZuo ·Hunan University ·2013 ·Master's thesis