Cybersecurity-Projects/PROJECTS/beginner/network-traffic-analyzer
CarterPerez-dev 47432c8ce4 issue 77 pt2 ruff 2026-02-18 19:47:47 -05:00
..
learn feat: complete network-traffic-analyzer 2026-02-01 20:26:28 -05:00
src/netanal feat: complete network-traffic-analyzer 2026-02-01 20:26:28 -05:00
tests issue 77 pt2 ruff 2026-02-18 19:47:47 -05:00
.gitignore feat: complete network-traffic-analyzer 2026-02-01 20:26:28 -05:00
.style.yapf feat: complete network-traffic-analyzer 2026-02-01 20:26:28 -05:00
LICENSE - Standardize READMEs and add justfiles across all 14 projects 2026-02-11 07:01:25 -05:00
README.md - Standardize READMEs and add justfiles across all 14 projects 2026-02-11 07:01:25 -05:00
justfile feat: complete network-traffic-analyzer 2026-02-01 20:26:28 -05:00
pyproject.toml feat: complete network-traffic-analyzer 2026-02-01 20:26:28 -05:00
uv.lock feat: complete network-traffic-analyzer 2026-02-01 20:26:28 -05:00

README.md

███╗   ██╗███████╗████████╗ █████╗ ███╗   ██╗ █████╗ ██╗
████╗  ██║██╔════╝╚══██╔══╝██╔══██╗████╗  ██║██╔══██╗██║
██╔██╗ ██║█████╗     ██║   ███████║██╔██╗ ██║███████║██║
██║╚██╗██║██╔══╝     ██║   ██╔══██║██║╚██╗██║██╔══██║██║
██║ ╚████║███████╗   ██║   ██║  ██║██║ ╚████║██║  ██║███████╗
╚═╝  ╚═══╝╚══════╝   ╚═╝   ╚═╝  ╚═╝╚═╝  ╚═══╝╚═╝  ╚═╝╚══════╝

Cybersecurity Projects Python License: AGPLv3 PyPI

Network traffic capture and analysis CLI with protocol distribution, top talkers, and bandwidth visualization.

This is a quick overview — security theory, architecture, and full walkthroughs are in the learn modules.

What It Does

  • Capture live network traffic on any interface with configurable packet counts
  • Real-time protocol distribution analysis with percentage breakdowns
  • Top talkers identification showing most active IP addresses by traffic volume
  • Bandwidth calculation with bytes sent/received per endpoint
  • Verbose mode displays individual packet flow with source/destination details
  • Built on Scapy for deep packet inspection and protocol parsing

Quick Start

uv tool install netanal
sudo netanal capture -i eth0 -c 100

[!TIP] This project uses just as a command runner. Type just to see all available commands.

Install: curl -sSf https://just.systems/install.sh | bash -s -- --to ~/.local/bin

Commands

Command Description
netanal capture Live packet capture with protocol analysis, top talkers, and bandwidth stats

Learn

This project includes step-by-step learning materials covering security theory, architecture, and implementation.

Module Topic
00 - Overview Prerequisites and quick start
01 - Concepts Security theory and real-world breaches
02 - Architecture System design and data flow
03 - Implementation Code walkthrough
04 - Challenges Extension ideas and exercises

License

AGPL 3.0