Method and apparatus for optimizing finite automata processing
Abstract
A method, and corresponding apparatus and system are provided for optimizing matching at least one regular expression pattern in an input stream by walking at least one finite automaton in a speculative manner. The speculative manner may include iteratively walking at least two nodes of a given finite automaton, of the at least one finite automaton, in parallel, with a segment, at a current offset within a payload, of a packet in the input stream, based on positively matching the segment at a given node of the at least two nodes walked in parallel, the current offset being updated to a next offset per iteration.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A security appliance operatively coupled to a network, the security appliance comprising: at least one memory configured to store at least one finite automaton including a plurality of nodes generated from at least one regular expression pattern; at least one processor operatively coupled to the at least one memory and configured to walk the at least one finite automaton, with segments of an input stream received via the network, to match the at least one regular expression pattern in the input stream, the walk including iteratively walking at least two nodes of a given finite automaton, of th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Becchi, M., "Data Structures, Algorithms and Architectures for Efficient Regular Expression Evaluation," Washington University in St. Louis School of Engineering & Applied Science, published May 2009.
- Becchi, M., et al., "A Hybrid Finite Automation for Practical Deep Packet Inspection," published 2007.
- Becchi, M., et al., "Extending Finite Automata to Efficiently Match Perl-compatible Regular Expressions", Proceedings of the 2008 CoNext Conference, Dec. 9-12, 2008.
- Branch, J.W. et al., "Denial of Service Intrusion Detection Using Time Dependent Deterministic Finite Automata," Proc. Research Conference, Troy, NY, Oct. 2002.
- Chain-Based DFA Deflation for Fast and Scalable Regular Expression Matching Using TCAM Kunyang Peng; Siyuan Tang; Min Chen; Qunfeng Dong 2011 ACM/IEEE Seventh Symposium on Architectures for Networking and Communications Systems Year: 2011 pp. 24-35, DOI: 10.1109/ANCS.2011.13 IEEE Conference Publicat