现代计算机2024,Vol.30Issue(20) :57-62.DOI:10.3969/j.issn.1007-1423.2024.20.011

基于RFC优化算法的报文数据快速模式匹配

Fast packet pattern-match based on optimized RFC algorithm

王瑞钦 谭皇
现代计算机2024,Vol.30Issue(20) :57-62.DOI:10.3969/j.issn.1007-1423.2024.20.011

基于RFC优化算法的报文数据快速模式匹配

Fast packet pattern-match based on optimized RFC algorithm

王瑞钦 1谭皇2
扫码查看

作者信息

  • 1. 北京交通大学经济管理学院,北京 100044
  • 2. 合肥泰能路通科技有限公司,合肥 230000
  • 折叠

摘要

为提高报文数据模式匹配速度,对RFC算法进行优化.该优化算法通过选择优良的哈希算法对规则CBM比特位图进行去重匹配,从而降低预处理过程的时间复杂度;在"缩减"的最后阶段,将等价类规则CBM比特位图改为索引数组,使得数据平面的报文数据匹配查找时间复杂度由∅(n2)降低到∅(1),进一步减少了对空间资源的消耗.实验结果表明,该RFC优化算法有效降低了时间和空间复杂度,达到100 Gbps的处理性能水平,可以应用到各种流量攻击防护场景.

Abstract

An optimized RFC algorithm is proposed to improve the speed of fast packet pattern match.This algorithm reduces the time complexity of preprocessing by using an excellent hash algorithm to deduplicate the CBM.In the final reduction stage,this algorithm also replaces the CBM with an index array,which reduces the complexity of packet matching time in the data plane from∅(n2)to∅(1),and the consumption of memory space resource.The practical results show that the optimized RFC algorithm effec-tively reduces the time and memory space complexity and reaches the processing performance of 100 Gbps,which can be applied to various network traffic attack protection scenarios.

关键词

RFC算法/CBM位图/哈希去重/索引数组/模式匹配

Key words

RFC/CBM/Hash deduplication/index array/pattern match

引用本文复制引用

出版年

2024
现代计算机
中大控股

现代计算机

影响因子:0.292
ISSN:1007-1423
段落导航相关论文