StatsHelix / HeatmapWebsite

The sourcecode of
http://demo.ehvag.de
2 stars 0 forks source link

DoS countermeasures #22

Closed main-- closed 9 years ago

main-- commented 9 years ago

Our service is incredibly vulnerable to slowloris-style attacks:

Result: Demo uploads are blocked entirely. No one can upload anything because you occupy all 3 upload slots.


The Problem: Timeouts are either too short and kill users with slow internet or too long, so a variant of the attack where you send one byte at a time, just within the timeout is still super effective.

moritzuehling commented 9 years ago

Idea: No timeouts, but you need to send 1kb/s on average in the last 5 seconds.

moritzuehling commented 9 years ago

No really a problem until a ddos hits us I guess. Closing it.