HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   mod_spamhaus logs (http://www.howtoforge.com/forums/showthread.php?t=29523)

jva1601 16th December 2008 04:00

mod_spamhaus logs
 
Hello everyone,

I have just installed this mod following the how-to. I'm assuming if I were to check if it is really blocking ips listed in spamhaus databases I just need to look into my apache2 log files. Also adding IPs onto the whitelist do I separate them with a white space or comma? Thanks for the awesome how-to's!

jva1601

falko 17th December 2008 14:46

I haven't tried this module, so I don't know if/where it logs.
Regarding the whitelist: I'd put one IP per line.

jva1601 17th December 2008 22:56

Solved
 
I discovered apache2 logs it for each of my virtual domains being attacked by spambots. Looking into the directory of one my virtual domains

/home/mysite/logs

and doing a tail -f error_log

I saw an entry in the logs like:

[Mon Dec 15 22:23:05 2008] [crit] [client 208.64.72.41] mod_spamhaus: address 41.72.64.208.sbl-xbl.spamhaus.org is blacklisted. Deny connection to www.mysite.com

Very cool! It has help reduce the abuse directed to all of my hosted web sites :D

Thanks! Falko for putting up this how-to.


All times are GMT +2. The time now is 08:36.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.