Tuesday, March 14, 2006

Bad Behavior

This past weekend, I had a flood of over 100,000 of attempted comment spams.  The bayesian filter stopped all but 5 from getting through.  The main effect that I noticed was that the database queries to run these spam check was hitting the database hard.

Bad Behavior is a collection of php scripts that is intended to stop these http accesses before the queries reach the database.  It analyzes the actual HTTP request and compares it to profiles from known spambots.

I was able to get this to work easily in LifeType.  Here is a version of the php file to be included, that allows logging of these accesses into the LifeType database.

Technorati Tags: , ,

No comments:

Post a Comment

Unlocking Raspberry Pi Potential: Navigating Network Booting Challenges for Enhanced Performance and Reliability

I've set up several Raspberry Pis around our house for various projects, but one recurring challenge is the potential for SD card failur...