Skip to content

Building 70 Projects ranging from beginner to advanced so anyone can β€” learn from, build upon, use as a reference, or even copy directly. Owned by my cybersecurity company πŸ‘‡

873 B
Raw Blame

Network Traffic Analyzer

Two implementations of the same network traffic analyzer β€” one in Python, one in C++. Both capture packets at the kernel level, parse protocol headers, and display real-time statistics.

Screenshots & demo β†’

Implementations

Implementation Stack Highlights
C++ C++20 β€’ libpcap β€’ FTXUI Interactive TUI, polymorphic IP parser, mutex-protected stats engine
Python Python 3.14 β€’ Scapy β€’ Rich Producer-consumer threading, BPF filter builder, Matplotlib chart export

Quick Start

C++ β€” high-performance interactive TUI:

cd cpp
./install.sh
just run -i eth0

Python β€” scriptable with chart export:

cd python
uv sync
sudo netanal capture -i eth0

Both require root or CAP_NET_RAW capability for packet capture.