Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Blog Module /

Discuss the Blog Module.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Still getting flooded by spam, using blog 0.2.1, latest Mollom, latest SpamProtection


Go to End


4 Posts   1689 Views

Avatar
jbryner

Community Member, 15 Posts

17 February 2010 at 8:31am

Edited: 17/02/2010 8:37am

A site I'm working is getting flooded by spam messages in their comments. I just updated the Blog module, I've updated Mollum to the latest, SpamProtection to the latest and is using SS 2.3.5 .

Spam is coming in nearly every 5-10 seconds. They are making direct POSTs to the comment function (which I thought the latest Blog update fixed). Here is a sample of the log:
217.23.12.204 - - [16/Feb/2010:14:28:26 -0500] "POST /p-nut-butter-lover-s-cookies/PageComments/PostCommentForm HTTP/1.1" 403 - "http://www.fullplatediet.org/p-nut-butter-lover-s-cookies/" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"

Can I make Mollum always display and require the Captcha, or is there another fix I can implement quickly? Is it possible that SpamProtector is not working, and is there a way I can test it?

Avatar
Hamish

Community Member, 712 Posts

17 February 2010 at 9:06am

I think an easy way might be to add this to your Page_Controller init() method:

function init() {
	Session::set('mollom_captcha_requested', true);
	parent::init();
}

This is untested and I've never used mollom, but it seems like this should work.

Avatar
Willr

Forum Moderator, 5523 Posts

17 February 2010 at 11:53am

I think you can do something like

MollomField::$alwaysShowCaptcha = true;

as well in your _config file to always show the captcha

Avatar
jbryner

Community Member, 15 Posts

18 February 2010 at 7:23am

Neither worked. I moved to ReCaptcha and that seems to be putting a stop to it. Dunno what the deal was/is with Mollom.