Spaces:
Runtime error
Runtime error
| 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! | | |