Files
flaskpaste/app
Username 45712ea93f add anti-flood: dynamic PoW difficulty under load
When paste creation rate exceeds threshold, PoW difficulty
increases to slow down attackers. Decays back to base when
abuse stops.

Config:
- ANTIFLOOD_THRESHOLD: requests/window before increase (30)
- ANTIFLOOD_STEP: difficulty bits per step (2)
- ANTIFLOOD_MAX: maximum difficulty cap (28)
- ANTIFLOOD_DECAY: seconds before reducing (30)
2025-12-20 20:45:58 +01:00
..
2025-12-20 17:20:27 +01:00
2025-12-20 17:20:15 +01:00