Research and Application of Linux Firewall Based on Netfilter
- Author
- DingJian
- Advisor
- XiongShengWu
- School
- Wuhan University of Technology
- Major
- Applied Computer Technology
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 287
- Citations
- 7
Abstract
With the rapid development of Internet, the information technology has continuously influenced every aspect of society, which has brought huge economic and social benefits, but it also brings security risks that can not be ignored. As an effective way to guarantee network security, firewall has been widely accepted and used.Linux as a widely used open source operating system, has excellent network performance and reliable firewall architecture. More and more users choose Linux as a firewall platform, since its functionality and performance is comparable with many commercial firewall products.This thesis, to begin with, discusses the concepts of firewall technology and its developing history, analyses the framework of Netfilter and packet filtering process. Design and developed a Embedded Firewall system base on the embedded Linux operating system and Netfilter firewall architecture.Many new protocols defined on the application level,which is based on variable port, and transport data through the http port 80, is hard to identify by the traditional packet filtering firewall.This thesis introduced an approach based on regular expression matching method to check the contents of packets, identify and filter with iptables.Denial of service attack, which always send to the server a large number of requests with fake IP addresses, is very popular in recent years. As the most commonly used network security products, firewall does not take into account for DDoS protection in the design, due to the entrance of the network, in some cases, firewall even becomes to the target of DDoS attack, and results in the denial of the entire network services. On the basis of DDoS attack and its defending strategies, especially on the implement of SYN Cookie in Linux kernel, this thesis analyses its Advantage and defects, and introduced an improvement of SYN Cookie mechanism.
Table of contents
Abstract 4-5
Abstract 5-8
Chapter 1 Introduction 8-12
1.1 network security and firewall technology overview 8-9
120 research status 9-10
1.3 Background 10-11
1.4 of this article the main work 11-12
Chapter 2 firewall technology 12-28
2.1 firewall definition 12-13
2.2 firewall technology 13-15
2.2.1 Packet filtering 13-14
2.2.2 application proxy 14-15
2.2.3 state detection 15
2.3 Linux firewall history of the development 15-16
2.4 Linux firewall system structure 16-27
2.4.1 Netfilter frame structure 16-20
2.4.2 iptables management tool 20-23
2.4.3 Table of classification 23-25
2.4.4 custom chain 25-26
2.4.5 packet filtering process 26-27
2.5 Summary 27-28
Chapter 3 Design and Implementation of firewalls in general function 28-41
3.1 system architecture design 28-29
3.2 hardware platform introduced 29-30
3.2.1 IXP425 network processor 29-30
3.2.2 Network Processing Engine (NPE) 30
3.3 Establishment of environmental 30-33
3.3.1 custom Linux kernel 31
3.3.2 make the root file system 31-33
3.4 firewall filtering policies 33-38
3.4.1 security strategies 33-35
3.4.2 prepare startup script 35-38
3.5 application layer filtering 38-40
3.6 Summary 40-41
Chapter 4 Firewall to resist denial of service attack strategy 41-59
4.1 Attacks 41-44
4.1.1 DoS attack 41-42
4.1.2 DDoS attacks 42-44
4.2 attack introduced 44-45
4.3 existing defense strategy 45-48
4.3.1 filtering gateway protection 46-47
4.3.2 modify the kernel TCP / IP protocol stack 47-48
4.4 SYN Cookie principle and 48-52
4.5 improvements to the existing SYN cookie mechanism 52-58
4.5.1 SYN retransmission 52-53
4.5.2 Hash Algorithm Optimization 53-55
4.5.3 allocation of a small amount of resources 55-57
4.5.4 add support for TCP options 57-58
4.6 Summary 58-59
Chapter 5 test experiments 59-62
5.1 test environment 59
5.2 application layer filtering test 59-60
5.3 DDoS attack test 60-62
Chapter 6 Summary and outlook 62-63
References 63-65
thank 65-66
papers published during the master's degree 66
Related dissertations
- Based on the Firewall and Intrusion Detection Linkage System Research and Implementation
- Research on Security Performance Based on Embedded Network Firewall
- The Research on Firewall Policy in Cloud Environment Conflict Detecting and Resolving
- Implementation Firewall Combined with IPS to Prevent Dos/Malicious Attack
- Application on Hybrid Packet Flitering Firewall in the Office Network of Communication Industry
- The Design and Implementation of Enterprise Security Information Network
- The Research and Design of Security System of Network Based on Military Information Network
- The Research on Honeynet-based Network Security Defense Technique
- Research on Perforance Model Based on Single-Cpu Firewall
- Design and Implementation of Session Count Limit Firewall System Based on Access Control List
- The Embedded Firewall Based on IXP425Network Processor Design
- Analysisand Design of the Distributed Network Security System
- Design and Implementation of Risk Assessment System Based on the Data of the Firewall
- Anshan Netcom Corporation 97 Network Security Firewall System Development and Application
- Application of Firewall in Campus Network
- The Design and Implementation of Enterprise Network System of Shenzhou Yangqt Group
- Configration and Analysis of Netfilter/Iptables in Linux Kernel
- The Design and Implementation of Network Scheme for Chemical Enterprise
- The Design and Engineering Implementation of Campus Network Security Scheme
- Research on Key Technology of SIP-Based VoIP Network Security