LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG-Webdev] spambot detection and banning using PHP

[ILUG-Webdev] spambot detection and banning using PHP

g whitley mott grwm at gnuleaf.net
Fri Dec 12 18:36:44 GMT 2003


On Fri, 2003-12-12 at 16:28, kverens wrote:
> I was thinking about this earlier today, and wondering if anyone had already 
> implemented something similar.
> 
> Basically, I would have a script, linked to /index.php by aan element such 
> as this:
> <a href="/spbotBanner.php" style="display:none">.</a> 
> 
> Naturally, most humans would not see the link to follow it, and those that 
> did would see the following message: 
> 
> "If you email to the following email address, your IP will be banned from 
> this server: id1-spbot at contactjuggling.org" 
> 
> The page serving that notice takes note of the requestor's IP address, and 
> places it into a db. The email address is 'id' + db entry id + 
> '-spbot at contactjuggling.org' 
> 
> A cron job would periodically check the spbot at contactjuggling.org email 
> account, and ban the IP address of the server, as worked out from the email 
> address sent to. 
> 
> Any thoughts on this?

it's not clear from your description whether you intend to block the
http autobot or the smtp, and for either or both, given the
sophistication of some of the spammers, blocking by IP will have
disappointingly limited effect in an of itself, and will of course
unavoidably disrupt some innocent folk, even so it may help a bit..

-g
-- 
http://gnuleaf.net -- a new lease on life for stranded red hatters




More information about the Webdev mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell