• DocumentCode
    1835650
  • Title

    A regular expression matching using non-deterministic finite automaton

  • Author

    Nakahara, Hiroki ; Sasao, Tsutomu ; Matsuura, Munehiro

  • Author_Institution
    Kyushu Inst. of Technol., Iizuka, Japan
  • fYear
    2010
  • fDate
    26-28 July 2010
  • Firstpage
    73
  • Lastpage
    76
  • Abstract
    This paper shows an implementation of CANSCID (Combined Architecture for Stream Categorization and Intrusion Detection). To satisfy the required system throughput, the packet assembler and the regular expression matching are implemented by the dedicated hardware. On the other hand, the counting of matching results and the system control are implemented by a microprocessor. A regular expression matching circuit is performed as follows: First, the given regular expressions are converted into a non-deterministic finite automaton (NFA). Then, to reduce the number of states, the NFA is converted to a modular non-deterministic finite automaton (MNFA(p)) with p-character-consuming transition. Finally, a finite-input memory machine (FIMM) to detect p-characters is generated, and the matching elements (MEs) realizing the states for the MNFA(p) are generated. We loaded 140 regular expressions of the MEMOCODE 2010 design contest on Terasic Corp. DE3 prototyping board (FPGA: Altera´s Stratix III). The maximum throughput of our implementation was 798 mega bits per second (Mbps).
  • Keywords
    field programmable gate arrays; finite automata; microprocessor chips; security of data; FPGA; NFA; character consuming transition; combined architecture; finite input memory machine; intrusion detection; microprocessor system; nondeterministic finite automaton; packet assembler; regular expression matching; stream categorization; system throughput; Automata; Computer aided manufacturing; Field programmable gate arrays; Finite element methods; Indexes; Intrusion detection; Throughput;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Formal Methods and Models for Codesign (MEMOCODE), 2010 8th IEEE/ACM International Conference on
  • Conference_Location
    Grenoble
  • Print_ISBN
    978-1-4244-7885-9
  • Electronic_ISBN
    978-1-4244-7886-6
  • Type

    conf

  • DOI
    10.1109/MEMCOD.2010.5558621
  • Filename
    5558621