Digital Point Forums
iKobo

Go Back   Digital Point Forums > Design & Development > Site & Server Administration > Traffic Analysis
Google Analytics
Log In to view
your analytics

Reply
 
Thread Tools
  #1  
Old Mar 13th 2005, 7:31 pm
Smyrl's Avatar
Smyrl Smyrl is offline
Moderator
 
Join Date: Mar 2004
Location: Scrub Oak Forrest
Posts: 9,491
Smyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond repute
Phone Verified
Stopping Referrer Spam

Two Questions

1. Will banning the IP of the site spamming my log files keep spammer out?

2. If I use .htaccess to combat the spam and want to block the domain myjunk dot com and all subdomains can it be done with the one line

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

or will I have to specify each sub domain seperately?

Thanks for your help.

Shannon
Reply With Quote
  #2  
Old Mar 13th 2005, 8:19 pm
Bernard's Avatar
Bernard Bernard is offline
of the Nightfall
 
Join Date: May 2004
Location: Friendswood, TX
Posts: 1,527
Bernard is a glorious beacon of lightBernard is a glorious beacon of lightBernard is a glorious beacon of lightBernard is a glorious beacon of lightBernard is a glorious beacon of lightBernard is a glorious beacon of light
I'm not an expert on this, but in answer to Q1, I think the answer is no. Referral spam is usually handled by a program and they can usually be configured to operate through proxies, so the the spam is not necessarily coming from the same IP as the site they are "promoting".
__________________
Gardening ~ Epilepsy ~
Reply With Quote
  #3  
Old Mar 13th 2005, 8:58 pm
Smyrl's Avatar
Smyrl Smyrl is offline
Moderator
 
Join Date: Mar 2004
Location: Scrub Oak Forrest
Posts: 9,491
Smyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond repute
Phone Verified
Thanks, Bernard. What you said made sense.

I have made an attempt at altering a .htaccess file for first time today. Since I have never touched one before I do not know whether it will work or not but at least I can still reach site.

Shannon
Reply With Quote
  #4  
Old Mar 15th 2005, 5:11 am
neterslandreau's Avatar
neterslandreau neterslandreau is offline
Hand of A'dal
 
Join Date: Jan 2005
Location: Paradise aka Fort Lauderdale
Posts: 279
neterslandreau is on a distinguished road
Quote:
Originally Posted by Smyrl
1. Will banning the IP of the site spamming my log files keep spammer out?
I'm not sure what you mean by Referer Spam but I always get crackers trying to hack into my servers. When I notice someone attempting to breach my security, I add the IP to my hosts.deny file and deny them access to my machine, period.
__________________
Neters Landreau
Improve search engine ranking | Custom Shower Doors |
Reply With Quote
  #5  
Old Mar 15th 2005, 6:10 am
Smyrl's Avatar
Smyrl Smyrl is offline
Moderator
 
Join Date: Mar 2004
Location: Scrub Oak Forrest
Posts: 9,491
Smyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond repute
Phone Verified
neterslandreau, I am not the best person to describe referrer spam. You really should read something about it. If you look at your stats and the list of referrers you will see URLs for sites that have no liinnks to your pages. Porn, pharmeseuticals, gambling sites are among the worst.

I have read three stop-gap methods of altering your .htaccess file if you are running Apache. Since I know nothing about syntax for coding and am such a horrid typist I hated to touch mine but touch two I have. I will be watching to see if I continue to get spam.

It seems we all need to understand the blackest of black hat to try protect our sites.

Shannon
Reply With Quote
  #6  
Old Mar 15th 2005, 6:34 am
Bernard's Avatar
Bernard Bernard is offline
of the Nightfall
 
Join Date: May 2004
Location: Friendswood, TX
Posts: 1,527
Bernard is a glorious beacon of lightBernard is a glorious beacon of lightBernard is a glorious beacon of lightBernard is a glorious beacon of lightBernard is a glorious beacon of lightBernard is a glorious beacon of light
Quote:
Originally Posted by Smyrl
... If you look at your stats and the list of referrers you will see URLs for sites that have no links to your pages. Porn, pharmeseuticals, gambling sites are among the worst.
... and web hosting companies.
__________________
Gardening ~ Epilepsy ~
Reply With Quote
  #7  
Old Mar 15th 2005, 12:40 pm
neterslandreau's Avatar
neterslandreau neterslandreau is offline
Hand of A'dal
 
Join Date: Jan 2005
Location: Paradise aka Fort Lauderdale
Posts: 279
neterslandreau is on a distinguished road
Quote:
Originally Posted by Smyrl
It seems we all need to understand the blackest of black hat to try protect our sites.
That's very sad, isn't it?

BTW, I googled referrer spam, saw all kinds of ways to protect against it (thank you ), but in all the time I've been admin'ing sites, I've never run across this problem, or at least never realized I was being exploited.
__________________
Neters Landreau
Improve search engine ranking | Custom Shower Doors |
Reply With Quote
  #8  
Old Mar 15th 2005, 9:52 pm
J.D. J.D. is offline
of the Nightfall
 
Join Date: Nov 2004
Posts: 1,198
J.D. has a spectacular aura aboutJ.D. has a spectacular aura about
Quote:
Originally Posted by Smyrl
1. Will banning the IP of the site spamming my log files keep spammer out?
Some of them operate from behind a DSL connection and blocking these addresses is impractical - who knows, may be somebody who'd get the address next would buy something from you I do check on a case-by-case basis who's the owner of the IP address and if it's a dedicated server, I usually block it for some time.

Quote:
Originally Posted by Smyrl
2. If I use .htaccess to combat the spam and want to block the domain myjunk dot com and all subdomains can it be done with the one line
You didn't show the rule, so I'm assuming that you are redirecting spammers somewhere else. I haven't checked, but I would think that in this case the log line would still show the spamming referrer, which kind of defies the purpose of this exercise. Some log analyzers process log lines with HTTP errors differently, so if you return some error (e.g. 404, not found), you may avoid this referrer in the reports.

J.D.
Reply With Quote
  #9  
Old Mar 16th 2005, 12:33 am
john_loch's Avatar
john_loch john_loch is offline
Rodent Slayer
 
Join Date: Apr 2004
Posts: 1,279
john_loch has a spectacular aura aboutjohn_loch has a spectacular aura aboutjohn_loch has a spectacular aura about
Hi Smyrl,

The only static way to kill referrer spammers is by IP. Unfortunately that's the crux of it. The only dynamic way to do this (that I've used) is to look for discreet requests to pages or specific files that:
a. are files that should have a local referrer (ie images/css files that are typically subrequests of a page) or:
b. Should result in subrequests for images and the like (ie .html, .php etc) but don't.

This will be problematic for users who either:
a. Use text browsers (ie Lynx etc)
b. Use custom software for the visually impaired.

At the end of the day though (no matter how you garner the info), you end up having to filter them on an IP basis.

Bit of a bugger really :|

Cheers,

JL
Reply With Quote
  #10  
Old Mar 16th 2005, 6:05 am
Smyrl's Avatar
Smyrl Smyrl is offline
Moderator
 
Join Date: Mar 2004
Location: Scrub Oak Forrest
Posts: 9,491
Smyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond reputeSmyrl has a reputation beyond repute
Phone Verified
Thank each of you for your replies.

I will continue making attempts to block spam.

Shannon
Reply With Quote
  #11  
Old Mar 16th 2005, 6:20 am
SEbasic's Avatar
SEbasic SEbasic is offline
Astral Walker
 
Join Date: May 2004
Location: Souf Eyst Lundun
Posts: 6,309
SEbasic is a splendid one to beholdSEbasic is a splendid one to beholdSEbasic is a splendid one to beholdSEbasic is a splendid one to beholdSEbasic is a splendid one to beholdSEbasic is a splendid one to beholdSEbasic is a splendid one to beholdSEbasic is a splendid one to behold
Keep us informed...

Referral spam on my sites has been increasing steadily over the past few months and It's now really starting to tick me off.
__________________
[Ol]
Weirfire does freelance work
Reply With Quote
  #12  
Old Mar 16th 2005, 6:24 am
T0PS3O's Avatar
T0PS3O T0PS3O is offline
Feel Good PLC
 
Join Date: Mar 2004
Location: 0101010101001011
Posts: 13,221
T0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond repute
Isn't referral spam only an issue when you have public stats that can be indexed by the spiders?
__________________
Try:
Sell Your Ad Space - Thousands Of Visitors Want To Buy Your Ad Space
Global Internet Index Directory <- Check it out! ->
Reply With Quote
  #13  
Old Mar 16th 2005, 6:34 am
J.D. J.D. is offline
of the Nightfall
 
Join Date: Nov 2004
Posts: 1,198
J.D. has a spectacular aura aboutJ.D. has a spectacular aura about
Quote:
Originally Posted by T0PS3O
Isn't referral spam only an issue when you have public stats that can be indexed by the spiders?
Very good point. Everybody has to make sure that access to all stats pages is properly authorized. At the very minimum all stats pages must have noindex and nofollow meta tag defined.

J.D.
Reply With Quote
  #14  
Old Mar 16th 2005, 6:36 am
T0PS3O's Avatar
T0PS3O T0PS3O is offline
Feel Good PLC
 
Join Date: Mar 2004
Location: 0101010101001011
Posts: 13,221
T0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond repute
I just password protected (htaccess) my webalizer stats folder. The way I understood the phenomenon is that it's killed by doing just that.

No access = no index = no link popularity = no reason to spam

Searching Google for two distinct webalizer (or similar stats package) lines of text (including the misspelled explaination) shows who can be spammed successsfully:

http://www.google.co.uk/search?hl=en...G=Search&meta=

Just 47 results but if you get creative with the search there must be millions.
__________________
Try:
Sell Your Ad Space - Thousands Of Visitors Want To Buy Your Ad Space
Global Internet Index Directory <- Check it out! ->
Reply With Quote
  #15  
Old Mar 16th 2005, 6:40 am
SEbasic's Avatar
SEbasic SEbasic is offline
Astral Walker
 
Join Date: May 2004
Location: Souf Eyst Lundun
Posts: 6,309
SEbasic is a splendid one to beholdSEbasic is a splendid one to beholdSEbasic is a splendid one to beholdSEbasic is a splendid one to beholdSEbasic is a splendid one to beholdSEbasic is a splendid one to beholdSEbasic is a splendid one to beholdSEbasic is a splendid one to behold
They still spam you either way.

My stats are protected on all of my sites.
__________________
[Ol]
Weirfire does freelance work
Reply With Quote
  #16  
Old Mar 16th 2005, 6:41 am
J.D. J.D. is offline
of the Nightfall
 
Join Date: Nov 2004
Posts: 1,198
J.D. has a spectacular aura aboutJ.D. has a spectacular aura about
Quote:
Originally Posted by T0PS3O
I just password protected (htaccess) my webalizer stats folder. The way I understood the phenomenon is that it's killed by doing just that.

No access = no index = no link popularity = no reason to spam
Some of these pesky spammers make a quite few hits in order to be noticed and this distorts the stats for some sites quite a bit. Blocking IP's or doing some other filtering helps to avoid this problem.

J.D.
Reply With Quote
  #17  
Old Mar 16th 2005, 6:42 am
T0PS3O's Avatar
T0PS3O T0PS3O is offline
Feel Good PLC
 
Join Date: Mar 2004
Location: 0101010101001011
Posts: 13,221
T0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond repute
Quote:
Originally Posted by SEbasic
They still spam you either way.
But then all you get is inflated stats. I'd worry more about customers than spammers.
__________________
Try:
Sell Your Ad Space - Thousands Of Visitors Want To Buy Your Ad Space
Global Internet Index Directory <- Check it out! ->
Reply With Quote
  #18  
Old Mar 16th 2005, 6:51 am
SEbasic's Avatar
SEbasic SEbasic is offline
Astral Walker
 
Join Date: May 2004
Location: Souf Eyst Lundun
Posts: 6,309
SEbasic is a splendid one to beholdSEbasic is a splendid one to beholdSEbasic is a splendid one to beholdSEbasic is a splendid one to beholdSEbasic is a splendid one to beholdSEbasic is a splendid one to beholdSEbasic is a splendid one to beholdSEbasic is a splendid one to behold
I don't like inflated stats.

Makes quick stat checks difficult.
__________________
[Ol]
Weirfire does freelance work
Reply With Quote
  #19  
Old Mar 16th 2005, 6:58 am
neterslandreau's Avatar
neterslandreau neterslandreau is offline
Hand of A'dal
 
Join Date: Jan 2005
Location: Paradise aka Fort Lauderdale
Posts: 279
neterslandreau is on a distinguished road
Quote:
Originally Posted by SEbasic
I don't like inflated stats.
I don't either. Because I pretty much operate on a shoestring budget and it is impossible for me to ignore my own clicks, I always create a subdomain that keeps no logs and do my developing thru that.
__________________
Neters Landreau
Improve search engine ranking | Custom Shower Doors |
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Spam Report Coop Dominic General Chat 15 Aug 1st 2005 6:06 pm
Cloaking links and stopping pr leak with links tomsey Search Engine Optimization 16 Jan 30th 2005 12:24 pm
DP keyword team spam!!! kokopoko Suggestions & Feedback 13 Jan 11th 2005 10:51 am
Spam Works! qll Search Engine Optimization 20 Oct 12th 2004 1:45 pm
Fight Email Spam With This Program "ABUSE" mddv All Other Tools 0 Jul 16th 2004 3:25 am


All times are GMT -8. The time now is 4:31 am.