首页> 外文期刊>Selected Areas in Communications, IEEE Journal on >Towards Fast and Optimal Grouping of Regular Expressions via DFA Size Estimation
【24h】

Towards Fast and Optimal Grouping of Regular Expressions via DFA Size Estimation

机译:通过DFA大小估计实现正则表达式的快速最佳分组

获取原文
获取原文并翻译 | 示例
           

摘要

Regular Expression (RegEx) matching, as a core operation in many network and security applications, is typically performed on Deterministic Finite Automata (DFA) to process packets at wire speed; however, DFA size is often exponential in the number of RegExes. RegEx grouping is the practical way to address DFA state explosion. Prior RegEx grouping algorithms are extremely slow and memory intensive. In this paper, we first propose DFAestimator, an algorithm that can quickly estimate DFA size for a given RegEx set without building the actual DFA. Second, we propose RegexGrouper, a RegEx grouping algorithm based on DFA size estimation. In terms of speed and memory consumption, our work is orders of magnitude more efficient than prior art because DFA size estimation is much faster and memory efficient than DFA construction. In terms of the resulting size sum of DFAs, our work is significantly more effective than prior art because we use a much finer grained quantification of the degree of interaction between two RegExes. For example, to divide the RegEx set of the L7-filter system into 7 groups, prior art uses 279.3 minutes and the resulting 7 DFAs have a total of 29047 states, whereas RegexGrouper uses 3.2 minutes and the resulting 7 DFAs have a total of 15578 states.
机译:作为许多网络和安全应用程序中的核心操作,正则表达式(RegEx)匹配通常在确定性有限自动机(DFA)上执行,以线速处理数据包。但是,DFA的大小通常与RegExes的数量成指数关系。 RegEx分组是解决DFA状态爆炸的实用方法。以前的RegEx分组算法非常慢且占用大量内存。在本文中,我们首先提出了DFAestimator,该算法可以快速估算给定RegEx集的DFA大小,而无需构建实际的DFA。其次,我们提出RegexGrouper,这是一种基于DFA大小估算的RegEx分组算法。在速度和内存消耗方面,我们的工作比现有技术效率高出几个数量级,因为DFA大小估算比DFA构造快得多,并且内存效率高。就最终DFA的大小总和而言,我们的工作比现有技术有效得多,因为我们对两个RegExes之间的交互程度使用了更为精细的量化。例如,要将L7过滤器系统的RegEx集分为7组,现有技术使用279.3分钟,而得到的7个DFA总共有29047个状态,而RegexGrouper使用3.2分钟,而得到的7个DFA总共有15578个状态状态。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号