Title :
A few bits are enough - ASIC friendly Regular Expression matching for high speed network security systems
Author :
Liu, Alex X. ; Norige, Eric ; Kumar, Sudhakar
Author_Institution :
Dept. of Comput. Sci. & Eng., Michigan State Univ., East Lansing, MI, USA
Abstract :
Regular Expression (RegEx) matching is the core operation of various network security devices such as IPSes. Despite much effort, it has remained an unsolved problem to achieve both high speed and low memory requirements.XFA, the state-of-the-art software RegEx matching solution, has two fundamental limitations: (1) XFA construction is hard to automate as it requires manual annotation by human experts, and (2) XFA is hard to implement in ASIC as the program executed upon reaching a state requires much of the complexity of a general purpose CPU. In this paper, we propose HASIC, a History-based Finite Automaton (HFA [11]) based RegEx matching scheme. HASIC can exponentially reduce state explosion by testing, setting, and clearing an auxiliary vector of history bits. Compared with XFA, HASIC advances the state of the art because it can be fully automated and it is ASIC friendly. HASIC only uses three simple bit operations and they are easy to implement in ASIC. We conducted experiments using real-world RegEx sets and various traffic traces. Experimental results show that for packet processing speed, software HFA runs an average of 3.34 times faster than XFA, for automata construction speed HFA is orders of magnitude faster than DFA, and for memory image size HFA is an average of 20 times smaller than DFA.
Keywords :
application specific integrated circuits; computer network security; finite automata; ASIC friendly regular expression matching; HASIC; IPS; RegEx matching; XFA software solution; application specific integrated circuits; bit operations; high speed network security systems; history bits; history-based finite automaton; memory image size; memory requirements; packet processing speed; state explosion; Application specific integrated circuits; Automata; Educational institutions; Explosions; History; Pattern matching; Random access memory;
Conference_Titel :
Network Protocols (ICNP), 2013 21st IEEE International Conference on
Conference_Location :
Goettingen
DOI :
10.1109/ICNP.2013.6733572