mod_defensible project consists of an Apache module which blocks spammers.
mod_defensible is an Apache 2.x module intended to block spammers using DNSBL servers. It will look at the client IP, check it against one or more DNSBL servers, and return a 403 Forbidden page to the client.
Just run ./configure. You can specify several useful options like:
To specify the path to the apxs2 binary (/usr/bin/apxs2 is default).
To compile mod_defensible with udns support (better performance).
This options needs libudns.
Then, type make and make install as root.
DnsblServers bsb.spamlookup.net bl.blbl.org opm.blitzed.org sbl-xbl.spamhaus.org
If compiled with udns support, you can use a special nameserver with:
What's New in This Release:
· Compatibility with UDNS 0.8.