Skip to main content
RaoufResearchOS
English
Sydney, AustraliaCurrent Sydney Time—
Press Escape to close this window.
SentinelFlow
Back

Defensive security

SentinelFlow

SentinelFlow is a network intrusion detection system, written as a study project. It captures live network traffic or processes pcap files, dissects protocol headers across multiple OSI layers, identifies known attack signatures and anomalies, and writes alerts to the console and a CSV log.

  • C++17
  • libpcap
  • IDS
  • Network Security
  • Systems Programming
Project IdentityStill

01 / Overview

Problem

Understanding network intrusion detection requires tracing packet capture, protocol parsing, signature checks and stateful heuristics as separate stages with different performance costs.

My contribution

  1. Implemented layered protocol dissection covering Ethernet, IPv4, TCP, UDP, ICMP, DNS, and ARP
  2. Built a Snort-inspired configurable rule engine for flexible signature matching
  3. Added stateful threat detection for port scans, SYN floods, and DNS tunnelling
  4. Added a single-thread parser microbenchmark and an end-to-end pipeline benchmark over synthetic in-memory traffic; libpcap, NIC and disk I/O are excluded
Documented technology stack
  • 01C++17
  • 02libpcap
  • 03CMake
  • 04Google Test
  • 05Snort-inspired Rules
  • 06BPF Filters

02 / Evidence

Proof & Verification

  • An end-to-end pipeline benchmark reports 4 to 8 million packets/sec on one thread with synthetic in-memory traffic (libpcap, NIC and disk I/O excluded); 8.1 to 8.3 million on an Apple M2 and 4.3 to 7.8 million on a shared GitHub-hosted runner
  • Remaining limits are listed in the repository README
  • Protocol coverage: 7 protocols across Layers 2-7
  • 147 tests in the repository, including an end-to-end test from raw frames to alerts; CI also runs the suite and the sample captures under ASan and UBSan
  • Supports both live capture and pcap file analysis

Sources

Sources: Source Code

03 / Methods

Build

Tech Stack

  • C++17
  • libpcap
  • CMake
  • Google Test
  • Snort-inspired Rules
  • BPF Filters
  • Live network capture via libpcap with configurable BPF filters
  • Layered protocol dissection: Ethernet, IPv4, TCP, UDP, ICMP, DNS, ARP
  • Snort-inspired configurable rule engine with signature matching
  • Stateful threat detection (port scans, SYN floods, DNS tunnelling)

Secure

  • Colour-coded severity-level alerting (LOW → CRITICAL)
  • 147 tests covering parsers, rules, signature matching, the stateful detectors and their state limits, and the pipeline end to end
  • CSV alert log
  • Configurable BPF filters for targeted capture

Search

Find a project, paper, write-up, or page.

30 / 44 · Search results

↑ ↓ Workspace NavigationEnter OpenEsc Close