Skip to main content
QUICK REVIEW

[Paper Review] A Survey on Deep Packet Inspection for Intrusion Detection Systems

Tamer Abuhmed, Aziz Mohaisen|ArXiv.org|Mar 1, 2008
Network Packet Processing and OptimizationComputer Science41 references57 citations
TL;DR

This paper surveys deep packet inspection (DPI) techniques for intrusion detection systems (IDS), focusing on algorithms, implementation challenges, and system architectures. It evaluates software and hardware-based DPI solutions, emphasizing high-speed pattern matching using finite state machines like Aho-Corasick and compressed representations such as CD2FA, achieving up to double throughput with 10% memory usage compared to uncompressed DFA.

ABSTRACT

Deep packet inspection is widely recognized as a powerful way which is used for intrusion detection systems for inspecting, deterring and deflecting malicious attacks over the network. Fundamentally, almost intrusion detection systems have the ability to search through packets and identify contents that match with known attacks. In this paper, we survey the deep packet inspection implementations techniques, research challenges and algorithms. Finally, we provide a comparison between the different applied systems.

Motivation & Objective

  • To analyze the core challenges in deploying deep packet inspection (DPI) for real-time intrusion detection.
  • To evaluate the performance trade-offs between software and hardware implementations of DPI systems.
  • To identify key algorithmic and architectural innovations that improve throughput and memory efficiency in DPI.
  • To compare existing DPI systems based on their underlying algorithms, hardware platforms, and achieved throughput.
  • To explore the design objectives of DPI systems, including deterministic performance, memory efficiency, dynamic signature updates, and scalability.

Proposed method

  • Surveying existing DPI techniques, including software-based (e.g., SNORT, Bro) and hardware-based (e.g., FPGA, NP, TCAM) implementations.
  • Analyzing finite state machine (FSM) models such as DFA, D2FA, and CD2FA for efficient multi-pattern matching.
  • Evaluating the Aho-Corasick algorithm and its compressed variants (e.g., compressed DFA) to reduce memory usage and improve processing speed.
  • Introducing content-addressed D2FA (CD2FA) with labeled state identifiers to reduce default path length and improve multi-transition handling.
  • Benchmarking performance using metrics like throughput (up to 40 Gbps) and memory consumption, comparing compressed vs. uncompressed FSMs.
  • Assessing hardware accelerators like TCAM and FPGAs for high-speed signature matching and dynamic update support.

Experimental results

Research questions

  • RQ1What are the primary performance bottlenecks in DPI-based intrusion detection systems?
  • RQ2How do different finite state machine representations (e.g., DFA, D2FA, CD2FA) affect memory usage and matching speed?
  • RQ3What are the trade-offs between software-based and hardware-based DPI implementations in terms of throughput and scalability?
  • RQ4How effective are compressed FSM representations like CD2FA in reducing memory footprint while maintaining high throughput?
  • RQ5What design objectives (e.g., dynamic update, memory efficiency) are most critical for next-generation DPI systems?

Key findings

  • String matching in SNORT consumes up to 70% of execution time and 80% of instructions, highlighting the performance burden of signature matching.
  • The Aho-Corasick algorithm, while effective for multi-pattern matching, suffers from high memory usage due to excessive failed transitions.
  • Compressed DFA representations reduce memory requirements by 90% compared to uncompressed DFA while achieving double the throughput with only 10% of the memory.
  • CD2FA outperforms uncompressed DFA by reducing default path lengths and enabling efficient multi-character transitions, improving both speed and memory efficiency.
  • Hardware-based implementations using TCAM and FPGAs achieve throughput in the 10–40 Gbps range, suitable for high-speed network environments.
  • Dynamic signature update and deterministic performance are critical for real-time IDS, especially in hardware-based systems where runtime reconfiguration is essential.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.