Home

Your premium source for custom modification services for phpBB

  logo

HomeForumsBlogMOD ManagerFAQSearchRegisterLogin

Comments December 1, 2006

Another spam rejection technique

Filed under: blog — Dave Rathbun @ 1:47 am CommentsComments (1) 

Apparently the spam comment field for Wordpress is quite large. All the more space to get spammed with, apparently. Not anymore. :twisted: If you enter a comment longer than 16K your comment will be immediately trashed. So there. :-P

I don’t expect this to impact normal users that want to leave comments on my blog. And I have not kept any statistics as to how many comments exceed that limit. (I am going to, though, starting tonight.) I do know that I had at least a few over that limit within the past few days.

If you are a regular reader of my blog you know that last week I started tweaking the Wordpress code to make it easier to avoid comment spam. Akismet is doing a nice job, but I would rather just reject stuff before it even gets that far. So far I have added a checkbox that must be marked in order to leave a comment, and a few other items that I have not detailed in a post. Rejecting oversized comments is just another fairly easy step to take.

For example, for the 24 hours of November 30 I got 27 comments that were rejected because they failed to click the confirm checkbox. There were also 16 comments that went through and were either valid, or were trapped by Akismet. Many of those were extremely large posts, so my new code should be good enough to reject them, without really impacting a typical comment that a normal user might leave.

And so the battle continues. 8)

1 Comment »

  1. The following oversized comments have been rejected in the past few hours… file sizes were 327383, 346234, 346234, 299866, 248664, 255565. That’s a lot of processed pork product. 8)

    Comment by dave.rathbun — December 1, 2006 @ 10:20 am

RSS feed for comments on this post.

Leave a comment

Tags allowed in comments:
<a href="" title=""> <acronym title=""> <blockquote cite=""> <code> <strong> <em> <u> <sup> <sub> <strike>

Confirm submission by clicking only the marked checkbox:

         **     

Powered by WordPress