Increasing Memory Efficiency of Hash-Based Pattern Matching for High-Speed Networks

被引:0
作者
Fukac, Tomas [1 ]
Matousek, Jiri [1 ]
Korenek, Jan [1 ]
Kekely, Lukas [1 ]
机构
[1] Brno Univ Technol, Fac Informat Technol, Brno, Czech Republic
来源
2021 INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY (ICFPT) | 2021年
关键词
D O I
10.1109/ICFPT52863.2021.9609859
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Increasing speed of network links continuously pushes up requirements on the performance of network security and monitoring systems, including their typical representative and its core function: an intrusion detection system (IDS) and pattern matching. To allow the operation of IDS applications like Snort and Suricata in networks supporting throughput of 100 Gbps or even more, a recently proposed pre-filtering architecture approximates exact pattern matching using hash-based matching of short strings that represent a given set of patterns. This architecture can scale supported throughput by adjusting the number of parallel hash functions and on-chip memory blocks utilized in the implementation of a hash table. Since each hash function can address every memory block, scaling throughput also increases the total capacity of the hash table. Nevertheless, the original architecture utilizes the available capacity of the hash table inefficiently. We therefore propose three optimization techniques that either reduce the amount of information stored in the hash table or increase its achievable occupancy. Moreover, we also design modifications of the architecture that enable resource-efficient utilization of all three optimization techniques together in synergy. Compared to the original pre-filtering architecture, combined use of the proposed optimizations in the 100 Gbps scenario increases the achievable capacity for short strings by three orders of magnitude. It also reduces the utilization of FPGA logic resources to only a third.
引用
收藏
页码:185 / 193
页数:9
相关论文
共 18 条
[1]  
Becchi M., 2008, PROC ANCS, P50, DOI DOI 10.1145/1477942.1477950
[2]   A-DFA: A Time- and Space-Efficient DFA Compression Algorithm for Fast Regular Expression Evaluation [J].
Becchi, Michela ;
Crowley, Patrick .
ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2013, 10 (01)
[3]  
CESKA M, 2019, FCCM 19, P109
[4]  
Cormen T., 2001, Introduction To Algorithms
[5]   Cuckoo Filter: Practically Better Than Bloom [J].
Fan, Bin ;
Andersen, David G. ;
Kaminsky, Michael ;
Mitzenrnacher, Michael D. .
PROCEEDINGS OF THE 2014 CONFERENCE ON EMERGING NETWORKING EXPERIMENTS AND TECHNOLOGIES (CONEXT'14), 2014, :75-87
[6]   Hash-based Pattern Matching for High Speed Networks [J].
Fukac, Tomas ;
Korenek, Jan .
2019 IEEE 22ND INTERNATIONAL SYMPOSIUM ON DESIGN AND DIAGNOSTICS OF ELECTRONIC CIRCUITS & SYSTEMS (DDECS), 2019,
[7]   Increasing Throughput of Intrusion Detection Systems by Hash-Based Short String Pre-filter [J].
Fukac, Tomas ;
Kosar, Vlastimil ;
Korenek, Jan ;
Matousek, Jiri .
PROCEEDINGS OF THE 2020 IEEE 45TH CONFERENCE ON LOCAL COMPUTER NETWORKS (LCN 2020), 2020, :509-514
[8]  
Kekely L, 2014, IEEE INT SYMP DESIGN, P219, DOI 10.1109/DDECS.2014.6868793
[9]   Algorithms to accelerate multiple regular expressions matching for deep packet inspection [J].
Kumar, Sailesh ;
Dharmapurikar, Sarang ;
Yu, Fang ;
Crowley, Patrick ;
Turner, Jonathan .
ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2006, 36 (04) :339-350
[10]   Regular Expression Matching with Pipelined Delayed Input DFAs for High-speed Networks [J].
Matousek, Denis ;
Kubis, Juraj ;
Matousek, Jiri ;
Korenek, Jan .
PROCEEDINGS OF THE 2018 SYMPOSIUM ON ARCHITECTURES FOR NETWORKING AND COMMUNICATIONS SYSTEMS (ANCS '18), 2018, :104-110