arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.16533cs.NI
收藏

XAV:一种用于数据包处理的高性能正则表达式匹配引擎

XAV: A High-Performance Regular Expression Matching Engine for Packet Processing

Jincheng Zhong, Shuhui Chen, Chuan Yu

AI总结:

本文提出高性能正则表达式匹配方案 XAV,采用 anchor DFA 解决状态爆炸问题,结合预过滤和正则表达式分解技术,基于 FPGA-CPU 架构在 Snort 规则集上实现 75 Gbps 吞吐量,性能显著优于现有方案。

摘要:

正则表达式匹配是网络入侵检测系统等各种网络安全应用的核心功能。随着网络带宽的增加,实现线速数据包处理的正则表达式匹配是一项巨大挑战。为此,本文提出了一种名为 XAV 的高性能正则表达式匹配新方案。XAV 首先采用 anchor DFA 来解决 DFA 的状态爆炸问题。然后基于 anchor DFA,利用预过滤和正则表达式分解两种技术来改善平均时间复杂度。通过基于 FPGA-CPU 架构实现 XAV,综合实验表明,对于庞大且复杂的 Snort 规则集,可达到高达 75 Gbps 的高匹配吞吐量。与最先进的软件方案相比,XAV 实现了两个数量级的性能提升。而与最先进的基于 FPGA 的方案相比,在相同的硬件资源消耗下,XAV 实现了超过 2.5 倍的性能提升。

英文摘要:

Regular expression matching is the core function of various network security applications such as network intrusion detection systems. With the network bandwidth increases, it is a great challenge to implement regular expression matching for line rate packet processing. To this end, a novel scheme named XAV targeting high-performance regular expression matching is proposed in this paper. XAV first employs anchor DFA to tackle the state explosion problem of DFA. Then based on anchor DFA, two techniques including pre-filtering and regex decomposition are utilized to improve the average time complexity. Through implementing XAV with an FPGA-CPU architecture, comprehensive experiments show that a high matching throughput of up to 75 Gbps can be achieved for the large and complex Snort rule-set. Compared to state-of-the-art software schemes, XAV achieves two orders of magnitude of performance improvement. While compared to state-of-the-art FPGA-based schemes, XAV achieves more than 2.5x performance improvement with the same hardware resource consumption.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑