Efficient multi-match packet classification with TCAM

被引:25
|
作者
Yu, F [1 ]
Katz, RH [1 ]
机构
[1] Univ Calif Berkeley, Dept Elect Engn & Comp Sci, Berkeley, CA 94720 USA
关键词
packet classification; multi-match packet classification; ternary CAM; negation removing;
D O I
10.1109/CONECT.2004.1375197
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Today's packet classification systems are designed to provide the highest priority matching result, e.g., the longest prefix match, even if a packet matches multiple classification rules. However, new network applications, such as intrusion detection systems, require information about all the matching results. We call this the multi-match classification problem. In several complex network applications, multi-match classification is immediately followed by other processing dependent on the classification results. Therefore, classification should be even faster than the line rate. Pure software solutions cannot be used due to their slow speeds. In this paper, we present a solution based on Ternary Content Addressable Memory (TCAM), which produces multi-match classification results with only one TCAM lookup and one SRAM lookup per packet-about ten times fewer memory lookups than a pure software approach. In addition, we present a scheme to remove the negation format in rule sets, which can save up to 95% of TCAM space compared with the straight forward solution. We show that using the pre-processing scheme we present, header processing for the SNORT rule set can be done with one TCAM and one SRAM lookup using a 135KB TCAM.
引用
收藏
页码:28 / 34
页数:7
相关论文
共 50 条
  • [31] Packet Classification Using TCAM of Narrow Entries
    Lin, Hsin-Tsung
    Pan, Wei-Han
    Wang, Pi-Chung
    TECHNOLOGIES, 2023, 11 (05)
  • [32] GreenTCAM: A Memory- and Energy-efficient TCAM-based Packet Classification
    Li, Xianfeng
    Lin, Yuanxin
    Li, Wenjun
    2016 INTERNATIONAL CONFERENCE ON COMPUTING, NETWORKING AND COMMUNICATIONS (ICNC), 2016,
  • [33] Efficient Gray-Code-Based Range Encoding Schemes for Packet Classification in TCAM
    Chang, Yeim-Kuan
    Su, Cheng-Chien
    Lin, Yung-Chieh
    Hsieh, Sun-Yuan
    IEEE-ACM TRANSACTIONS ON NETWORKING, 2013, 21 (04) : 1201 - 1214
  • [34] IMPROVEMENT OF TCAM-BASED PACKET CLASSIFICATION ALGORITHM
    Xu Zhen Zhang Jun Rui Liyang Sun Jun (The School of Electronics and information Engineering
    JournalofElectronics(China), 2008, (02) : 239 - 245
  • [35] Space and speed tradeoffs in TCAM hierarchical packet classification
    Kesselman, Alex
    Kogan, Kirill
    Nemzer, Sergey
    Segal, Michael
    2008 IEEE SARNOFF SYMPOSIUM, 2008, : 245 - +
  • [36] A high-speed packet classification using TCAM
    Uga, M
    Omotani, M
    Shiomoto, K
    IEICE TRANSACTIONS ON COMMUNICATIONS, 2002, E85B (09) : 1766 - 1773
  • [37] Scalable packet classification by TCAM entry encryption algorithm
    Lee, Chun-Liang
    Wang, Pi-Chung
    JOURNAL OF HIGH SPEED NETWORKS, 2007, 16 (03) : 275 - 283
  • [38] On Finding an Optimal TCAM Encoding Scheme for Packet Classification
    Rottenstreich, Ori
    Keslassy, Isaac
    Hassidim, Avinatan
    Kaplan, Haim
    Porat, Ely
    2013 PROCEEDINGS IEEE INFOCOM, 2013, : 2049 - 2057
  • [39] An encoding scheme for TCAM-based packet classification
    Pao, D
    Li, YK
    Zhou, P
    8TH INTERNATIONAL CONFERENCE ON ADVANCED COMMUNICATION TECHNOLOGY, VOLS 1-3: TOWARD THE ERA OF UBIQUITOUS NETWORKS AND SOCIETIES, 2006, : U470 - U475
  • [40] Space and speed tradeoffs in TCAM hierarchical packet classification
    Kesselman, Alexander
    Kogan, Kirill
    Nemzer, Sergey
    Segal, Michael
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2013, 79 (01) : 111 - 121