A Memory Efficient Pattern Matching Scheme for Regular Expressions
Author(s) -
Yeim-Kuan Chang,
Ching-Hsuan Shih
Publication year - 2017
Publication title -
procedia computer science
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.334
H-Index - 76
ISSN - 1877-0509
DOI - 10.1016/j.procs.2017.06.092
Subject(s) - computer science , regular expression , deep packet inspection , network packet , deterministic finite automaton , scheme (mathematics) , matching (statistics) , finite state machine , the internet , automaton , pattern matching , expression (computer science) , software , computer network , theoretical computer science , distributed computing , algorithm , artificial intelligence , operating system , programming language , mathematical analysis , statistics , mathematics
Many malicious packets are common and spread over the Internet in recent years when the scale of Internet traffic grows at a rapid speed. Thus, the regular expression matching in Network Intrusion Detection System (NIDS) that supervises network activities needs to be very fast and consume small memory. In this paper, we propose a memory efficient regular expression matching algorithm called Failureless Segmented Finite Automata (FSFA) with an acceptable searching speed. In FSFA, We eliminate Kleene closures by using additional data structures to reduce a large amount of states. We further reduce the transitions by using default state compression technique. Our performance results implemented on a PC software environment show that our scheme only needs 1% of states needed in DFA and 2 to 22% of states needed in JFA.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom