This project is a Linux-based network monitoring tool written in C and Python. It captures TCP packets using raw sockets, parses IP headers, and logs packet metadata for performance analysis.
Python scripts are used to compute throughput and visualize network traffic.
- TCP packet capture using raw sockets
- IP header parsing
- Timestamped logging to CSV
- Throughput calculation
- Python-based visualization
- Modular performance metrics design
network-analyzer/ ├── sniffer.c ├── metrics.c ├── metrics.h ├── visualize.py ├── packet_log.csv └── README.md
Requires Linux and root privileges.
gcc sniffer.c metrics.c -o sniffer