Fast Deep Packet Inspection with a Dual Finite Automata

被引:14
|
作者
Liu, Cong [1 ]
Wu, Jie [2 ]
机构
[1] Sun Yat Sen Univ, Sch Informat Sci & Technol, Guangzhou Mega Ctr Higher Educ, Guangzhou 510006, Guangdong, Peoples R China
[2] Temple Univ, Dept Comp & Informat Sci, Philadelphia, PA 19122 USA
基金
中国国家自然科学基金; 美国国家科学基金会;
关键词
Deep packet inspection; linear finite automaton (LFA); dual finite automaton (dual FA);
D O I
10.1109/TC.2011.231
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Deep packet inspection, in which packet payloads are matched against a large set of patterns, is an important algorithm in many networking applications. Nondeterministic Finite Automaton (NFA) and Deterministic Finite Automaton (DFA) are the basis of existing algorithms. However, both NFA and DFA are not ideal for real-world rule sets: NFA has the minimum storage, but the maximum memory bandwidth; while DFA has the minimum memory bandwidth, but the maximum storage. Specifically, NFA and DFA cannot handle the presence of character sets, wildcards, and repetitions of character sets or wildcards in real-world rule sets. In this paper, we propose and evaluate a dual Finite Automaton (dual FA) to address these shortcomings. The dual FA consists of a linear finite automaton (LFA) and an extended deterministic finite automaton (EDFA). The LFA is simple to implement, and it provides an alternative approach to handle the repetition of character sets and wildcards (which could otherwise cause the state explosion problem in a DFA) without increasing memory bandwidth. We evaluate the automaton in real-world rule sets using different synthetic payload streams. The results show that dual FA can reduce the number of states up to five orders of magnitude while their memory bandwidth is close to minimum.
引用
收藏
页码:310 / 321
页数:12
相关论文
共 50 条
  • [1] Deflating the big bang: Fast and scalable deep packet inspection with extended finite automata
    Smith, Randy
    Estan, Cristian
    Jha, Somesh
    Kong, Shijin
    [J]. ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2008, 38 (04) : 207 - 218
  • [2] A Technical Survey on Intelligent Optimization Grouping Algorithms for Finite State Automata in Deep Packet Inspection
    Samuel, Prithi
    Subbaiyan, Sumathi
    Balusamy, Balamurugan
    Doraikannan, Sumathi
    Gandomi, Amir H.
    [J]. ARCHIVES OF COMPUTATIONAL METHODS IN ENGINEERING, 2021, 28 (03) : 1371 - 1396
  • [3] A Technical Survey on Intelligent Optimization Grouping Algorithms for Finite State Automata in Deep Packet Inspection
    Prithi Samuel
    Sumathi Subbaiyan
    Balamurugan Balusamy
    Sumathi Doraikannan
    Amir H. Gandomi
    [J]. Archives of Computational Methods in Engineering, 2021, 28 : 1371 - 1396
  • [4] Efficient Multistriding of Large Non-deterministic Finite State Automata for Deep Packet Inspection
    Avalle, Matteo
    Risso, Fulvio
    Sisto, Riccardo
    [J]. 2012 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATIONS (ICC), 2012,
  • [5] Deep Packet Inspection in FPGAs via Approximate Nondeterministic Automata
    Ceska, Milan
    Havlena, Vojtech
    Holik, Lukas
    Korenek, Jan
    Lengal, Ondrej
    Matousek, Denis
    Matousek, Jiri
    Semric, Jakub
    Vojnar, Tomas
    [J]. 2019 27TH IEEE ANNUAL INTERNATIONAL SYMPOSIUM ON FIELD-PROGRAMMABLE CUSTOM COMPUTING MACHINES (FCCM), 2019, : 109 - 117
  • [6] SI-DFA: Sub-expression Integrated Deterministic Finite Automata for Deep Packet Inspection
    Khalid, Ayesha
    Sen, Rajat
    Chattopadhyay, Anupam
    [J]. 2013 IEEE 14TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE SWITCHING AND ROUTING (HPSR), 2013, : 164 - 170
  • [7] Fast dynamic pattern matching for deep packet inspection
    Xu Kefu
    Qi Deyu
    Qian Zhengping
    Zheng Weiping
    [J]. PROCEEDINGS OF 2008 IEEE INTERNATIONAL CONFERENCE ON NETWORKING, SENSING AND CONTROL, VOLS 1 AND 2, 2008, : 802 - 807
  • [8] Dual Mathematical Model for Calculating of Deep Packet Inspection
    Goldstein, Boris
    Fitsov, Vadim
    [J]. PROCEEDINGS OF THE 28TH CONFERENCE OF OPEN INNOVATIONS ASSOCIATION FRUCT, 2021, : 127 - 133
  • [9] A Predict Deterministic Finite Automaton for Practical Deep Packet Inspection
    Wei, Qiang
    Li, Yunzhao
    Chu, Yanjie
    [J]. 2012 INTERNATIONAL WORKSHOP ON INFORMATION AND ELECTRONICS ENGINEERING, 2012, 29 : 2156 - 2161
  • [10] A DFA with Extended Character-Set for Fast Deep Packet Inspection
    Liu, Cong
    Pan, Yan
    Chen, Ai
    Wu, Jie
    [J]. IEEE TRANSACTIONS ON COMPUTERS, 2014, 63 (08) : 1925 - 1937