Comments on How To Block Spammers/Hackers With Apache2's mod_spamhaus (Debian Etch)

How To Block Spammers/Hackers With Apache2's mod_spamhaus (Debian Etch) mod_spamhaus is an Apache module that uses DNSBL in order to block spam relay via web forms, preventing URL injection, block http DDoS attacks from bots and generally protecting your web service denying access to a known bad IP address.

9 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Anonymous

I had the same problem....

By: FilipJ

becouse youha apache2.conf probably. you must write it by hand

By: Vassilis

make install ....

apxs:Error: Activation failed for custom /etc/apache2/httpd.conf file..
apxs:Error: At least one `LoadModule' directive already has to exist..

By: Spechal

Too bad it assumes you use apxs2 when you get apxs with yum install httpd and get Apache2

By:

You can create a softlink:

 ln -s /usr/sbin/apxs /usr/sbin/apxs2

By: IzFazt

Can the so called 'custom error' put the IP blocked in the log file or is this always done automaticly ? If not automaticly, what should be the syntax of the custom error so the blocked IP is put in the log?

By: ThcTLo

apt-get install libapache2-mod-spamhaus  ( debian squeeze ) 

wget the mod and dpkg -i, works fine on debian lenny.

 

By: Won Dering

I was just wondering if spamhaus is a good idea to be applied on a production shared hosting environment.Doesn't it make false positives easily?

By: DnS

Is there anyone who can help me out?

My client has an IP address which is in a range of spamhouse PBL records.

He is being blocked pretty often on http requests, while I'm not, and the only difference between me and my client is that my IP is not registered within the PBL records.

 

Any advice?