Spam
Posted by birdyleg
All files from this thread
File Name | File Size | Posted by | Date | ||
---|---|---|---|---|---|
bad_behaviour.zip | 33.2 KB | open | download | Maurice Makaay | 11/09/2005 | Read message |
Re: Spam October 27, 2005 03:48AM |
Admin Registered: 21 years ago Posts: 9,240 |
Okay, okay, I have only a little knowledge about php. So it would be great, if you could get an introduction, how I can install "the bad-behaviour". Where is the "extensions" directory in the phorum and in which files I have to include the "include"? And what should I change in the "bad-behaviour-mediawiki.php"? Thank you very much.
birdyleg
birdyleg
Re: Spam November 09, 2005 04:46AM |
Admin Registered: 19 years ago Posts: 8,532 |
Quickly looking at it, it seems to come down to:
* Install "bad behaviour" on your server;
* Include bad-behavior-generic.php from a common part of the code.
You can either hack common.php to have the include somewhere at the start of that file or use a module that hooks in to the "common" hook.
I gave the last option a try. The attached file contains a module for implementing bad behaviour in Phorum. I did not do any real testing, but I think this should work. The latest Bad Behaviour distro is included in the package. Remember to update the settings in mods/bad_behaviour/distro/bad-behaviour-generic.php, according to the Bad Behaviour docs.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
* Install "bad behaviour" on your server;
* Include bad-behavior-generic.php from a common part of the code.
You can either hack common.php to have the include somewhere at the start of that file or use a module that hooks in to the "common" hook.
I gave the last option a try. The attached file contains a module for implementing bad behaviour in Phorum. I did not do any real testing, but I think this should work. The latest Bad Behaviour distro is included in the package. Remember to update the settings in mods/bad_behaviour/distro/bad-behaviour-generic.php, according to the Bad Behaviour docs.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Spam November 09, 2005 04:46AM |
Admin Registered: 19 years ago Posts: 8,532 |
Quickly looking at it, it seems to come down to:
* Install "bad behaviour" on your server;
* Include bad-behavior-generic.php from a common part of the code.
You can either hack common.php to have the include somewhere at the start of that file or use a module that hooks in to the "common" hook.
I gave the last option a try. The attached file contains a module for implementing bad behaviour in Phorum. I did not do any real testing, but I think this should work. The latest Bad Behaviour distro is included in the package. Remember to update the settings in mods/bad_behaviour/distro/bad-behaviour-generic.php, according to the Bad Behaviour docs.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
* Install "bad behaviour" on your server;
* Include bad-behavior-generic.php from a common part of the code.
You can either hack common.php to have the include somewhere at the start of that file or use a module that hooks in to the "common" hook.
I gave the last option a try. The attached file contains a module for implementing bad behaviour in Phorum. I did not do any real testing, but I think this should work. The latest Bad Behaviour distro is included in the package. Remember to update the settings in mods/bad_behaviour/distro/bad-behaviour-generic.php, according to the Bad Behaviour docs.
Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Spam November 09, 2005 05:01AM |
Admin Registered: 21 years ago Posts: 9,240 |
HTTP headers, it detects if the client is a normal browser or if it is a robot.
It validates the IP of known and harmless bots, and blocks everybody else.
So basically a script that does automated spam postings has to be very well written in order to pass the tests.
Goood for us, most of them aren't, they just try to be as fast as possible, and bad behaviour catches them, I love it.
--
Amilcar Lucas
www.kdevelop.org webmaster
It validates the IP of known and harmless bots, and blocks everybody else.
So basically a script that does automated spam postings has to be very well written in order to pass the tests.
Goood for us, most of them aren't, they just try to be as fast as possible, and bad behaviour catches them, I love it.
--
Amilcar Lucas
www.kdevelop.org webmaster
Sorry, only registered users may post in this forum.