Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available: 6.23.1
metadata
title: DDoS Detection System
emoji: 🛡️
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 3.50.2
app_file: app.py
pinned: false
🛡️ DDoS Detection System
Detect DDoS attacks in real-time using Packets Per Second (PPS) calculation.
How It Works
Enter two values from your network flow data:
- Flow Duration — how long the flow lasted (in microseconds)
- Total Packets — total number of packets in the flow
The system calculates PPS and classifies the traffic instantly.
Threat Levels
| PPS Range | Status |
|---|---|
| < 500 | ✅ NORMAL |
| 500 – 2,000 | ⚠️ SUSPICIOUS |
| 2,000 – 10,000 | 🚨 HIGH TRAFFIC |
| > 10,000 | 🔥 DDoS ATTACK! |
Example Inputs
| Flow Duration (µs) | Total Packets | PPS | Result |
|---|---|---|---|
| 1,000,000 | 100 | 100 | ✅ NORMAL |
| 100,000 | 100 | 1,000 | ⚠️ SUSPICIOUS |
| 10,000 | 100 | 10,000 | 🚨 HIGH TRAFFIC |
| 98 | 15 | 153,061 | 🔥 DDoS ATTACK! |