The Research and Realization of Parallel Queue Handler in Kernel Based on Netfilter Framework
- Author
- ZhaoZuoXu
- Advisor
- WangDeMin
- School
- Jilin University
- Major
- Computer Software and Theory
- Classification
- TP316 Operating system
- Degree
- Master's thesis
- Year
- 2004
- Downloads
- 185
- Citations
- 4
Abstract
With the rapid development of Information Technology (IT), the computer network will be more widely used in the politics, military, finance, business, traffic, telecom and education, especially the more the society depends on Internet, the more the significance of the network and its influence are. The Internet brings the society great contributions and advantages. Meantime, because of its distinct limits, there are many risks and hidden troubles in the information security, and the security problems of Internet have stood out. Therefore, the research of Internet security technique has been one of focuses in the communication and an important research area of the information science. Firewall is the fundamental device of network security. Its function is separating the unwelcome visit from the special network. So it is the boundary defense system of the enterprise network. Firewall divides the network into several independent subnets according to the levels of network security and trusty relationships, the in and out subnets are controlled by the firewall. It can permit the pass of special users and data packs and inhibit the inadmissible users and data packets in order to protect the subnets of high secure level, prevent the attack of the hacker and control the spread of intrusion. Firewall can be located between the local area network (LAN) and Internet, or LAN and LAN. Firewall system mainly includes: the Packet Filter technique, monitors and filters the input and output packet on the net and refuses to send the doubtful data packets, but it cannot separate effectively the same IP address; Proxy Server technique, through the application of proxy <WP=74>programs on the gateway, proxy programs replace the origin client programs to receive the demands of client ports, repeat them and contact with the outside servers of firewall; Port Mapping technique, it maps the port of outside network card address on the service port of inside server, then the users can get the service of inside server as long as visiting the special port of outside network card address; Network Address Transferring technique, firewall can use it to transfer all inside address into the firewall IP address, meantime, in the communication in the inside network, it still uses each own IP addresses, there is no conflict, the firewall can record detailedly the channel of every computer to guarantee the transfer, then the inside network is transparent for the outside network. Firewall system also includes group filter, gateway application and multipolar filter of electric gateway. With the perfect performance of network and open-source characteristic, Linux has been selected by more and more people for firewall operation platform. The firewall system permits network administrator to define a central “control point” to prevent unlawful users, such as hackers, network destroyers from entering inside network. And it also can avoid services with security frangibilities passing in and out network, and oppugn the attacks coming from various connections. Furthermore, the firewall can be logical address for deploy NAT to cover-up private network and solve the short of IP address.The Linux firewall system develops very fast. From the beginning, it is Ipfwadm in Linux 2.0 kernel and later Ipchains in 2.2 kernel, and now it is Netfilter/Iptables combination in 2.4. In this development process, many changes occur with the basic concept and entire design.Ipfwadm in Linux 2.0 kernel is the early days in development. It is <WP=75>transplanted from the kernel code of FreeBSD, and it is basic administrator tools of firewall. Later, Ipchains in 2.2 kernel implements three chains: INPUT, OUTPUT and FORWARD which seperately carry out the rules matching for incoming packets, outgoing packets and forwarding packets.Ipchains basically implements packet filtering, address translating. But Netfilter replaces Ipchains finally, and the main reason is it does not provide the framework for passing packets to userspace, and it must be through kernel programming to
Table of contents
First chapter 6-10
1.1 Background 6-7
1.2 Network Security Overview 7-9
1.2.1 network security the importance of
1.2.2 mature network security products 7-9
1.3 of this article, the main work 9-10
Chapter firewall technology 10-18
2.1 Firewall Overview 10-16
2.1.1 firewall concepts and classifications 10-13
2.1.2 firewall stage of development 13-16
2.2 firewall design guidelines 16-18
the third chapter of the Netfilter framework 18-38
3.1 under Linux firewall development 18-22
3.1.1 Ipchains the lack of 18-19
3.1.2 the Netfilter improvements 19-22
3.2 large prepackaged Linux 2.4 under the firewall architecture 22-31
3.2.1 of the Netfilter architecture and IP layer 22-23
3.2.2 the Netfilter structure in IPv4 23-25
3.2.3 Netfilter core module 25-31
3.3.1 Libipq API 3.3 queued datagram to the user space 31-36
32-33
3.3.2 the problems of the existing queue processor 33-36 36-38
Chapter IV
3.4 Parallel queue processor proposed parallel queue processing The Realization 38-55
4.1 parallel queue processor in the kernel of the design and realization of 38-49
4.1.1 queue processor functions 38 -39
4.1.2 parallel queue processor 39-42
4.1.3 parallel queue processor realization 42-49
4.2 queue modify and improve the overflow 49-55
4.2.1 kernel improvements 50-53
4.2.2 Libipq API improvements 53-55
Chapter V system test 55-62
5.1 lab environment 55
5.2 testing process 55-57
5.3 debugging tools 57-62
5.3.1 kernel debugging tools 57-59
5.3.2 user space debugging tools 59-62
Chapter VI summarizes 62-64
References 64-68
thank 68-69
Abstract 69-73
Abstract 73-76
Related dissertations
- Research on Data Acquisition of3D Laser Point Scanner and the Algorithm of Hole-repairing and Smoothing
- Rough Set Attribute Reduction Algorithm Based on GA and MapPreduce
- Design and Implementation of Server Monitoring System Based on Traffic Information
- The Research and Design of the Internet Behavior Management System Traffic Management
- Optimization of CUDA-based Parallel SOM Algorithm and Its Application
- Research on Subtree Results Generation of XML Keyword Search
- A Scalable Implementation of Adaptive Directional Lifting Wavelet Based Image Decomposition on CUDA
- Parallel distributed processing and application in rendering based on
- Research on Large-scale Unstructured Data Processing of Index and Visualization
- Operation Research and Implement of String Type Data in Column Database
- Research and Implementation of Checkpoint System Based on Embeded Multi-core Environment
- A Task Scheduling System Model Based on Parallel Resource Attribute Selection
- Design and Implementation of Vectorized FFTs on the YHFT-Matrix
- The Research on Multichannel Parallel Signals Processing of Lidar Ranging System Based on FPGA
- Research on the Implementation of High-Speed Image Decompression System Based on Parallel Technology
- Research on Joint Parallel Algorithm of H.264Encoders and Decoders
- Research and Application on the High Speed FIR Digital Filter
- Comparative study of expression - painting and poetry in the time expression in painting time case
- Research on Control Stategies of Three-phase Grid-connected Photovoltaic Inverter
- Research on Parallel Issues for PV Inverter