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.
Installation Instructions:
Just run ./configure. You can specify several useful options like:
--with-apxs=path_to_apxs
To specify the path to the apxs2 binary (/usr/bin/apxs2 is default).
--with-udns
To compile mod_defensible with udns support (better performance).
This options needs libudns.
Then, type make and make install as root.
Configuration example:
DnsblUse On
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:
DnsblNameserver 127.0.0.1
What's New in This Release:
· Compatibility with UDNS 0.8.
Product's homepage