Research and Implementation of RFC Algorithm in Linux Firewall
- Author
- SongXu
- Advisor
- ZhaoZiXiang
- School
- Dalian Maritime University
- Major
- Computer Science and Technology
- Classification
- TP393.08 Computer Network Security
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 120
- Citations
- 1
Abstract
With the rapid development and extensive use of the internet in the worldwide, Computer network has become the basis of the information society and penetrated into every corner of society.In the early stage, router and firewall——the main equipment of data transmission, forwarded the packet without distinguishing.But this approach was unable to meet the current needs of the community people on the network. Therefore, in order to gratify different users, routers need to classify the transmission’s data, which should provide different network services.The packet classification technology became the foundation of differentiated services which includes packet filtering firewall, network intrusion detection, VPN, policy routing and so on.Based on the idea of classifying and then disposing each packet, it has also become a performance bottleneck in the modern high-speed network. So we need a high-speed packet classification algorithm, this is also a difficult problem that must be solved currently.In this paper, the background, the current situation and the applications of the packet classification algorithm have been analyzed. Based on the study of the advantages and disadvantages of the present several classical packet classification algorithms and the main idea, we considered a category faster packet classification algorithm-RFC (Recursive Flow Classification) algorithm as its research target. The research indicates that when the algorithm’s rule set increases rapidly, the space which has been occupied of RFC algorithm will also increase rapidly. To solve the problem, this paper puts forward an improved algorithm-CRFC algorithm, and the algorithm’s optimization and implementation in the Linux firewall. CRFC algorithm takes space and time performance into account synthetically. According to the original RFC algorithm’s each element characteristics in constructing the index cross-product table, it takes a compression method to the index cross-product so as to achieve optimization of the original algorithm in the storage space.In order to achieve efficient performance of CRFC algorithm, the paper also carried out in-depth study to the Linux firewall, as the old Linux firewall adopted the linear matching during the rules search of the data packet, which may become a performance bottleneck. To solve this problem, I adopt CRFC algorithm to find the packets in the netfilter framework of the Linux firewall and write it into the Linux kernel. Through the improvement of the algorithm, the performance of Linux firewall has achieved a certain increase.Finally, by setting up the experimental test environment, I have analyzed both the performance of the CRFC algorithm and its practical application in the Linux firewall. Moreover, I have also made a comparison between the experimental results of the linear algorithm, RFC algorithm and CRFC algorithm, which prove that CRFC algorithm give rise to a certain improvement and enhancement of the performance of Linux firewall.
Related dissertations
- The Study of Linux IPv6 Firewall Based on HiCuts Algorithm
- Statistical Waveform Packet Classification for Network Gateway
- Stateful Packet Classification for Gateway
- Research on Packet Classification Algorithms for Packet Filter Firewall
- Research and Application of an Efficient Packet Classification Algorithm Based on Multi-level Search
- The Research on IP Address Lookup and Packet Classification Algorithm
- The Researches and Applications on High Performance Packet Classification Technology
- Research on Storage and Power Efficiency Packet Classification Algorithm Based on TCAM
- Design and Implementation of IP QoS on Multi-core Network Processor
- Wireless Sensor Network Routing Algorithm and Embedded Implementations
- Research on the Network Traffic Classification and Control Technologies Based on Hidden Markov Model
- Research on Key Technologies in Mobile Ad Hoc Networks
- Research on the Key Technologies of Quality of Service in WCDMA Core Networks
- High - speed packet classification co-processor and network platform
- Research on High Performance IP Route Lookup and Packet Classification
- Research on Models, Algorithms and Implementations of Traffic Control Based on Network Processor
- Research on High Speed IP Routing Lookup and Packet Classification Algorithms
- Studies on CQS in High-Speed Network Elements
- The Study on High-speed Algorithms of Packet Classification and Its Implement Techniques
- High Speed Network Protocol Identification Research Based on Content Analysis