[geeklog-devel] About the forum spammer

Blaine Lang geeklog at langfamily.ca
Wed Jan 19 17:09:44 EST 2005


Yeh - Thanks Tom :)
Another nice addition.

So ... are you up for another extension to query the IP's if there are 
multiple links in the post?

Or maybe we just reject posts with more then a set number of links :)

Blaine

----- Original Message ----- 
From: "Dirk Haun" <dirk at haun-online.de>
To: <geeklog-devel at lists.geeklog.net>
Sent: Wednesday, January 19, 2005 4:02 PM
Subject: Re: [geeklog-devel] About the forum spammer


>Here you go.

Thanks, Tom :-)

But I guess line 44 in IP.Examine.class.php:

    if ($val = $_SERVER['REMOTE_ADDR'])) {

should really read

    if ($val == $_SERVER['REMOTE_ADDR']) {

i.e. add one '=', remove one ')'.


Also, this seems to block by IP address. What I meant was that all the
domains in the spam post resolve to a certain IP address. The spam post
itself is sent from one of the hijacked PCs under the spammer's control,
so blocking by their IP address won't help much in this case.

It's still useful for other cases, so I'll probably be adding it to CVS
anyway.

bye, Dirk


-- 
http://www.haun-online.de/
http://www.macosx-faq.de/

_______________________________________________
geeklog-devel mailing list
geeklog-devel at lists.geeklog.net
http://lists.geeklog.net/listinfo/geeklog-devel 




More information about the geeklog-devel mailing list