Ming the Mechanic:
Comment and Refererrer Spam

The NewsLog of Flemming Funch
 Comment and Refererrer Spam2005-03-19 16:04
3 comments
by Flemming Funch

I've again turned on that trackbacks show here, as I'm more confident that spammers can be thwarted fairly easily. Basically I've installed mod_security, an Apache module which makes it quite easy to filter all web accesses, form postings and so forth, and catch when various keywords are used, in addition to catching various behaviors that are likely to be hacking attempts, like trying to access unauthorized directories, etc.

There's something arriving several times per minute. Most often just a robot accessing some blog page and including a fake referral URL, pretending there's a link on some gambling site to that page. Which there isn't. But also attempted comment postings and trackbacks. The latter having been the most problematic, as I have them show up prominently as comments in the articles. So I had that turned off for a while.

The drawback to keyword filtering, however, is that I have to manually configure a list of keywords that trigger the alarm. I'm after the ones that appear in URLs and that I'm pretty sure have no business here. Viagra, poker, incest, texas hold-em - that kind of thing. And I'll have to add new ones when they're used. I try to limit the filter to comment and trackback postings and to referrer URLs. But it is quite possible that this will block some legitimate uses of those words. So far it seems to work pretty well.


[< Back] [Ming the Mechanic]

Category:  

3 comments

20 Mar 2005 @ 09:14 by Zbigniew Lukasiak @62.121.115.223 : filtered world
When I read about spam filters that come up in more and more places I imagine a world where you can't talk about some subjects because nobody would hear you. And specificially you can't talk about the filters - and this starts now because I can't use the words from your filters to comment on them.  


20 Mar 2005 @ 16:40 by ming : Filters
Yeah, that sucks. See, for example, when I first wrote this article, I realized that my filter stopped me from posting it because I mentioned some of the words I was filtering on. So I had to refine it a bit, so it only applies to comments and a few other things. Which means I can't say v1agra here. So, yeah, that's rather annoying, that one can't legitimately talk about certain things, just because some spammers use them. So, I'm hoping for better solutions.  


24 Oct 2012 @ 08:02 by Robert Griffin III Jersey @120.43.21.224 : Robert Griffin III Jersey
and so we parted imperceptiblyI am 15 years old started to support his family, had been engaged in a variety of occupation, and accumulated a lot of experience But, what time do not know from the start, Xia Feiyu and me feelings dark life " Go up century ninety time I went to Hainan to work, until two years ago, back to the home  


Your Name:
Your URL: (or email)
Subject:       
Comment:
For verification, please type the word you see on the left:


Other stories in
2014-11-01 17:33: The conversation of work
2007-02-24 14:20: Writing books in HTML/CSS
2007-02-05 15:21: Software is hard
2006-11-19 21:30: Thingamy
2005-12-14 15:15: Ruby on Rails
2005-02-23 21:34: Wikipedia
2005-02-22 17:32: Mail
2005-02-10 16:00: More Google wizardry
2005-02-04 15:14: The Six Laws of the New Software
2005-02-02 18:37: Blog, Ping and Spam



[< Back] [Ming the Mechanic] [PermaLink]? 


Link to this article as: http://ming.tv/flemming2.php/__show_article/_a000010-001494.htm
Main Page: ming.tv