Algorithms to accelerate multiple regular expressions matching for deep packet inspection

Author:

Kumar Sailesh1,Dharmapurikar Sarang1,Yu Fang2,Crowley Patrick1,Turner Jonathan1

Affiliation:

1. Washington University

2. University of California, Berkeley

Abstract

There is a growing demand for network devices capable of examining the content of data packets in order to improve network security and provide application-specific services. Most high performance systems that perform deep packet inspection implement simple string matching algorithms to match packets against a large, but finite set of strings. owever, there is growing interest in the use of regular expression-based pattern matching, since regular expressions offer superior expressive power and flexibility. Deterministic finite automata (DFA) representations are typically used to implement regular expressions. However, DFA representations of regular expression sets arising in network applications require large amounts of memory, limiting their practical application.In this paper, we introduce a new representation for regular expressions, called the Delayed Input DFA (D 2 FA), which substantially reduces space equirements as compared to a DFA. A D 2 FA is constructed by transforming a DFA via incrementally replacing several transitions of the automaton with a single default transition. Our approach dramatically reduces the number of distinct transitions between states. For a collection of regular expressions drawn from current commercial and academic systems, a D2FA representation reduces transitions by more than 95%. Given the substantially reduced space equirements, we describe an efficient architecture that can perform deep packet inspection at multi-gigabit rates. Our architecture uses multiple on-chip memories in such a way that each remains uniformly occupied and accessed over a short duration, thus effectively distributing the load and enabling high throughput. Our architecture can provide ostffective packet content scanning at OC-192 rates with memory requirements that are consistent with current ASIC technology.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Networks and Communications,Software

Reference39 articles.

1. Enhancing byte-level network intrusion detection signatures with context

2. J. E. Hopcroft and J. D. Ullman "Introduction to Automata Theory Languages and Computation " Addison Wesley 1979. J. E. Hopcroft and J. D. Ullman "Introduction to Automata Theory Languages and Computation " Addison Wesley 1979.

3. An nlogn algorithm for minimizing states in a finite automaton," in Theory of Machines and Computation, J. Kohavi;Hopcroft J.;Ed. New York: Academic,1971

4. Bro: A System for Detecting Network Intruders in Real-Time. http://www.icir.org/vern/bro-info.html Bro: A System for Detecting Network Intruders in Real-Time. http://www.icir.org/vern/bro-info.html

Cited by 205 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3