# Deep Packet Inspection in FPGAs via Approximate Nondeterministic   Automata

**Authors:** Milan \v{C}e\v{s}ka, Vojt\v{e}ch Havlena, Luk\'a\v{s} Hol\'ik, Jan, Ko\v{r}enek, Ond\v{r}ej Leng\'al, Denis Matou\v{s}ek, Ji\v{r}\'i, Matou\v{s}ek, Jakub Semri\v{c}, Tom\'a\v{s} Vojnar

arXiv: 1904.10786 · 2019-04-25

## TL;DR

This paper introduces a novel FPGA architecture for deep packet inspection that leverages approximate nondeterministic automata to achieve high-speed regular expression matching beyond 100 Gbps, optimizing resource usage.

## Contribution

The paper presents a new FPGA-based RE matching architecture using approximate NFAs, enabling ultra-fast network traffic processing with reduced hardware resources.

## Key findings

- Successfully processed large RE sets from SNORT at over 100 Gbps.
- Developed new approximate reduction techniques considering network traffic profiles.
- Achieved high throughput with resource-efficient FPGA implementation.

## Abstract

Deep packet inspection via regular expression (RE) matching is a crucial task of network intrusion detection systems (IDSes), which secure Internet connection against attacks and suspicious network traffic. Monitoring high-speed computer networks (100 Gbps and faster) in a single-box solution demands that the RE matching, traditionally based on finite automata (FAs), is accelerated in hardware. In this paper, we describe a novel FPGA architecture for RE matching that is able to process network traffic beyond 100 Gbps. The key idea is to reduce the required FPGA resources by leveraging approximate nondeterministic FAs (NFAs). The NFAs are compiled into a multi-stage architecture starting with the least precise stage with a high throughput and ending with the most precise stage with a low throughput. To obtain the reduced NFAs, we propose new approximate reduction techniques that take into account the profile of the network traffic. Our experiments showed that using our approach, we were able to perform matching of large sets of REs from SNORT, a popular IDS, on unprecedented network speeds.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1904.10786/full.md

## Figures

19 figures with captions in the complete paper: https://tomesphere.com/paper/1904.10786/full.md

## References

33 references — full list in the complete paper: https://tomesphere.com/paper/1904.10786/full.md

---
Source: https://tomesphere.com/paper/1904.10786