Feb 29th 2004, 16:51 GMT
I’ve just wrote a little PHP script to automatically deal with the inevitable referrer spam. After yesterdays server log file told me that the spam-to-“real”-traffic ratio was 70 to 30, I was pissed once again and decided to do something about it. I’ve wrote a script that sifts thru the last day’s log file, extracts all the referrers, and if a certain referrer is causing more than n% of the total number of accesses, it’s marked as bad referrer and added to the blacklist. The script runs once per day.
The script is named “Referrer Spam Fucker 3000”.
If anyone wants it, I’ll be happy to share it. Mail me at carlo at g-blog dot net.