Contact: Web / Voice / Email / Tips
Simple Thoughts Blog - Java and Web Technologies

Simple solutions for complex problems.

 

WordPress 2.0 / 1.5.x Plugin: Referrer Bouncer - A Plugin to bounce referrer spammer bots (and humans)

March 19th, 2005 by Angsuman Chakraborty

Overview
A Plugin to bounce back referrer spam attempts; requires no upfront configuration, no mod-rewrite. It is like the strong silent bouncer at your favorite club. Tested on WordPress 1.5.x and 2.0. It should work with earlier versions too.

It does one job and does it well. Enough said.


Update
:

  • A new version of the plugin is available with some enhancements. Please read the details here. The download link below provides the latest version.
  • This plugin does not collect any information on the amount of work it does or spammer bots it bounces back. This is because I want it to be as fast as possible. So some people may want to know how to verify if the plugin actually works. To answer that I have written an article on how to ensure your site is protected by referrer bouncer plugin.
  • Anyone who have downloaded the plugin before May 4th, 2005 are strongly requested to re-download the plugin again. A fix was made for non-default behavior of the plugin following a bug report by Gustavo. Thanks Gustavo!
  • If your WP installation hangs intermittently after installing the plugin then chmod your wp-content directory to 777. If you are logged in and in WP home directory then the exact command on linux/unix systems would be:

    chmod 777 wp-content

    Thanks to Richard Silverstein for this fix.

Background
I was trying to block referrer spammer’s from my blog sites. I saw few scripts, never a real WordPress Plugin which does the job without requiring you to configure anything or without requiring manual modification of core files. Also I want to manage the list of referrer domains without having to modify the source code.
I am uncomfortable with Plugins, which requires modification of core WordPress code, because it forces you through painful upgrade procedures.

So I created Referrer Bouncer Plugin for WordPress 1.5 with the following simple requirements:

  1. It should be simple to use.
  2. It should be simple to install.
  3. It should come pre-configured.
  4. It should allow changing referrer information.
  5. It should embed security measures against outsider modifications
  6. It should require no manual intervention for day-to-day operations.

Referrer Bouncer Plugin for WordPress 1.5 is of the class of upload-activate-and-forget Plugins (like WordPress 1.5 Plugin to disable nofollow from comments), Plugins that simply work.

Note: If you find this plugin useful, please consider contributing to ensure development of more such plugins and maintenance.

Pages: 1 2 3 4


Tags: CMS Software, How To, PHP, Pro Blogging, Spam Watch, Technology, Web, WordPress | | RSS 2.0 | Email this Article

You may also like to read

»WordPress Plugin: Angsuman's Referrer Bouncer
»WordPress 1.5: My Referrer Bouncer Blacklist
»Simple .htaccess Rules To Block Spammers
»How to Ensure your Site is Protected by Referrer Bouncer Plugin
»Debugging PHP...
»Stupid Nasty Spammer of The Day - My-Pills.be
»Angsuman's Multi-Page Plugin: WordPress 2.x Plugin To Create Multi-Paged Articles
»How to keep your WordPress 1.5 Blog Spam Free
»WordPress Plugins (Free) Developed and Supported by Taragana.Com
»The Big Void In WordPress Comment Spam Protection
»WordPress Plugin to Automatically add Copyright Message to your RSS / ATOM Feeds - Angsuman's Feed Copyrighter Plugin
»The D-Day...
»Will the Karma pains never end? This time it is Referrer Karma
»Cross-Site Scripting Vulnerability in Apache mod_imap Module
»How To Easily Censor External Web Email Sites in Firewall

105 Responses to “WordPress 2.0 / 1.5.x Plugin: Referrer Bouncer - A Plugin to bounce referrer spammer bots (and humans)”

  1. Chad Says:

    Hmmm… It would be wonderful if we could work out a central update service. I found myself adding 2-3 new referals to my .htaccess every week.
    Either way, I’ve added a lot of the ones I received to the list. Anyone can grab it at http://www.pirate-king.com/wp-content/referer.txt

  2. angsuman Says:

    Thanks for sharing your list.

  3. The InsaneOx ReLoaded » Blog Archive » Spooky TV Danger, And More WP Goodness Says:

    [...] Danger, And More WP Goodness Before we continue, as usual here’s another new plugin for WordPress that’s too good to pass up. What [...]

  4. Soft Alien » Easy plugin for Wordpress to deal with referrer spam Says:

    [...] n for Wordpress to deal with referrer spam Filed under: Plugin Testing — Tom Referrer Bouncer by Simple Thoughts seems to be a well done and [...]

  5. restorin’essential » Blog Archive » come ti ammazzo lo spammer nei referrer Says:

    [...] i tiene le statistiche ed averlo subissato di spam, sappiate che ora esiste una soluzione: referrer bouncer, un plugin per wordpress che usa una blacklist [...]

  6. » That that referrer spam. » Meanwhile, Back In Front Of My Mac Says:

    [...] ing but filling my stats with crap. Now I have a chance to defend myself. I just found a referrer bouncer plug-for WordPress and I’m hoping it wor [...]

  7. Stephen Says:

    Thanks a bunch for writing this plugin. I’ve been looking for one of these.

  8. angsuman Says:

    Thanks to all for the compliments. I am happy to know you found it useful.

    I am thinking about including Chad’s idea of a central distribution of updates in the next release. Say an automatic weekly update, which incorporates your changes along with new entries from my list.

    What do you all think?

    BTW: You can always look in my list.

  9. whatever » Blog Archive » Comment Spam Redux Says:

    [...] trackback spam as well… and huge piles of referrer spam, which I’m hoping the Referrer Bouncer 1.1 plugin by Angsuman Chakraborty will reduce [...]

  10. David Mattison Says:

    Thanks very much for the Referrer Bouncer Plugin. I was looking for something like that as I’ve accumulated a large number of bogus referring sites. Since I’m on a shared hosting platform, doing the htaccess rewrite rules thing is problematic and time-consuming.

  11. Ken Says:

    Angusman, thanks for creating this plugin. I’m looking forward to benefitting from it. I have a question about disabling the links though. I manually created the referer.txt file, chmod it to 666. However, after clicking on the disable link it give me a few warning messages like “Warning: touch(): Unable to create file /hsphere/local/home/galen5/familywebwatch.com/blog_test/wp-content/plugins/../nrsetup.txt because Permission denied in /hsphere/local/home/galen5/familywebwatch.com/blog_test/wp-content/plugins/noreferer.php on line 48″.

    What am I doing wrong? Thanks for any help you can offer. :)

  12. Ken Says:

    Oh, I’m sorry…one more thing. Am I correct in my understanding that after I delete the referer.txt file (for security reasons, I guess) that that information is somehow saved elsewhere for the plugin to continue working?

  13. Ken Says:

    Hello again, Angsuman. My earlier post is missing. Did you get it? If not, I’d be happy to explain again the help I need with your plugin. I look forward to hearing from you. :)

  14. angsuman Says:

    @Ken

    Does your wp-content directory have write permission?

    The process of disabling is done by creating a file (using touch) named nrsetup.txt in your wp-content directory. You can also manually create the file for same effect.

    Yes, when it cannot find referer.txt then it uses the default list of spammers which is hardcoded in the plugin file.

    Yes, I got your posts. I was out on business.

    Let me know if that addresses all your questions.

  15. angsuman Says:

    @Ken You do not need to delete the referer.txt file for security.
    Deleting it doesn’t enhance security in any way. In fact I encourage that you maintain your own file and update it as necessary.

    All I do is prevent the file from being deleted/created by outsiders using the disabling feature. Thus outsiders cannot modify your referer list even if they guess that you are using this plugin. Editing the file is controlled by wordpress admin authentication mechanism. So after disabling you need not have any concerns wrt. security.

  16. Ken Says:

    Thanks for getting back to me. :) It wasn’t until I sent you another comment that I realized that the previous comments were in moderation. When I submitted the third one that’s when the others popped up to tell me that. Sorry about that.

    My wp-content directory is set to 755. “Group” and “public” are not set to “write”. Should they be?

    I’m sorry — I don’t understand what you mean when you say “using touch”. There is no file called “nrsetup.txt” in my wp-content directory. Are you saying that I can or should create one? If so, I’m not clear what the file should contain. Could you clarify?

    I understand about not needing to delete the referer.txt file. So if I have the wp-content directory set to the correct chmod, will it then disable it as you describe?

    I really appreciate your help!

  17. angsuman Says:

    The wp-content directory should be writable by the process running php, which normally has the same permissions as your webserver (like Apache). Is your web server running under your login id?

    I strongly suspect that it doesn’t have write permission to wp-content directory. It is probably running as “nobody”. You can do a ps -ef to find out this. Look for a process called httpd if you are running on Apache.

    Another way is to temporarily chmod wp-content to 777 and see if it solves your problem.

    The simplest solution for you is to create an empty file called nrsetup.txt under wp-content directory manually. You are done. You don’t need to worry about anything else. The setup is now fully secure.

    If you are not concerned about manually configuring it with referrer’s then you can also delete the referer.txt file. You can always change your mind later.

    By “touch” I meant the unix command I used to create the file.

  18. Ken Says:

    Okay, I think I’m almost there. I did chmod wp-content to 777 (temporarily) and tried selecting the link to disable the referer.txt and it seemed to work (no errors were given). I also found nrsetup.txt had been created automatically in wp-content.

    I chmod the directory back to its original settings and clicked the link and did not get an error message. So, based on what you’re saying, now that nrsetup.txt is present, it looks like I’m done, right?

    Sorry for so many questions. I guess what’s confusing me is when the plugin says to disable links to referer.txt and you explaining that the referer.txt can be deleted, I’m just left wondering, “so how does it know to keep working?” Of course, I’m NOT saying you’d program it that way (that would be counter-productive LOL). I’m just trying to get a good understanding of it, is all.

    I really do appreciate your patience with me and the help you’ve given.

  19. angsuman Says:

    Yes, I think you are done.

    The diasbling of links means anyone with access to the url’s to create and delete your referer.txt will not be able to. After you “disable” the links, such operations will be prohibited, till you re-enable again.

    It doesn’t affect the working of the plugin in any way.

    The way it works is this. It checks to see if referer.txt is present. If so, it then uses it and sees if the current referrer matches anyone in your list. If the referer.txt file is not present then it uses its own internal list.

    When I say that referer.txt can be deleted, I mean that by doing so you would be using the default set of referrer’s. If you want to customize the list then you need to have the referer.txt file present with your own entries.

    Hope that clarifies…

  20. Christian (TigerDE2) Says:

    Hi!
    When I try to run
    noreferer.php?noreferer_allset=true
    I get a 500 Internal Server error.
    What’s wrong? (Possibly the file permissions?)
    Regards,
    Christian

  21. angsuman Says:

    @Christian
    I am assuming you are using the link specified in the plugin description. Is that correct?
    Try changing wp-content permission to 777. Run it. Then change wp-content permission to your old value.
    Let me know how it goes.

  22. Ambot ah! » WP Plugins Must-Have List. Says:

    [...] are a lot of useronline scripts out there but this one’s made specifically for WP. Referrer Bouncer : Bounce referer spammers back to their own s [...]

  23. Gustavo Says:

    Hello,

    I’d install this plugin and it’s activated, also I add referers url into referers.txt. But I still
    seeing the same spam referers in my stats!

    For example, in referers.txt I’ve “p(0)ker” but in my referers I see “http://www.p(0)ker.blabla.com. (note: (0)=o).

    What’s wrong?

    Thanks!!!

  24. angsuman Says:

    Gustavo
    Thanks for the bug report. I confirmed the bug which happens for non-default use of the plugin. I have updated the plugin file. Please download again.
    Thanks.

    All,
    If you have downloaded the plugin before, please download it again as a critical error for non-default use of the plugin (customized referrer file) has been discovered and fixed.

  25. My journal since 1996 » Blog Archive » about this site Says:

    [...] spambots. It goes far beyond User-Agent and Referer, however. 3. Recent Comments plugin 4. WordPress 1.5 Plugin: Referrer Bouncer - A Plugin to bounce ref [...]

  26. marlyse.com » Plugin: Referrer Bouncer Says:

    [...] To keep around, in case my other, latest installments don’t get the job 100% done : WordPress 1.5 Plugin: Referrer Bouncer : “A Plugin to b [...]

  27. thomas Says:

    hey man,

    not sure what I am doing wrong but i just installed a new wp 1.5 blog

    and when I add the noreferrer plugin to my plugin folder, and then on my site i try to click the
    ‘edit’ link so that i go into my Wordpress user interface, it hangs and does not let me get in there..

    but when i remove the noreferrer plugin from my plugin folder through ftp, then i can access my blog and admin fine..

    the noreferrer plugin is hanging something up, not sure why.

    i am assuming to install I only have to drop the file into my plugins directory? and thats it?

    tom

  28. angsuman Says:

    @Thomas

    Have you activated the plugin first?
    First use it just after activation, no customization. Once you are comfortable with then create a custom file by clicking on the appropriate link in Plugin manager (details in the post).

    First you need to create the file, before you can edit it. Please check the instructions in the post. They should clarify the details.

  29. angsuman Says:

    @Thomas Is your wp-content directory writable?

  30. thomas Says:

    yes my wp content directory is set at 755

    and yes, I am not doing any customization, just put it in the plugin folder and then tried to activate it.

    This is really a strange bug, not sure why it is happening.

    I have your noreferrer plugin on a different wp 1.5 blog and there seem to be no problems there.

    But with this one, right after I put it in my plugin directory, and then go to my admin plugin section. And then when I try to activate it, it also hangs and gets stuck.

    Very strange…

    not sure what else could be wrong.. maybe I will just have to use the hashcash plugin for now..

  31. angsuman Says:

    There isn’t anything which can cause this behavior. I am as surprised as you are. Never had any other reports before even remotely like this.

    Just a hunch. Can you re-download the file please (from my site) and try again. Let me know what happens.

  32. thomas Says:

    i tired that too… no luck..

    thanks for tips though..

    cheers.

  33. davebgimp.com » Blog Archive » Favorite WordPress plugins so far. Says:

    [...] event comment spammers from taking advantage of your pagerank. A basic, necessary plugin. Referrer Bouncer: The other half of the blog/spa [...]

  34. Garinungkadol » Blog Archive » Referrer Spam Nightmare Says:

    [...] access there are a number of plugins that you can use. For Wordpress users, there’s Referrer Bouncer which bills itself as a “class of upload [...]

  35. Pearl Says:

    I’ll give it a go being rather fed-up with parasitic spamming. I’m glad i don’t have to work through code beyond my grasp to do your solution.

  36. Meeciteewurkor:: This is your brain on Tulsa Says:

    [...] To fill in the gaps until Bad Behavior gets updated, I’ve installed this referrer bouncer called, well, “Referrer Bouncer.” The trick is that you create a text file that the plug-in references. In this text file you enter in the domains of sites that are sending you referral spam. If the site is in this list, the plug-in will “bounce” the referred link back to the offending site. In essence, any links from that site are simply not accepted. Very nice. This blocks bots and humans. Referrer bouncer came with a default list of known spamming sites. I’ve added about 8 sites that were getting through Bad Behavior. While it’s very annoying to have to deal with all this spam, in some ways, it’s fun to get satisfaction in knowing that I am defeating them, and will always be able to leave an open comment form for articles and trackbacks. Speaking of trackbacks, I’ve added trackback protection, as well. If you trackback to meeciteewurkor and it doesn’t immediately show up, that means it’s been held in moderation. [...]

  37. Weblog Tools Collection » All comments are off (for now) Says:

    [...] [EDIT] Back on again, please report any problems. Suggestions that I have found useful include: Apache mod_security, Spam Valve, Bad behavior, WP Hashcash and Referer Bouncer I have already implemented a couple of these and am in the process of rewriting a couple more to suit my needs. The first three are very promising. Bad Behavio(u)r has some clever code and when used without the logging feature, is very swift. I might tweak the code a bit to make it even more transparent and engage it *before* the Wordpress process using Addhandler. Using JS verification is an option that I would consider but would rather stay away from.   (Visited 121 times) [...]

  38. Terrance Says:

    Excellet plugin! I’ve been looking for something exactly like this to weed out the spam in my referrer links.

  39. fussychicken.com » I got an email the other day… Says:

    [...] This took care of it. Installation is easy (though I had a little trouble with permissions), and the list of banned referrers easy to edit. Best of all: The messages bounce back to the referring URL. Heh. (I don’t have any way to prove it’s happening, but the images in my head are enough.) [...]

  40. Tom Morris :: links for 2005-07-31 :: July :: 2005 Says:

    [...] WordPress 1.5 Plugin: Referrer Bouncer - A Plugin to bounce referrer spammer bots (and humans) - Simple Thoughts A neat referrer spam plugin that I will rollout when I’m sitting at my proper desk. (tags: blog plugins wordpress blogs spam referrer) [...]

  41. Meeciteewurkor:: This is your brain on Tulsa Says:

    [...] See the above image? This is what happens when you somehow get blank lines in certain files of your Wordpress installation or plug-ins. In my case, it was the plug-in I use to bounce referrer spam, called Referrer-Bouncer. Referrer bouncer uses one php file that checks incoming referrers against a text file, and if it finds a match then it will bounce the referral back into the abyss. Well, if you accidentally insert a blank line in this text file, like I somehow did today, then you will find that you cannot access your admin panel, it will infinitely loop constantly bouncing itself. Firefox returns the above error. Internet Explorer just sat there all confused. [...]

  42. ds|tan » Blog Archive » mm more wp plugins :) Says:

    [...] next… it’s this refferer bouncer thingy… works like the b2evo blacklist of specific site addresses…. if anyone from your blacklist tries to get in to your site… it gives the spammer an error message of sorts hence… they cant even get in [...]

  43. kristal Says:

    After using this for a while, I started to get error messages that my redirect url limit was exceeded. I couldn’t even log in to my admin panel. When I deleted the plugin, the problem went away. When I reinstalled, the problem came back. What am I doing wrong?

  44. Angsuman Says:

    @Kristal
    Please delete the blank line between:

    .ru

    vending-machine.narod.ru

    in your referer.txt file. That will solve the problem. In other words you cannot have empty lines in this file.

  45. technology and the social » Blog Archive » Referrer Spam Says:

    [...] [...]

  46. kristal Says:

    thank you

  47. Angsuman Says:

    @Krystal
    You are welcome.
    BTW: You don’t even need the vending-machine.narod.ru line as your .ru line before will match any ru domains.

  48. kristyk*org » problems Says:

    [...] FIX [...]

  49. Richard Silverstein Says:

    I have a use in mind for this plugin a little different fr. the main one Angsuman conceived it for & I just want to be sure that it’ll accomplish what I need.

    Periodically, I get visitors who are referred to my site by various online forums. They come to my site referred fr. the forum sites and leave pretty nasty comments. And sometimes they leave them in droves.

    My question is: once I discover that a particular domain is referring these people to me & they’re leaving these unwanted messages, if I add that particular referring domain to my referer.txt file will it bounce the unwanted commenter back to the domain/URL fr. which they came?

    If so, this is something I very much need. I’ve just installed it & no problems so far. Proof of the pudding will come when my next “attack” happens.

  50. Richard Silverstein Says:

    UPDATE: I tested the plugin by going to one of the sites which linked to my blog & sent nasty commenters my way. While at the site, I found the link to my post, clicked on it and…was promptly bounced right back to the original site!

    Worked just like I hoped it would. This will be one useful tool in fighting certain types of unwanted visitors.

  51. Richard Silverstein Says:

    Hey, if Thomas is still reading this (see his May 16th comment) I think I discovered what might’ve been the problem with his WP installation hanging after installing the plugin. He says in his comment that he set his wp-content folder to 755. I had mine set to 755 as well & got the same hang behavior. But when I set it to 777, then everything went back to working fine.

    So be sure your folder is set to 777.

    Angsuman: if Thomas doesn’t see this maybe you have his e mail & can send him this comment in case it’ll fix his problem?

  52. Tikun Olam-תקון עולם: Make the World a Better Place » WordPress Plugin: Referer Bouncer Says:

    [...] Remember that old line from Julius Caesar: “I come here not to bury Caesar but to praise him.” Well, I come here to bury certain unwanted blog visitors and to praise Angsuman’s remarkable Referer Bouncer plugin. [...]

  53. Angsuman Says:

    Thanks Richard for the solution. I have emailed Thomas about your solution (cc’ed you).

    I will update the post with this.

  54. Richard Silverstein Says:

    Angsuman: I’ve noticed a weird behavior in my CHMOD settings. Yesterday, my plugins folder & referer.txt & noreferer.php files were all set to 777. Tonight, one reverted to 644 & one to 755. This in turned caused that weird hanging behavior once again.

    Can you think why CHMOD settings would change? How do you keep them set once you configure them?

  55. Tikun Olam-תקון עולם: Make the World a Better Place » Blogging and Blog Comments: Absolute Freedom or Civil Discourse? Says:

    [...] By the way, the solution of Dawzz I chose to solve my problem was Angsuman’s Referrer Bouncer plugin. Works like a dream. blog, censorship, comments, plugin, abuse, wordpress [...]

  56. Combating Referrer Spam with WordPress | FuCoder.com Says:

    [...] Then I found Referrer Bouncer (via Blogging Pro News), a WordPress plugin that blocks referrer spams by matching against a plain text file. It gives some interesting responses — instead of denying spambot the access, it actually sends back a 302 “Found” to tell the spammers to go back its own website. [...]

  57. To block or not to block -- Pinoy Tech Blog - The Philippine’s Premier Technology Blog Says:

    [...] So after weighing my options, I decided to ban spam referrers from ever hitting my site, at least on my WordPress-based J Spotter, the WP referrer bouncer plugin being readily available. [...]

  58. Take My Advice - I’m Not Using It! » Keeping Your Files Current Says:

    [...] I did some research and decided to implement some WordPress plugins to help to combat the spam. The first was Spam Karma 2, an anti-spam plugin that helps to eliminate all forms of blog spam. So far so good, no more trackbacks or comment spam have gone live in my blogs. I also installed a Referrer Bouncer plugin to hopefully eliminate all of the junk in my logs. I won’t really be able to easily see if this is working until next month when I have some clear logs to view. [...]

  59. siliconsara.com » blog archive » blocking sick search strings Says:

    [...] Anyway, how did I do it? Simple! I used the Referrer Bouncer plugin and in the referer.txt file, I cuntpastded (lulz) all of the search terms that I deemed sick and disturbing. Here’s an example of some stuff in my .txt file: hot+cat+sex+ass YUGIOHhentai Yautja+cock+sex+ass hot+silicon+girl silicon+girl pissing-girl.ws 8m.com yu-gi-ohhentai Yautja+sex+cock+ass illegal+porn+galleries princess+peach+hentai princess+peach+porn Super+Mario+Porn i-no+hentai yugioh+hentai [...]

  60. Richard Silverstein Says:

    I think the plugin has stopped working for me. Can you remind me how you add domains to the bounced list? I just added one to referer.txt & saved it. When I went to the domain in question & clicked on a link there to my site, I should’ve been bounced back to the original site. Instead, I was taken to my site.

    I wonder whether the way the referer.txt file is formatted could be the problem. I noticed that ea. domain name is listed without any punctuation separating them. Shouldn’t there be a semi colon or some punctuation allowing the plugin to distinguish bet. the domains? Maybe I’ve lost the proper formatting I once had for the file?

  61. Richard Silverstein Says:

    UPDATE to my last comment. When I view the referer.txt file using Notepad through my ftp client, I see no returns separating the entries. But when I use WP’s own interface to view the file I do see returns separating them. So I recommend only adding domains to referer.txt using the WP interface (or else adding returns to the file when viewed in Notepad or via yr. ftp client).

  62. Angsuman Says:

    @Richard
    You can add domains or any keywords. I even have words like casino.

    It simply scans for the text within referrer string, sent by the http client.

    Please edit your file using the WP interface to ensure no empty lines in file. In the next version I will remove this requirement, I promise.

  63. » Looking for a better anti-SPAM solution. - Ambot ah! [ technology news and reviews ] Says:

    [...] Been getting a lot of spam lately — in the hundreds, daily. I’ve already installed the Wordpress Hascash and Referrer Bouncer for quite some time now. [...]

  64. shepherdweb.com » Blog Archive » Referral Spam » Shane Shepherd: web design and development; music Says:

    [...] Since installing Angsuman’s Referrer Bouncer earlier this month, the referral spam I was accumulating has dwindled to almost nothing! As you can expect, I am very happy about this because my log files were filling up with stuff I don’t want to mention. At any rate, I am unsure if I am unintentionally blocking legitimate traffic. If you’ve been blocked or redirected while trying to reach my site, please let me know the circumstances and I might be able to tweek the configuration. The main factor should be the site you linked from before arriving here. Filed under: blogging, traffic, technology & web by Shane | [...]

  65. Richard Silverstein Says:

    Angsuman: I was wondering whether you might have any ideas why I’m seeing this behavior regarding a bounced domain.

    I added it to my referer.txt file. When I visit the bounced domain myself & attempt to click on a link there to my site I AM bounced back to the original site (& not allowed access to my own). This is the behavior I want to see. However, I’m still seeing in my site stats visits to my site referred fr. that domain.

    How could that be happening?

  66. Richard Silverstein Says:

    Add this to my previous comment…is it possible that while at this site those who wish to visit my site are not clicking on the link there to me (which would get them bounced); but rather are pasting my URL link into their browser window? Would this explain how they’re getting around referer bouncer? If so, I wish there was some way to fight this.

  67. Angsuman Chakraborty Says:

    @Richard
    Can you provide me the url to the site which you intend to bounce? - I will take a look.

  68. Marjan Says:

    Hi,

    I was so glad to find a plugin like this. However I’m facing a lot of problems getting it to work in WP version 1.5.2. Asuming that that’s the problem, cause

    Tested only on WordPress 1.5. Should work with earlier versions

    . At some point my own site was complete blanc, and had to restore a number of WP-documents.
    I’m I right: is the WP version the problem? Please help: with ca. 22.000 not wanted referer hits me and my provider are in desperate need ;) Tnks in advance

  69. Marjan Says:

    [edit]22.000 not wanted referer hits every day[/edit]

  70. Angsuman Chakraborty Says:

    It will work in any version of WordPress, upwards compatible.

    Please describe the problem in detail and I will take a look.

  71. Marjan Says:

    Should the plugin (noreferer.php / Angsuman’s Referrer Bouncer plugin) still be / remain activated after the referer.txt and nrsetup.txt files have been created? Or is activation only nessecary to adjust the referer.txt file (and create the nrsetup.txt file)? The nrsetup.txt file is a blanco file, right?
    I cannot describe the earlier problems in details, so I just want to know before I () try again. This plugin does / wants to do more then I’m ‘used’ to. :D :) Thanks.

  72. Marjan Says:

    It works now / when chmod wp-content to 755 instead of i.e. 711 (which resulted in a blanc page / non visible website). BLOND hé :P ;)
    Sorry. All my mistake!! I’ll Let you know what it does to my 22.000 not wanted referer hits ;)

  73. Angsuman Chakraborty Says:

    Wonderful!
    Looking forward to hear about your 22, 000 not wanted hits :)

  74. Marjan Says:

    WP is ‘just’ a part of my website / not my entry page. Is there anyway I can get this plugin to work on my not WP-page(s) as well?
    Forever thankful in advance ;)

  75. Angsuman Chakraborty Says:

    @Marjan
    I have a different version which will work on any php enabled website including but not limited to wordpress. So yes it will neatly solve your problem.

    I will post it by tommorrow.

  76. Marjan Says:

    That would be perfect.
    I do not want to look brutal, nor do I want to rush you, but… ;) Please?

  77. Marjan Says:

    Your referer bouncer wordks just fine in WP ;)

    For my ‘other’ problem:
    With help ‘we’ found another solution…, to fix this problem instantly.
    Replace the last line with:

    RewriteRule \.*$ http://127.0.0.1 [R,L]

    and you give them a peace of their own cake!

    Regards, M. ;)

  78. Angsuman Chakraborty Says:

    Actually we do give them a taste of their own medicine. We re-direct them to spam the same site whose ranking they intend to increase by spamming ours. So all they get for their effort is a high bandwidth bill.

    With 127.0.0.1 it doesn’t cost them anything even if the spider is stupid anough to search the localhost and also if there is actually a server running.

  79. Marjan Says:

    Would you please, please be so kind to clue me in how to change the referer.txt dynamicly / help me otherwise?

    Because sofar I’m not doing so well I quess: “Traffic limits are exceeded in this domain…”

  80. ..:: kinjin dot net ::.. » Refererspam Says:

    [...] Heute morgen bin ich bei Eintrag 42326. Ist doch toll was die so alles an Traffic veranstalten, oder? Habe mir gerade mal den Referer Bouncer installiert, und meine Blacklist upgedatet. Nun bin ich mla gespannt was noch durchkommt. [...]

  81. RantoloBlog » Archivio Blog » Trackback spam Says:

    [...] Guardando meglio scopro che ne arriva approssimativamente uno al secondo, comincio a preoccuparmi e cerco di capire che cos’è . . . Spam nei trackback/referrer !!? Googlando un poco ho trovato a parte i soliti Trencaspammers e HashCash questo che mi sembra interessante, si chiama ReferrerBouncer. Questo risolve il problema nei referrer anche se i buoi sono già scappati tant’ è che ora nei log mi ritrovo : [...]

  82. WordPress Plugins (Free) Developed and Supported by Taragana.Com -Java and Web Software Blog Says:

    [...] WordPress 1.5 Plugin: Referrer Bouncer - A Plugin to bounce referrer spammer bots (and humans) [...]

  83. WordPress Plugin to Automatically add Copyright Message to your RSS / ATOM Feeds - Angsuman’s Feed Copyrighter Plugin -Java and Web Software Blog Says:

    [...] Angsuman’s Feed Copyrighter Plugin for WordPress 1.5 and above is of the class of upload-activate-and-forget Plugins (like WordPress 1.5 Plugin to disable nofollow from comments or WordPress Referrer Bouncer Plugin to bounce referrer spammer bots), Plugins that simply work. [...]

  84. Sebastian Says:

    Hi there,
    this plugin is a great idea, but unfortunately it doesn’t seem to work for me, since I’m using a custom referrer.txt file and the same spam sites I have listed there keep showing up in my referrers.

    Do you have an idea what could be wrong?

  85. Angsuman Chakraborty Says:

    The sites may still show up on log analysers as Apache passes on the request to WordPress which bounces them. However they are getting bounced and spamming themselves :)

    You can manually test to ensure it is working properly:
    How to Ensure your Site is Protected by Referrer Bouncer Plugin

  86. infOpinions? :: Public Relations » Blog Archive » infOpinions? del.icio.us links for 2006-01-10 Says:

    [...] The latter was found via referrers.  The “shortstat” plugin for WordPress has revealed some interesting traffic over the past few days.  I am surprised at the constant stream of referrer spam I receive.  Implementation of various plugins, like Angsuman’s Referrer Bouncer, seem to help.  However, the new domains come about 5 to 10 a day. [...]

  87. shepherdweb.com » Upgrade to WP 2.0 In Progress » Shane Shepherd: web design and development; music Says:

    [...] 1:18 pm - Activated “Angsuman’s Referrer Bouncer” plugin and verified that it was functioning correctly. Filed under: general by Shane | [...]

  88. Referer spam e browsers ‹ lâmpada azul Says:

    [...] Estava (aliás, estou) aqui a fazer uns ajustes para poder abranger a raiz do domínio com a protecção anti-referer-spam do Referer Bouncer (plugin do blogue), e fiquei espantado com a velocidade com que surgiam novos spammers nas estatísticas: menos de um minuto entre cada hit (se calhar isto até é uma quantidade levezinha, mas a verdade é que ao blogue não chega nada disto, é só mesmo na raiz do domínio, onde eu, já por causa disso, até nem tinha o BBClone a “cheirar” visitas). [...]

  89. Dan Says:

    thanks so much! really helpful!

  90. Kirsten Says:

    Last night my blog received 2036 hits from the URL “http://blog.taragana.com/wp-content/plugins/translator.php”, as displayed in AWstats. I don’t use Wordpress, I use b2evolution - and though I’m always looking for solutions to referrer spam, I’ve never seen this page before.

    It looks like I’ve been referrer-spammed by a referrer-spam-blocker. Could someone offer any insight as to what might have happened here?

  91. Angsuman Chakraborty Says:

    The url simply translates a page to non-English language. If you click on the flags in the top right corner of this page then you get a translated version of this page in your language of choice.

    It seems someone is misusing the service and using it to hide their nefarious activities.

    Give me a day or two. I will fix it.

  92. Alan Kellogg Says:

    Bug Report!

    Found myself banned by my own site. That is, when I came through my ISP. When I came through my site’s server I got through.

    The ability to whitelist certain numbers would be a useful feature.

  93. Angsuman Chakraborty Says:

    That is definitely not an error with Referrer Bouncer plugin.
    Have you checked (in WordPress options) the options to blacklist open proxies?
    That might be causing this error. Your office IP has been blacklisted by powers that be.

    Referrer bouncer doesn’t selectively ban based on IP addresses.

  94. Kirsten Says:

    Thanks for looking into it. Still boggles my mind what people will do just to try to get their URL somewhere it shouldn’t be…

  95. Angsuman’s Multi-Page Plugin: WordPress 2.x Plugin To Create Multi-Paged Articles -Simple Thoughts - Java and Web Technology Blog Says:

    [...] WordPress 2.x (and above) plugin to create multi-paged article. I have been asked several times how I create articles with multiple pages (like this or this). WordPress in recent versions (1.5 and above) does not provide any visible buttons to support multiple pages even though it supports the functionality internally. This plugins enables you to easily break your WordPress article into multiple pages. It works for both WYSIWYG as well as text mode. Compatibility Works on 2.x codebase. It hasn’t been tested on 1.5.x codebase and not supported. [...]

  96. 今有効化しているプラグインを列挙してみよう « :: plasticdreams :: Says:

    [...] Angsuman’s Referrer Bouncer…リストされた変なリファラを持つアクセスを拒否 [...]

  97. Simple .htaccess Rules To Block Spammers -Simple Thoughts - Java and Web Technology Blog Says:

    [...] You can easily and effectively use your .htaccess file to easily and effectively block comment and referrer spammers targeting your blog(s). If you are using WordPress you can also use my Referrer Bouncer plugin, which is much simpler, to block referrer spammers. For the rest here is a sample .htaccess file you can start with. [...]

  98. WordPress Plugin: Multi-Page at JohnTP’s Home Says:

    [...] Check this post to get an idea on how the plugin works. WordPress in recent versions (1.5 and above) does not provide any visible buttons to support multiple pages even though it supports the functionality internally. This plugins enables you to easily break your WordPress article into multiple pages. It works for both WYSIWYG as well as text mode. [...]

  99. Invisible Inkling » Blog Archive » Ten WordPress plugins that make this look easy Says:

    [...] Angsuman’s Referrer Bouncer, Trackback Validator, Spam Karma 2, Bad Behavior: It’s hard to tell which of these is doing the lion’s share of the work, but I rarely ever have to see any comment or trackback spam on my blog. Obvious honorable mention to Akismet. I don’t know how this stuff works, but it gets the job done. [...]

  100. 2000 Lux sur le Net > Spam spam spam… Encore ? Says:

    [...] Autres solutions à essayer : Referer Karma, Referrer Bouncer, AutoBanReferer ou encore SpamForceField [...]

  101. Webjuice » Referer Spam ver.2 Says:

    [...] Niente da fare la soluzione che postato qualche giorno fà non sono riuscito a loccare niente, ho trovato la soluzione installando un paio di plugin’s per WP, questi: 1) Angsuman’s Referrer Bouncer [...]

  102. The Big Void In WordPress Comment Spam Protection -Simple Thoughts - Java and Web Blog Says:

    [...] I too provide an anti-spam plugin - Referrer Bouncer. Unlike its counterparts Referer Bouncer doesn’t normally give false positives. However it requires active management of the list for best performance which may not be possible for average joe bloggers. Also Referrer Bouncer tackles only one class of spams - referrer spams or spams with a referrer payload. While it is an important category of spam, a lot of spams these days doesn’t come with referrer payload. [...]

  103. Mic Says:

    hi there, just would like you to know that your plugin appears on my “most-wanted” list ;-)

    cheers,
    michael

  104. Angsuman Chakraborty Says:

    Thanks a ton.

  105. Manele Says:

    thanks a lot for this plugin. i saw that you made a lot of useful plugins:) thank you!

  106. Mihai Says:

    Great plugin..Ths a lot

Looking forward to hear your thoughts.



Please enter the code shown below ( to verify that you are human ) before you click Submit Comment.

No. 1 method to ethically increase your blog traffic and reach.

Translate

Translate to EnglishÜbersetzen Sie zum Deutsch/GermanPřeložit do Čech/CzechOversætte hen til Dansk/DanishKääntää jotta Finnish/FinnishLefordít -hoz Magyar/HungarianÞýða til Íslenska/IcelandicTraducir a Latinoamericano Español/Latin American Spanishtagapagsalin sa Filipino/FilipinoTłumaczyć wobec Polski/PolishA traduce la spre Român/RomanianPrevesti za Srpski/Serbiantolmačiti v slovenski/SlovenianÖversätta till Svensk/SwedishChyfieitha at Cymraeg/Welshtercüme etmek -e doğru Türk/TurkishPrevesti to Hrvatski/CroatianПревеждам към Българин/BulgarianTraduzca al Español/SpanishTraduisez au Français/FrenchTraduca ad Italiano/ItalianTraduza ao Português/Portuguese日本語に翻訳しなさい /Japanese한국어에게 번역하십시오/Korean中文翻译/Chinese Simplifiedترجمة الى العربية/ArabicVertaal aan het Nederlands/DutchΜεταφράστε στα ελληνικά/GreekПереведите к русскому/RussianOversetter til Norsk/Norwegian中文翻译/Chinese TraditionalTraduzir a Língua portuguesa brasileira/Brazilian PortugueseReddo ut Latin/Latin

Taragana Network

»Ctrl-S
»Enterprise Blog
»Free Book on Eye Care by Natural Therapy
»Health Care Blog
»Hot Computer Jobs Blog
»Pet Care & Grooming News and Tips
»Phil Law Blog
»Taragana - Software Outsourcing
»The Angsuman Chakraborty Blog
»The Diabetes Cure Blog
»The Eye Treatment Blog
»The Stem Cell Blog
»Weblog Hosting Blog