Lahari2005 commited on
Commit
7bd4df7
·
verified ·
1 Parent(s): 5e42ce1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +34 -7
README.md CHANGED
@@ -1,13 +1,40 @@
1
  ---
2
- title: DDOS
3
- emoji: 🏃
4
- colorFrom: red
5
- colorTo: yellow
6
  sdk: gradio
7
- sdk_version: 6.20.0
8
- python_version: '3.12'
9
  app_file: app.py
10
  pinned: false
11
  ---
12
 
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: DDoS Detection System
3
+ emoji: 🛡️
4
+ colorFrom: blue
5
+ colorTo: purple
6
  sdk: gradio
7
+ sdk_version: 4.44.0
 
8
  app_file: app.py
9
  pinned: false
10
  ---
11
 
12
+ # 🛡️ DDoS Detection System
13
+
14
+ Detect DDoS attacks in real-time using **Packets Per Second (PPS)** calculation.
15
+
16
+ ## How It Works
17
+
18
+ Enter two values from your network flow data:
19
+ - **Flow Duration** — how long the flow lasted (in microseconds)
20
+ - **Total Packets** — total number of packets in the flow
21
+
22
+ The system calculates PPS and classifies the traffic instantly.
23
+
24
+ ## Threat Levels
25
+
26
+ | PPS Range | Status |
27
+ |-----------|--------|
28
+ | < 500 | ✅ NORMAL |
29
+ | 500 – 2,000 | ⚠️ SUSPICIOUS |
30
+ | 2,000 – 10,000 | 🚨 HIGH TRAFFIC |
31
+ | > 10,000 | 🔥 DDoS ATTACK! |
32
+
33
+ ## Example Inputs
34
+
35
+ | Flow Duration (µs) | Total Packets | PPS | Result |
36
+ |--------------------|---------------|-----|--------|
37
+ | 1,000,000 | 100 | 100 | ✅ NORMAL |
38
+ | 100,000 | 100 | 1,000 | ⚠️ SUSPICIOUS |
39
+ | 10,000 | 100 | 10,000 | 🚨 HIGH TRAFFIC |
40
+ | 98 | 15 | 153,061 | 🔥 DDoS ATTACK! |