I've been trying your flood assassin and the idea looks nice but the current dummy rules are pretty useless on its own (doesn't even match those annoying sex spam as spam).
Have been looking at the code and think I understand it fairly but I think would be nice for your users to write a little explanation on how to add rules (or if you are bored even an little admin page for it ;) ).
Benjamin Falk - 2009-01-21 09:09:35 - In reply to message 1 from Steven
Well I thought the tool is for webdeveloper ... but you're right, I didn't added a quite good tutorial to add rules... I'll write one, but now just for you :D
I'm sorry for my worse english right now :)
Leave this blank (or set it to NULL)
Regular expression for content of message
If higher or lower than 0 each expression which got found get counted.
For example you have the expression „[l]“, contentcount „1“ and the content „Hello world“ you get the spamresul of at least 3 („l“ is 2 times in text)
Regular expression for the name of message
Regular expression for mail address of message
A fix IP address
For better usage of the regular expressions
How many points if rule_content matches with content (0 = default value)
Same as rule_contentlevel (0 = default value)
Same as rule_contentlevel and rule_namelevel (0 = defaultvalue)
Same as rule_contentlevel, rule_namelevel and rule_ip (0 = defaultvalue)
Name the rule
Steven - 2009-01-21 12:52:50 - In reply to message 2 from Benjamin Falk
thanks.. that is pretty much how I figured it, just needed to be sure it is actually just the pattern of regex your filling out there.
just need to refresh a bit on reg expressions but there is google ;)
On a side note I don't think the db design of the rules is at its most efficient state but will do just fine for now :)