• Ganglioneuroma: Rarest and most benign
    • It's done
    • Fun with Yelp...
    • That's no moon...
    • Online classes
    • Insert your getting stoned joke here
    • The new Gmail look and feel...
    • Garmin 60Csx vs Oregon 450
    • Our 2011 Apple Harvest
    • Expense report
    • Hard Drive Destruction
    • It's the small things...
    • Random passwords
    • Cherry Dutch Baby
    • The paperless office needs a paperless toilet
    • Cilantro-pistachio pesto pesto, rice and beans
    • My first iPhone hide
    • Yeast Waffles
    • Seiko battery replacement
    • Nikon D40 won't power up
    • Mapnificent
    • Geocache Queries
    • iPhone 4 travel map
    • I'm Here To Put You Back On Schedule
    • Disruptive technologies
    • Fraud alert
    • Cleaning between the door glass of a Frigidaire oven
    • Snap, Crackle and Pop
    • Dolphin Kick
    • Conversation killer
    Hallowe’en 2004 One Mile at a Time, One Scene at a Time

    Link Refererer spamming

    By jim On 2 November 2004 · 4 Comments · In Cool Geek Tricks

    Referer link spamming is when someone from Site A fakes out web servers on Site B into thinking someone was referred from Site A. The hope is that Site B is running one of those dynamic visitors lists and, by doing so, Site A appears on Site B’s list when Google’s indexing spider visits. Google “sees” another occurrence of Site A and ranks them as more important than other, comparable sites. The industry name for this practice is “search engine optimization.”

    I’ve seen an uptick in the number of link spammers “visiting” my site. Initially, these were one-offs like the P.Hilton video hawkers who had set up on blogspot.com. Last month, there was a spike from a Hallowe’en costume vendor who did the same. I’ve also been seeing direct hits from , makers of software to automate link spamming.

    Here is a specific example of referrer spam, rendered in bitmap form because these people annoy me and I don’t want to encourage any business their way.

    I don’t use the dynamic “visitor lists” for this very reason, but the link spamming still annoys me when I check my site stats and find that a new visitor is indeed a spammer. Luckily, my site uses apache, and this is moderately easy to fix by modifying the rules Apache uses.

    For example, to block the above referers, I can create some general rules:

    RewriteEngine On
    RewriteCond %{HTTP_REFERER} ^http://paris-hilton-videoblogspotcom*$ [NC,OR]
    RewriteCond %{HTTP_REFERER} ^http://(www\)?*debt*info*$ [NC,OR]
    RewriteCond %{HTTP_REFERER} ^http://(www\)?*mortgage*info*$ [NC,OR]
    RewriteCond %{HTTP_REFERER} ^http://(www\)?*loan*info*$ [NC,OR]
    RewriteCond %{HTTP_REFERER} ^http://(www\)?*french-wine-cellar*info*$ [NC,OR]
    RewriteCond %{HTTP_REFERER} ^http://(www\)?*credit*info*$ [NC,OR]
    RewriteCond %{HTTP_REFERER} ^http://halloween-costumes-onlineblogspotcom*$ [NC,OR]
    RewriteCond %{HTTP_REFERER} ^http://wwwadminshopcom*$ [NC,OR]

    I’d be interested in other experiences with getting rid of these bozos. One curious thing in my logs was some of the sites only request the page and not the content within. There should be a way to write an automated rule.
     

    • Share:
    Share →
    Tweet

    4 Responses to Link Refererer spamming

    1. Debbie says:
      2 November 2004 at 16:41

      I keep getting spam from a video poker site – 80 or more “posts” a day since I switched to WordPress. They’ve been moderated, so they will never get to see their spam on my website, but it’s still aggravating. It makes me wonder who they are trying to appeal to, since they’ve probably angered the whole blogosphere with their stupid little ads.

    2. jim says:
      15 November 2004 at 7:20

      Wow, these guys can create domains faster than I can add them.
      I just blocked anything referred from domains ending in .info and .biz.

      While examining the logs further, I see where they were also using spam-bots to post comments to movable type. Thus, if you’re a movable type owner, you ought to edit mt.cfg and then rename the scripts.

    3. jim says:
      25 November 2004 at 11:23

      Added two more to the mix. These phentermine guys are total assholes in the link spamming department with 60 hits in the last few days.

      RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*deals.*\..*$ [NC,OR]
      RewriteCond %{HTTP_REFERER} ^http://(www\.)?.*phentermine.*\..*$ [NC,OR]

    4. Christian says:
      31 March 2005 at 14:03

      You can rewrite this

      RewriteCond %{HTTP_REFERER} ^http://(www\)?*credit*info*$ [NC,OR]
      RewriteCond %{HTTP_REFERER} ^http://(www\)?*debt*info*$ [NC,OR]
      RewriteCond %{HTTP_REFERER} ^http://(www\)?*mortgage*info*$ [NC,OR]
      RewriteCond %{HTTP_REFERER} ^http://(www\)?*loan*info*$ [NC,OR]

      into

      RewriteCond %{HTTP_REFERER} ^http://(www\)?*(credit|debt|mortgage|loan)*info*$ [NC,OR]

      Better yet, use an external textfile for this so you can edit it independently of the configuration.

    • Recent Posts

      • Ganglioneuroma: Rarest and most benign
      • It’s done
      • Fun with Yelp…
      • That’s no moon…
      • Online classes
      • Insert your getting stoned joke here
      • The new Gmail look and feel…
      • Garmin 60Csx vs Oregon 450
      • Our 2011 Apple Harvest
      • Expense report
      • Hard Drive Destruction
      • It’s the small things…
      • Random passwords
      • Cherry Dutch Baby
      • The paperless office needs a paperless toilet
    • Recent Comments

      • Cleaning between the door glass of a Frigidaire oven
        • Kate: I say that to my 30-year-old fiance on a fairly regular basis as well. ;)
        • Melissa: Thank you! Thank you! Thank you! Been fighting with a coat hanger and rags on...
        • Regina: THank you so much for this info. I have had a line down my stove for almost 2...
        • Yoda: So happy to find this info. Wish I had had it for my old range, but will keep it...
        • Tanya: I actually called them to ask how to clean that part ..so many drips on mine..I...
      • It’s done
        • jim: Thanks, you all. I am feeling much better. @John – When I knew the surgery...
      • Ganglioneuroma: Rarest and most benign
        • jim: Thanks, guys. @Phil – I am looking forward to our next hike! @John –...
        • John: Descriptions of medical procedures are cringe-worthy unless you’re the one...
        • Phil: Fun read on a not so fun experience. As much as I enjoyed our ‘pain scale...
    • Twits

      • RT @mightyrosebud: Just read a list of "100 things to do before you die". I'm surprised "yell for help" wasn't one of them." 01:54:18 AM January 30, 2012 ReplyRetweetFavorite
      • @voxkev Let me know if you find an app. I used a python script (http://t.co/tTN5PlRq). For music, Dupin helps identify dupes. 08:41:07 AM January 28, 2012 in reply to voxkev ReplyRetweetFavorite
      • @voxkev Curious - what alternative(s) you're using for gmail? how hard has it been to wean from? 08:06:12 PM January 20, 2012 in reply to voxkev ReplyRetweetFavorite
      • @voxkev Mint: meh. Could be useful, but they don't realize when a card is paid off and send an alert. Canceled 1y ago + haven't missed it. 06:29:51 PM January 19, 2012 in reply to voxkev ReplyRetweetFavorite
      • @woodstockdc Staying off the roads! 06:21:57 PM January 19, 2012 in reply to woodstockdc ReplyRetweetFavorite
      @jim_carson
    RT @mightyrosebud: Just read a list of "100 things to do before you die". I'm surprised "yell for help" wasn't one of them."  — jim_carson
    loading Cancel
    Post was not sent - check your email addresses!
    Email check failed, please try again
    Sorry, your blog cannot share posts by email.