WordPress 2.0 / 1.5.x Plugin: Referrer Bouncer - A Plugin to bounce referrer spammer bots (and humans) WordPressの2.0 / 1.5.xの差込式: Referrerの警備員-直帰するプラグインをr eferrerのs pammerのボット(と人間)
Overview 概要
A Plugin to bounce back referrer spam attempts; requires no upfront configuration, no mod-rewrite.直帰するプラグインを先頭referrerのスパムの試み;は必要ありません先行の構成] 、 [いいえmod書直す。 It is like the strong silent bouncer at your favorite club.サイレントのように強いことが好きなクラブの警備員をしています。 Tested on WordPress 1.5.x and 2.0. WordPressの1.5および2.0でテストされています。 It should work with earlier versions too.以前のバージョンばならない仕事が判明しました。
It does one job and does it well.それは1つのジョブや機能が必要です。 Enough said.十分によるとします。
Update : 更新日 :
- A 1つの 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.このプラグインはありませんあらゆる情報の収集の仕事の量やspammerのbotsわけでは先頭に直帰。 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お客様のサイトを確保するためどのようReferrerの警備員によって保護され差込式 .です。
- Anyone who have downloaded the plugin before May 4th, 2005 are strongly requested to re-download the plugin again.誰who差込式の前にダウンロードして2005年5月4日が強く要求したプラグインをダウンロードし直してください。 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. WPのインストールがハングする場合は、プラグインをインストールした後に断続的にchmodして入力し、コンテンツのディレクトリを777のWPです。 If you are logged in and in WP home directory then the exact command on linux/unix systems would be:もしあなたがログに記録し、 WPのホームディレクトリでの正確なコマンドを入力し、 Linux / Unixのシステムのようになります:
chmod 777 wp-content chmod 777のWP内容
Thanks toおかげで Richard SilversteinリチャードSilverstein for this fix.この修正プログラムです。
Background 背景
I was trying to block referrer spammer’s from my blog sites.私はreferrerのspammerしようとしてブロックのブログサイトからです。 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.いくつかのスクリプトを見た、絶対に本当のWordPressの差込式には、何か仕事を必要とするかを構成するコアファイルの変更を必要とマニュアルです。 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.私は不快感を持ってプラグインは、コアWordPressのコードの変更が必要なので、軍のアップグレードの手順を介して痛みを伴う。
So I createdだから作成 Referrer Bouncer Plugin for WordPress 1.5 WordPress 1.5のプラグインをReferrerの警備員 with the following simple requirements:は、次の単純な要件:
- It should be simple to use.を使用する必要が単純なことです。
- It should be simple to install.単純なことをインストールする必要があります。
- It should come pre-configured.事前に設定さ来ばならない。
- It should allow changing referrer information.リファラーばならない情報を交換できるようにします。
- It should embed security measures against outsider modifications部外者のセキュリティ対策を埋め込みばならないの変更
- It should require no manual intervention for day-to-day operations.手動での介入を必要としないばならない日々の業務です。
Referrer Bouncer Plugin for WordPress 1.5 WordPress 1.5のプラグインをReferrerの警備員 is of the class of upload-activate-and-forget Plugins (likeこのクラスのアップロードがアクティブアンドフォーゲットの差込(のような WordPress 1.5 Plugin to disable nofollow from comments WordPress 1.5のプラグインを無効にNoFollowの適用からのコメント ), Plugins that simply work. ) 、プラグインされているだけです。
Note: If you find this plugin useful, please consider contributing to ensure development of more such plugins and maintenance.注:このプラグインが見つかった場合は便利ですが、ご検討の他の開発のために貢献するにはこのようなプラグインやメンテナンス作業中です。
Filed under提出されて CMS Software CMSソフトウェア , 、 How Toどのように , 、 PHP PHPの , 、 Pro BloggingプロBlogging , 、 Spam Watchマークwatch , 、 Technology技術 , 、 Webウェブ , 、 WordPress WordPressの | |
| |
RSS 2.0 RSS 2.0を | |
Email this Article電子メールこの記事
You may also like to readを読むようにすることも可能 |



March 20th, 2005 at 4:05 am 2005年3月20日4:05 AMの
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.私は私の追加2-3新しいreferals 。 htaccessを毎週します。
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
March 20th, 2005 at 6:44 am 2005年3月20日1月18日6:44アム
Thanks for sharing your list.感謝を共有してください。
March 20th, 2005 at 12:46 pm 2005年3月20日は12:46 pmの
[...] Danger, And More WP Goodness Before we continue, as usual here’s another new plugin for WordPress that’s too good to pass up. [...]の危険性、および他のWPの良さを続ける前に、いつもどおり、ここのもう一つの新しい差込式のWordPressのことを通過するのも良いです。 What [...]どのような[...]
March 21st, 2005 at 10:32 am 2005年3月21日は午後5:32
[...] 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 [...] [...] nをWordPressのreferrerのスパムへの対処に提出されて:差込式のテスト-トムR eferrerの警備員と思われる簡単な思考をよくやったと[ ...]
March 24th, 2005 at 1:50 am 2005年3月24日1:50 AMの
[...] 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 [...] [...]私tieneルstatisticheエドaverlo subissato di spamのsappiate cheのoraのesiste unaのsoluzione : Referrerの警備員、国連差込式1のWordPress che米国のunaブラックリスト[...]
March 24th, 2005 at 3:26 am 2005年3月24日は3:26アム
[...] ing but filling my stats with crap.しかし、私の統計情報を充填[...] ingはナンセンスですよ。 Now I have a chance to defend myself.今すぐ私には自分自身を守るためのチャンスです。 I just found a referrer bouncer plug-for WordPress and I’m hoping it wor [...]ただReferrerの警備員を見つけたのWordPressのプラグインと私は願ってwor [...]
March 25th, 2005 at 4:26 am 2005年3月25日1月15日4:26アム
Thanks a bunch for writing this plugin.このプラグインを書く束に感謝する。 I’ve been looking for one of these.ずっと探してるんこれらの1つです。
March 25th, 2005 at 4:44 am 2005年3月25日は4:44アム
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表示価格 .です。
March 29th, 2005 at 3:35 pm 2005年3月29日は3:35 pmの
[...] 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 [...] [...] trackbackのスパムとしてよく…と巨大な山のリファラーマーク、これを願って私のAngsuman Chakraborty Referrerの警備員が削減され1.1差込式[...]
March 30th, 2005 at 4:11 am 2005年3月30日4:11アム
Thanks very much for the Referrer Bouncer Plugin.いただきありがとうございますReferrerの警備員の差込式です。 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.以来ホスティングプラットフォーム共有しているんだ、 htaccessのrewriteルールのことで時間のかかることが問題をはらんでいる。
March 30th, 2005 at 7:56 am 2005年3月30日は7:56アム
Angusman, thanks for creating this plugin. Angusmanは、このプラグインを作成するのおかげです。 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.私referer.txtファイルを手動で作成して、それを666にchmodします。 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″.しかし、無効にした後リンクをクリックして、それは私をいくつかの警告メッセージのような"警告:タッチ( ) :ファイルを作成できませんでした/ hsphere/local/home/galen5/familywebwatch.com/blog_test/wp-content/plugins / .. / nrsetup.txtため、アクセスが拒否されましたイン/ hsphere/local/home/galen5/familywebwatch.com/blog_test/wp-content/plugins/noreferer.phpをライン48 " 。
What am I doing wrong?何を間違えたのでしょうか? Thanks for any help you can offer.任意のヘルプを提供することができますいただきありがとうございます。
March 30th, 2005 at 7:58 am 2005年3月30日の午前7時58時
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?私の理解して正しいことを私した後、 referer.txtファイルを削除して(セキュリティ上の理由から、多分)がその情報を他の保存が何らかの作業を続行するためのプラグインですか?
March 30th, 2005 at 5:31 pm 2005年3月30日5:31 pmの
Hello again, Angsuman.ハローアゲイン、 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.皆様からのご意見を楽しみにしています。
March 31st, 2005 at 5:19 pm 2005年3月31日は5:19 pmの
@Ken @ケン
Does your wp-content directory have write permission?あなたのWPはコンテンツのディレクトリに書き込み権限ですか?
The process of disabling is done by creating a file (using touch) named nrsetup.txt in your wp-content directory.のプロセスを無効にファイルを作成する処理が行われる(使用してタッチ)という名前にしてnrsetup.txt WP内容のディレクトリにコピーします。 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.はい、ときに入力し、それを見つけることができませんreferer.txtのスパマーのリストを使用してデフォルトではハードの差込式ファイルです。
Yes, I got your posts.はい、私は自分の投稿です。 I was out on business.私はアウトをビジネスです。
Let me know if that addresses all your questions.させてアドレスを知っている場合はすべてのご質問です。
March 31st, 2005 at 6:03 pm 2005年3月31日は午後6時03分
@Ken You do not need to delete the referer.txt file for security. @ケン必要はありません。 referer.txtファイルを削除して安全保障します。
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.このようにして部外者のrefererのリストを変更することはできません推測している場合でも、このプラグインを使用しています。 Editing the file is controlled by wordpress admin authentication mechanism.ファイルを編集してWordPress adminの認証メカニズムによって制御されています。 So after disabling you need not have any concerns wrt.これを無効にした後懸念する必要はありませんがあれwrtで変わった。 security.安全保障します。
March 31st, 2005 at 6:47 pm 2005年3月31日は午後6時47分
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. 3番目の1つを提出したときに私のときに、他のポップアップを教えている。 Sorry about that.申し訳ありませんを知っています。
My wp-content directory is set to 755.私のWP -コンテンツのディレクトリは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.という名前のファイルがない" nrsetup.txt "私のWP内容のディレクトリにコピーします。 Are you saying that I can or should create one?私はあなたと言っていること、または1つ作成する必要ですか? 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.私について理解を必要としないreferer.txtファイルを削除してください。 So if I have the wp-content directory set to the correct chmod, will it then disable it as you describe?これすればよいのWPは、正しいchmodのコンテンツのディレクトリに設定され、それを無効にするには、説明ですか?
I really appreciate your help!本当に感謝して助けて!
April 1st, 2005 at 3:22 am 2005年4月1日の午前9:22
The wp-content directory should be writable by the process running php, which normally has the same permissions as your webserver (like Apache). WP内容のディレクトリの書き込みをすべきであるPHPの実行中のプロセス、これには、通常と同じアクセス許可として、お客様のウェブ( Apacheのように) 。 Is your web server running under your login id?ウェブサーバー上で実行されては、お客様のログインIDですか?
I strongly suspect that it doesn’t have write permission to wp-content directory.私は強くではないかとの許可を書く必要はありませんWP内容のディレクトリにコピーします。 It is probably running as “nobody”.それは、おそらくとして実行されて"誰も"です。 You can do a ps -ef to find out this. psのすることができます- efを行うことを確認するにこのです。 Look for a process called httpd if you are running on Apache.と呼ばれるプロセスのhttpdを探して実行されている場合は、 apacheです。
Another way is to temporarily chmod wp-content to 777 and see if it solves your problem.もう1つの方法を一時的には、 chmodのWPのコンテンツを777としているかどうかの問題を解決します。
The simplest solution for you is to create an empty file called nrsetup.txt under wp-content directory manually.最も単純な解決策をあなたは空のファイルを作成してコンテンツのディレクトリと呼ばれるのWP nrsetup.txtされて手動で作成します。 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.心配していない場合は、それを手動で設定することもできます。リファラーの入力しreferer.txtファイルを削除してください。 You can always change your mind later.いつもあなたの心へ変更することができます。
By “touch” I meant the unix command I used to create the file. "タッチ"んじゃなくて、 Unixのコマンドファイルの作成に使用する私です。
April 1st, 2005 at 5:39 am 2005年4月1日5:39アム
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).私はchmodのWP - 777のコンテンツを(一時)と試みたのリンクを選択して無効にして働くようにとのreferer.txt (ないエラーが与えられた) 。 I also found nrsetup.txt had been created automatically in wp-content.私もnrsetup.txtていたが見つかりましたWP内容を自動的に作成します。
I chmod the directory back to its original settings and clicked the link and did not get an error message.私のディレクトリにchmod先頭を元の設定を確認して、リンクをクリックするとエラーメッセージが表示さしなかった。 So, based on what you’re saying, now that nrsetup.txt is present, it looks like I’m done, right?そのため、何をおっしゃっていることに基づいて、今すぐにnrsetup.txtが存在する場合、次のように私は完了すると、右側のですか?
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).多分私は、ときには何の混乱を無効に差込式のリンクをreferer.txtに言うと説明してreferer.txtにすることが削除されると、左の不思議私はただ、 "これはどのように働き続けることを知ってですか? "コース、私に言ってるんじゃないのプログラムを選択ふうに言われると(それはカウンタ-生産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.私がやってまいりますので、ご理解の助けに私としたら与えられた。
April 2nd, 2005 at 9:34 pm 2005年4月2日は9:34 pmの
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.誰のdiasblingへのリンクの意味のURLにアクセスするのを作成し、削除してreferer.txtにはできません。 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.それはreferer.txtが存在するかどうかをチェックすることです。 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.の場合、 referer.txtファイルが存在しない場合は、独自の内部リストを使用しています。
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. referer.txtにできることと言って、削除、ということで私はそうすることによりあなたのデフォルトセットを使用して、リファラーのです。 If you want to customize the list then you need to have the referer.txt file present with your own entries.のリストをカスタマイズしたい場合は入力しておく必要がありますreferer.txtファイルの存在を、独自のエントリです。
Hope that clarifies…期待して明白になる…
April 6th, 2005 at 7:34 pm 2005年4月6日は7:34 pmの
Hi!やあ!
When I try to runを実行しようとした際に
noreferer.php?noreferer_allset=true式noreferer.phpですか? noreferer_allset = trueを
I get a 500 Internal Server error.私を見るGet a 500内部サーバーエラーが発生します。
What’s wrong?何がおかしいのですか? (Possibly the file permissions?) (多分、ファイルアクセス権のですか? )
Regards,よろしく、
Christianキリスト教
April 7th, 2005 at 12:40 am 2005年4月7日の12:40時
@Christian @キリスト教
I am assuming you are using the link specified in the plugin description.私はあなたが使用して、リンクを想定で指定されたプラグインの説明を入力します。 Is that correct?は、正しいのでしょうか?
Try changing wp-content permission to 777. WP内容の許可を変えてみてください777です。 Run it.実行します。 Then change wp-content permission to your old value. WP内容の変更の許可を入力し、お客様の古い値です。
Let me know how it goes.聞かせてくれよ。
April 7th, 2005 at 9:27 pm 2005年4月7日は午後9時27分
[...] are a lot of useronline scripts out there but this one’s made specifically for WP. [...] useronlineのスクリプトには多くのしかし、この1つのアウトが具体的にはWPのです。 Referrer Bouncer : Bounce referer spammers back to their own s [...] Referrerの警備員:スパマーに戻すには、自身の直帰のreferer秒[...]
May 4th, 2005 at 2:51 am 2005年5月4日は2:51アム
Hello,こんにちは、
I’d install this plugin and it’s activated, also I add referers url into referers.txt.このプラグインをインストールすると私の活性化、また私のreferers URLをreferers.txtに追加します。 But I stillしかし私にまだ
seeing the same spam referers in my stats!同じマークのreferersを見て私の統計情報です!
For example, in referers.txt I’ve “p(0)ker” but in my referers I see “http://www.p(0)ker.blabla.com.たとえば、 referers.txtで私は"人( 0 ) ker "しかし、私のreferers私"を参照しhttp://www.p ( 0 ) ker.blabla.comです。 (note: (0)=o). (注: ( 0 ) =または) 。
What’s wrong?何がおかしいのですか?
Thanks!!!ありがとう! ! !
May 4th, 2005 at 4:49 am 2005年5月4日は4:49アム
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.差込式前にダウンロードした場合には、こちらからダウンロードしてくださいとして致命的なエラーを使用するデフォルト以外の差込式(カスタマイズされたreferrerファイル)が発見されたと固定します。
May 6th, 2005 at 9:44 pm 2005年5月6日の午前3:44
[...] spambots. [...] spambots 。 It goes far beyond User-Agent and Referer, however.それだけにとどまらないユーザーエージェントとのreferer 、しかし。 3. 3 。 Recent Comments plugin 4.最近のコメント差込式4 。