Comment spam again

    As In Search of L33t says, comment spam can be a large scale annoyance. In L33t's words:

    I am promising myself I am going to start blogging more. The main problem is that I am so tired of blog spam. Even with the comments turned off I am still getting blog spam. It depresses me a little to see so many blog comments that have absolutely nothing to do with my topics.


    I have similar blog spam levels:

      mikal@daedalus:~/blog-comments$ du -sh
      79M     .
      mikal@daedalus:~/blog-comments$ find . -type f -name "*.no" | wc -l
      6064
      mikal@daedalus:~/blog-comments$ find . -type f -name "*.blocked" | wc -l
      4778
      mikal@daedalus:~/blog-comments$ find . -type f -name "*.yes" | wc -l
      483
      


    Yes, that really is 79 meg of blog comments (admittedly including the metadata for recent comments). The most interesting bit is that blocked line. That's the number of posts which have been automatically blocked since I started automatically blocking some posters. It's been really effective, I get around one or two comment spams in my email for moderation a day now. The super secret algorithm? I block these IP addresses:

      84.19.184.26
      85.255.117.250
      203.142.1.182
      202.71.106.121
      85.249.136.194
      202.76.235.6
      202.75.62.79
      202.75.49.130
      202.75.49.134
      202.75.49.133
      202.75.49.131
      193.87.17.120
      


    I recommend others give it a try, as it's eliminated basically all of my comment spam. That's right, it appears to me that almost all comment spam comes from these few IPs.

    Tags for this post: blog(S) spam(S)

posted at: 12:37 | path: /diary/spam | permanent link to this entry





    #2 Wade Mealing

    Great ;)

    I'll have to give this a go, a little shell script and iptables.. and I'll report back with how it goes after a week. :)

    Wade



    #4 Wade Mealing

    Very good advice, I've only clocked up about 200 since this time ! I am surprised that such a large amount of blog spam came from so few addresses.

    Add a comment to this post:

    Your name:

    Your email: Email me new comments on this post
      (Your email will not be published on this site, and will only be used to contact you directly with a reply to your comment if needed. Oh, and we'll use it to send you new comments on this post it you selected that checkbox.)


    Your website:

    Comments:


    Because of excessive load, this site is generated statically every several hours. Therefore, your comment may take some time to appear here. Unless you get an error message when you click the select button below, then all is normal and the comment will appear in due course. If you want you can checkout all recently approved comments while your waiting.