High Performance Packet-classification Algorithm Study

Author
ZhangQingHong
Advisor
HuoHongWei
School
Xi'an University of Electronic Science and Technology
Major
Computer Software and Theory
Classification
TP393.01 Theory of computer networks
Degree
Master's thesis
Year
2008
Downloads
86
Citations
1

Request the full text

Abstract

Nowadays, more and more PCs link to the Internet and this makes Internet data flow growing much faster than any time before. Consequently, good quality of Internet services much more difficulty to obtain. With the rapid development of fiber and DWDM technology, the networks transmission rate is satisfying basically. As a basic equipment of networks, router becomes a bottle neck of the Internet now and the basic technology of router is packet classification.In this paper, we first do a systemic, detail research on almost all the classical packet classification algorithms and analyze the time and space request of all the algorithms and compare on time/space consumption between them. Our research shows: the most of the classical packet classification algorithms only suit for one or to type of matching. Nowadays, the packet filter becomes to be more and more complexity. One filter usually comprises longest prefix matching, accurate matching, rang matching and so on. That one algorithm fits all the type of matching remains a problem.As to the problem above, we introduce a new algorithm named multidimensional subsection on field algorithm and this algorithm uses strategy of filter-division on matching type. Concretely says, this algorithm deals different matching field in one rule with different strategy. In our new algorithm, we use Tuple Space Search algorithm for the longest prefix matching parts, hashing table for accurate matching parts and develop state transmission tree algorithm for the last parts of the rule. We introduced the parallel algorithm soon. Finally we coded in C language for our algorithm for verifying.It is obvious that our algorithm can fit various filters well. We analyzed the time and space requirement of the algorithm. The result shows that time complexity is O( log n) and space complexity is O(N), the n is the number of the Tuple, the N is the number of rule and n<N.

Table of contents

Abstract 3-4 ABSTRACT 4-5 directory 5-7 first chapter 7-13 1.1 Background 7-9 the of 1.2 packet classification problem status quo 9-11 1.3 This article mainly work 11-13 packet classification Overview 13-19 the The 2.1 packet classification issue raised 13-14 the of 2.2 packet classification problem defined 14-16 2.3 packet classification algorithm performance evaluation 16 2.4 packet classification problem difficulty 16-17 2.5 This chapter Summary 17-19 Chapter typical algorithm described 19-41 3.1 Overview 19-20 3.2 based on Trie algorithm 20-23 3.2.1 Hierarchical Trie algorithm 20-21 3.2.2 Set-Pruning Trie algorithm 21-22 3.2.3 Grid-of-Tries algorithm 22-23 3.3 2D classification algorithm 23-25 3.4 Bit Vector algorithm 25-26 3.5 HiCuts algorithm 26-28 3.6 RFC algorithm 28-31 3.7 Tuple space search 31-33 3.8 based on the plane by the quadtree algorithm 33-34 3.9 the FIS tree-based algorithm 34-36 3.10 cross multiplication 36-37 3.11-bit parallel packet classification algorithm 37-38 3.12 This chapter Summary 38-41 the fourth chapter of domain multidimensional packet classification algorithm 41-59 order to achieve ideological 4.1 algorithm 42-43 4.2 prefix matching segment 43-45 4.2.1 Tuple space search algorithm improvement 44-45 4.2.2 Algorithm Description and Performance Analysis 45 4.3 Exact match segment 45-46 4.4 any bitmask matching segment 46-52 4.4.1 Aho-Corasick algorithm 46-47 4.4.2 state transfer of the tree algorithms design ideas 47 4.4.3 pretreatment 47-49 4.4.4 Find 49 4.4.5 the algorithm further illustrate 49-50 4.4.6 Time complexity analysis 50-52 4.4.7 space complexity analysis 52 the a 4.5 domain sub-classification algorithm time complexity and space complexity analysis 52-55 4.6 of the algorithm in parallel to achieve ideological 55-56 4.7 experimental verification 56 4.8 This chapter Summary 56-59 Chapter V Conclusion 59-61 Acknowledgements 61-63 the References 63-67 research during the school 67

Related dissertations

  1. The Research on IP Address Lookup and Packet Classification Algorithm
    XiongShuai ·Hunan University ·2013 ·Master's thesis
  2. Comparative Study of XBRL Dimensions and Tuple
    TianMaoBin ·Shanghai Jiaotong University ·2013 ·Master's thesis
  3. Algorithm Based on Chinese for Matching Multiple Patterns and Its Application Research
    ZhangGuYuan ·Hefei University of Technology ·2012 ·Master's thesis
  4. Analysis and Design of Intrusion Detection System for High-Speed Network
  5. Multi-pattern Matching Algorithms
    AHMED ABDO FARHAN SAIF ·Jilin University ·2012 ·Master's thesis
  6. Research on Layered High-Speed Packet Parsing Technology for Resource Optimization
    DongYongJi ·PLA Information Engineering University ·2013 ·Doctoral dissertation
  7. Research on String Similarity Join Algorithm
    WangYan ·Yanshan University ·2013 ·Master's thesis
  8. Research on Multi-pattern Matching Algorithm for Chinese Based on Finite State Automata
    YangBo ·Hefei University of Technology ·2013 ·Master's thesis
  9. New Differential Protection Theory Research and Its Application in Wide-Area Protection
  10. The Study on High-speed Algorithms of Packet Classification and Its Implement Techniques
  11. Study on Evaluation and Risk Management of Cooperative Technological Innovation Project
    ChengPengFei ·Central South University ·2008 ·Doctoral dissertation
  12. Research on Content Filter in Hardware Firewall Based on FPGA
    WangJie ·Harbin Institute of Technology ·2009 ·Doctoral dissertation
  13. Research on Text Steganography and Steganalysis
    ZuoXinGuang ·PLA Information Engineering University ·2007 ·Doctoral dissertation
  14. Key quality characteristics for large injection equipment shelf design technology and its application
    GaoYiCong ·Zhejiang University ·2011 ·Doctoral dissertation
  15. Design and Implementation of E-Mail Monitoring and Audit System
  16. An Improved String Matching Algorithm Used in Intrusion Detection
    ChenZuo ·Research Institute of Mechanical ·2007 ·Master's thesis
  17. Research of Intrusion Anlysis Technque in Intrusion Detection System
    DaiHua ·Hunan Normal University ·2007 ·Master's thesis
  18. The Adaptive Trie Tree and the Improved Algorithms of GPERF
    WangGuanChong ·Fuzhou University ·2004 ·Master's thesis
  19. The Design and Implementation of Intrusion Detection System Based on Network Processor
    LeiJun ·Shanghai Jiaotong University ·2007 ·Master's thesis
  20. An Implementation of Chinese Character Approximate Matching Based on Re-configurable Computing
    ZhangZuo ·Institute of Computing Technology ·2006 ·Master's thesis