Tag Archive > Server

HowTo: Install Memcached with repcached “build-in server side replication” on Debian Lenny

mashpie » 02 Mai 2010 » In howto » 4 Comments

People probably know about memcached (http://memcached.org/) and its high performance name-value based memory object cache interface. Its main purpose is to provide an easy to use distributed caching engine in a multinode environment. Have you ever wanted to let memcached handle replication?

Continue reading...

Tags: , , , ,

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: , ,