1
jctsup1
Captcha for other modules & comments
  • 2007/1/17 5:45

  • jctsup1

  • Not too shy to talk

  • Posts: 146

  • Since: 2002/5/23


Hey everyone -

I need some help or some useful suggestions.

We allow anon users to submit articles (AMS), downloads (mydownloads), & weblinks (mylinks) on our site. Over the past several months, we have started to get slammed by submission bots submitting bogus sites / downloads in mass (about 250 / day). We really don't want to turn off anon users ability to submit as there are a lot of valid submissions from people who don't want to go through the registration process.

I know that there was a discussion of a captcha hack for CBB - has anyone looked at implementing this feature in other modules such as mydownloads, mylinks, AMS, and the News module just to name a few of the modules that are in wide use out there?

I would do it but I couldn't code my way out of a paper bag so I am looking for some assistance.

Thanks
-- Jeffrey
Jeffrey C. Tindillier, CIW
Microsoft MVP - IIS
--------------------------------------------
IIS Tips, Tricks & Resources
http://www.iis-resources.com

2
chippyash
Re: Captcha for other modules & comments
  • 2007/1/17 6:57

  • chippyash

  • Friend of XOOPS

  • Posts: 501

  • Since: 2004/1/29


What you are asking for isn't too difficult but as you say, you need some programming experience.

However, I had same problem with myLinks anon submission on one of my sites getting blasted by spambots. (Obviously) for links I do not allow unvetted submissions so this stopped the links actually going live.

To stop the spambots I installed Netquery (search this site's news for it) which has the bad Behaviour system incorporated into it. You only need to put the Netquery log block onto every page for it to work (set some settings in preferences as well!). Turn the order index in admin-modules to zero and the main Netquerty system will never show to users, yet you get protection.

I wish XOOPS Protector module had this feature included. It makes more sense for it to be there imho.

3
jctsup1
Re: Captcha for other modules & comments
  • 2007/1/17 7:43

  • jctsup1

  • Not too shy to talk

  • Posts: 146

  • Since: 2002/5/23


Ok Thanks

I will take a look and let you know how it does for us.
Jeffrey C. Tindillier, CIW
Microsoft MVP - IIS
--------------------------------------------
IIS Tips, Tricks & Resources
http://www.iis-resources.com

4
carnuke
Re: Captcha for other modules & comments
  • 2007/1/17 8:19

  • carnuke

  • Home away from home

  • Posts: 1955

  • Since: 2003/11/5


CAPTCHA would be very useful in the core and we have asked for this before. In the mean time I have found a useful option here; Put this in your .htaccess file

RewriteEngine On
RewriteCond %{HTTP_REFERER} ^(http://www.)[a-z]+-[a-z]+- [NC]
RewriteRule ^(.*)http://%{REMOTE_ADDR}/ [R=301,L]


It reduced my spam considerably.
http://houseofstrauss.co.uk Resource for alternative health and holistic lifestyle
search xoops

5
chippyash
Re: Captcha for other modules & comments
  • 2007/1/18 15:10

  • chippyash

  • Friend of XOOPS

  • Posts: 501

  • Since: 2004/1/29


Carnuke

What does it do?

6
Dave_L
Re: Captcha for other modules & comments
  • 2007/1/18 16:14

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


It's intercepting requests whose HTTP_REFERER match a particular pattern, and redirecting them back to the requestor's IP address with a 301 ("moved permanently") status.

I don't fully understand the pattern match part, or why this is a good thing to do, so I'll let Carnuke answer that.

7
skenow
Re: Captcha for other modules & comments
  • 2007/1/18 18:51

  • skenow

  • Home away from home

  • Posts: 993

  • Since: 2004/11/17


The pattern looks for referers that have multiple dashes '-' in them, like www.texas-hold-em.com

Login

Who's Online

196 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 196


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits