Page 1 of 1

SPAM protection (new)

Posted: Thu 18. May 2006, 01:08
by fellchen
Ok, for all they have further problems with spam robots, manual posted spam, fraud and other stupid things...

Bad Behavior works sometimes and sometimes not...
Take a look at my old posting with a video guide:
http://www.phpwcms.de/forum/viewtopic.php?t=10157

Now I have created a script which bans IP adresses and ranges.
Here the website for that script: http://antispam.7ways.biz

The features:
+ blocks visitors from website via IP range
+ saves traffic
+ every user is logged
+ log could be imported to Microsoft Excel (CSV import)
+ central daily updated IP ban list

I think that this script could be a better solution for the most people.
Visitors they're have an IP address which is blocked by a range would be redirected to:
http://antispam.7ways.biz/406.php A simple error page.

The next feature of this script:
+ spam bot protection like the Bad Behavior script (so you need only one script)

If people use that script and give me the IP addresses over the submit link on my script web site, I will add them to the black list and all other web site owner get the protection.

Have fun, Marko

PS: Good night, I'm hungry and my keyboard doesn't look like a pizza. See you tommorrow...

Posted: Mon 5. Jun 2006, 13:45
by nekket
It works... perfectly!

Thank you, that's the first solution which solves my problem with spam!

Posted: Mon 5. Jun 2006, 14:07
by trip
Hi Please add your script details to this directory

http://phpwcms.raramuri.com

thanks
TriP

Re: SPAM protection (new)

Posted: Sun 25. Jun 2006, 14:09
by hendrik
fellchen wrote: Now I have created a script which bans IP adresses and ranges.
Hi Marko,

when I took a closer look to your script, I was wondering, if it maybe bans more IPs than planned.
For instance I saw in the ip_data.csv that there was blocked an IP_number like 84.2.44.161 and I think its because of the general range-ban for 61. (Besides, are they really all spammers?)

In short, I think that your line

Code: Select all

if(strstr($ip, $list)){
should be replaced by

Code: Select all

if(strpos($ip, $list)  === 0){
Taking the example above this would make sure that only IPs starting with 61 are banned and not IPs having 61 somewhere.

Am I right or wrong?

regards
Hendrik