Loading repository data…
Loading repository data…
Opikadash / repository
A real-time, AI-augmented network monitoring tool built with Python, Dash, and Scapy. It captures live packets or analyzes .pcap files, applies ML/AI-based filtering, detects port scans, triggers email alerts, and logs incidents. The interactive web dashboard visualizes protocol usage and traffic stats, supporting advanced visual filters.
A professional network traffic analysis tool that combines real-time packet capture, machine learning anomaly detection, and an interactive dashboard for network monitoring and security analysis.
Core Components:
git clone https://github.com/Opikadash/network-traffic-analyzer.git
cd network-traffic-analyzer
python -m venv venv
source venv/bin/activate # Linux/MacOS
venv\Scripts\activate # Windows
pip install -r requirements.txt
cp .env .env
Edit the .env file with your email configuration (optional)
Start the application:
python app.py
Access the dashboard at: http://127.0.0.1:8055/
Customize the analyzer by modifying these parameters in main.py:
# Analysis parameters
anomaly_threshold = 10 # % threshold for email alert
alert_interval = 300 # seconds between alerts
# Capture settings
capture_count = 10 # packets per capture batch
capture_timeout = 1 # seconds
# Linux/MacOS
ping google.com
# Windows
ping -t google.com
nmap -T4 localhost
This project demonstrates:
Contributions are welcome! Please follow these steps:
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)This project is licensed under the MIT License - see the LICENSE file for details.
Professional Development Notes:
This project was developed with a focus on:
The implementation showcases full-stack development skills from low-level packet processing to high-level dashboard visualization, demonstrating expertise across multiple domains of software development.
network-traffic-analyzer/
├── analyzer/ # Core analysis modules
│ ├── features.py # Feature extraction
│ ├── filter_ml.py # ML anomaly detection
│ ├── portscan.py # Port scan detection
│ └── stats.py # Statistics tracking
├── results/ # Output directory (auto-created)
│ ├── captured_traffic.pcap
│ └── packet_logs.db
├── .env # Environment template
├── app.py # Main application
├── README.md # This file
└── requirements.txt # Dependencies