System and method to traverse a non-deterministic finite automata (NFA) graph generated for regular expression patterns with advanced features
Abstract
In one embodiment, a method of walking a non-deterministic finite automata (NFA) graph representing a pattern includes extracting a node type and an element from a node of the NFA graph. The method further includes matching a segment of a payload for the element by matching the payload for the element at least zero times, the number of times based on the node type.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 4.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of walking a non-deterministic finite automata (NFA) graph representing a pattern, the method comprising: by a processor, extracting a node type, a next node address, and an element from a node of the NFA graph; and by the processor, matching a segment of a payload with the element by matching the payload with the element at least zero times, a number of the at least zero times based on the node type, wherein extracting the node type, next node address, and the element from the node enable the processor to identify the pattern in the payload with less nodes relative to another NFA gra
- Claim 2Depends on #1
The method of claim 1 , wherein the node type is at least one of a variable count, fixed count, fixed-variable count , character, case insensitive character, character class, case sensitive string, case in
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 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.
- Chodnicki, S., "An Introduction to Regular Expressions-Adventures with Open Source B1", available at http:--type-exit.org-adventures-with-open-source-bi-2011-05-an-introduction-toregular-expressions May 7, 2013 (29 pgs).