Author Archive > mashpie

HowTo: Defend slowloris DDoS With mod_qos (Apache2 On Debian [Lenny])

mashpie » 14 Juli 2009 » In howto » 1 Comment

I recently had to defend a live attack with slowloris-dos from a botnet. The load-impact is very low but http quits serving very fast. A quick approach was to mangle with timeout settings, wich is fine to defend a single attacker but leads into new issues (ie. large NAT on client-side).

mod_qos gives some fine-grained opportunities to scale the number of used connections and to defend an attack according to bandwidth limits. Unfortunately it is only available as source-package and there are many possible settings, wich might be hard to setup for this special case. So I provide the way that helped me.

Continue reading...

Tags: , ,