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

Seamless Local Control: Integrating WeatherFlow with Home Assistant Across VLANs

I've been pleased with my Home Assistant setup for some time now. One of my main focuses has been achieving local control. This ensures...