
A real-time traffic monitoring tool that detects and displays network traffic volume per IP address to identify potential DDoS attacks.
A real-time traffic monitoring tool that detects and displays network traffic volume per IP address to identify potential DDoS attacks. The tool is built with Python 2.7 using Flask as the backend and a web-based frontend for visualization.
Clone the Repository:
git clone https://github.com/Jenderal92/ddos-traffic-monitor.git
cd ddos-traffic-monitor
Install Flask:
pip install flask
Run the Application (requires root privileges):
sudo python app.py
Open your browser and go to:
http://127.0.0.1:5000
DDoS_Traffic_Monitor/
│
├── app.py # Flask backend server
├── monitor.py # Core packet capture and counting logic
├── templates/
│ └── index.html # HTML dashboard
└── static/
├── style.css # Styling for the dashboard
└── script.js # JavaScript for real-time updates
Start the tool with:
sudo python app.py
Open the browser and access:
http://<server-ip>:<port>
<server-ip> with your server IP address.5000.The dashboard will show:
To display the tool on another website (like Blogger), use an iframe:
Replace <your-server-ip> with your server's IP or domain.