Bumps [pytest](https://github.com/pytest-dev/pytest) from 9.0.2 to 9.0.3. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/9.0.2...9.0.3) --- updated-dependencies: - dependency-name: pytest dependency-version: 9.0.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> |
||
|---|---|---|
| .. | ||
| cpp | ||
| python | ||
| README.md | ||
README.md
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.
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.