For regular spammers and sploggers, banning their IP address is a simple and effective way to get rid of them.を定期的にスパマーとsploggers 、禁止してIPアドレスは、単純で、効果的な方法を排除するのです。 I will describe three methods here with the simplest at the very end.私はここに記述する最も単純な3つの方法は、非常に終了します。 Let’s take a simple case study.簡単なケーススタディを考えてみましょう。 ntoolz.net has been copying my posts with an automated content creation tool and then blessing me with a pingback for his splog content! ntoolz.net自分の投稿をコピーされ、自動コンテンツ作成ツールと入力し、 Pingbackの祝福を私には彼のスプログコンテンツ! So I decided to ban him.だから彼を禁止することを決めた。


Method 1: Ban IP Using Firewall方法1 :禁止のIPを使用してファイアウォール

A simple nslookup revealed his IP address -単純なNslookupで明らかに彼のIPアドレス-

 $ nslookup ntoolz.com Server:         4.2.2.1 Address:        4.2.2.1#53  Non-authoritative answer: Name:   ntoolz.com Address: 38.113.185.202 $ Nslookupでntoolz.comサーバー: 4.2.2.1住所: 4.2.2.1 # 53以外の権威ある答:名: ntoolz.com住所: 38.113.185.202 

I can then use iptables to ban him - iptablesの使用を禁止するようにして彼-
iptables -A INPUT -s 75.126.153.164 -j DROP iptablesの-を入力-秒75.126.153.164 -無しドロップ

This bans his IP address from accessing my network.この禁止彼のマイネットワークからIPアドレスにアクセスします。 However after a reboot of my server this ban will go away.しかし私のサーバーを再起動した後、この禁止措置は帰れとはいえません。 For a permanent ban you will need to additionally add this command to your /etc/rc.local file.は、恒久的な禁止をさらに追加する必要があります。このコマンドをあなたの/ etc / rc.localファイルです。 This ensures that the ban is in effect even after a reboot of my server.これにより、使用禁止が効果も私のサーバーを再起動した後にします。
- Source源泉 .です。

Advantage:利点:
1. 1 。 Permanent ban恒久的な禁止
2. 2 。 Bans commenting as well as fetching postsコメントの投稿禁止するだけでなく取得
3. 3 。 Doesn’t require restarting the Apache server Apacheサーバを再起動する必要はありません

Dis-advantage:障がいのある利点:
1. 1 。 Bans him from viewing your blog which you may not want.彼があなたのブログを閲覧を禁止することはできません。します。
2. 2 。 More complicated to implement than the other methods described below.もっと複雑よりも、他の方法を実装する次のとおりです。 iptables is a dangerous beast. iptablesのは、危険な獣です。 If you make a mistake you may end up being blocked from your own server and trust me it isn’t very hard to do.間違いを作成する場合、これまでにブロックすることがありますから、独自のサーバーと信頼をメインではないこれを行うに非常に難しいです。
3. 3 。 Can be circumvented by using proxy server to post comments or fetch content.回避できるプロキシサーバーを使用してコンテンツを取得してコメントの投稿やです。

Method 2: Ban Using Apache Web Server方法2 :禁止のApache Webサーバを使用して

.htaccess 。 htaccessを

You can create / edit the .htaccess file in your web document root directory, to block these IP addresses from that directory and its sub-directories, as follows:することができます。の作成/編集して。 htaccessファイルをお客様のウェブドキュメントのルートディレクトリに、これらのIPアドレスをブロックするより、そのディレクトリとそのサブディレクトリは、以下のとおり:

 order allow,deny #One line per IP address, replace xxx.xxx.xxx.xxx with the IP address you want to ban deny from xxx.xxx.xxx.xxx deny from xxx.xxx.xxx.xxx allow from all注文できるように、 1つの行を否定する# 1 、 IPアドレス、 IPアドレスのxxx.xxx.xxx.xxxの置き換えを禁止するしたいから否定するよりxxx.xxx.xxx.xxxのxxx.xxx.xxx.xxxの許可を否定するすべての 

Advantage:利点:
1. 1 。 Permanent ban恒久的な禁止
2. 2 。 Bans commenting as well as fetching postsコメントの投稿禁止するだけでなく取得
3. 3 。 Simpler than IP banning and less dangerous以下のIPを禁止するとより単純で危険な
4. 4 。 Doesn’t require restarting HTTP server like httpd.conf method. HTTPサーバーを再起動する必要はありませんhttpd.confのようなメソッドを使用します。

Dis-advantage:障がいのある利点:
1. 1 。 Bans him from viewing your blog which you may not want.彼があなたのブログを閲覧を禁止することはできません。します。
3. 3 。 Can be circumvented by using proxy server to post comments or fetch content.回避できるプロキシサーバーを使用してコンテンツを取得してコメントの投稿やです。

httpd.conf httpd.confの

Same as above but you have to make the change in /etc/httpd/conf/httpd.conf file.しかし、上記と同じに変更する必要があるのは/ etc /のhttpd /研究会/ httpd.confファイルです。 Restart the server for the change to take effect.サーバーを再起動して、変更を有効にします。 This method is slightly more complex than changing .htaccess file but is more flexible and gives better performance.このメソッドは、もっと複雑なよりも若干変化しています。 htaccessファイルがより柔軟なより良いパフォーマンスを与えています。

Advantage:利点:
1. 1 。 Permanent ban恒久的な禁止
2. 2 。 Bans commenting as well as fetching postsコメントの投稿禁止するだけでなく取得
3. 3 。 Simpler than IP banning and less dangerous以下のIPを禁止するとより単純で危険な

Dis-advantage:障がいのある利点:
1. 1 。 Bans him from viewing your blog which you may not want.彼があなたのブログを閲覧を禁止することはできません。します。
3. 3 。 Can be circumvented by using proxy server to post comments or fetch content.回避できるプロキシサーバーを使用してコンテンツを取得してコメントの投稿やです。
4. 4 。 Requires restarting the Apache HTTPD serverサーバーは、 Apacheのhttpdの再起動が必要

Comment Guard Proコメントの警備隊のプロ

コメントの警備隊のプロ: IPアドレスを禁止する In 〜で Comment Guard Pro (WordPress plugin for comment spam protection)コメントの警備隊のプロ( WordPressの差込式のコメントはマーク無し) banning is a simple matter of checking the IP address of the offending comment and clicking on Update.禁止は、単純な問題の原因のIPアドレスをチェックして、コメントや更新プログラムをクリックしてください。 You can ban any number of IP addresses easily with this point-and-click interface.禁止することができます任意の数のIPアドレスを簡単にこのポイントアンドクリックのインターフェイスです。 Also if you have received multiple spams from a single IP address, you can delete all of them by clicking on Recheck Queue for Spam after you have blacklisted the IP address as described above.また、複数のスパムを受信した場合は、単一のIPアドレスから、削除することもできますをクリックして、それらのすべてのキューをマークした後にのIPアドレスをブラックリストに載って前述のようにします。

Note: You can use the interface to also ban by URL注:インターフェイスを使用することができますのURLも禁止され

Advantage:利点:
1. 1 。 Permanent ban as others恒久的な禁止として他の
2. 2 。 Bans commenting only and not viewing of posts禁止するだけではなくコメントの投稿を表示
3. 3 。 Simplest of all the options, user friendly and very easy to manage簡単なすべてのオプションは、ユーザーフレンドリーな、非常に簡単に管理
4. 4 。 Doesn’t require restarting the Apache server Apacheサーバを再起動する必要はありません
5. 5 。 Can ban by URL of the offending site.不愉快なことを禁止するサイトをURLを指定してください。 While IP address ban can be overcome by using proxies, you cannot overcome URL ban because advertising the URL is the ultimate objective of spammers.中のIPアドレスを禁止することによって克服さプロキシを使用して、 URLを禁止することはできません。克服するため、広告のURLは、スパマーの究極の目的です。
6. 6 。 Integrated with WordPress and works as WordPress plugin, so you can manage it completely from WordPress administration console WordPressの作品として統合され、差込式WordPressので、それを完全に管理することができます。 WordPressの管理コンソールから
7. 7 。 Doesn’t require any special access to server and works very well on shared hosting (with limited access rights) as well as high-end dedicated hosting.何か特別のアクセスをする必要はありませんサーバーとの作品、非常によく共有ホスティング(限定アクセス権)だけでなく、ハイエンド専用ホスティングです。

Dis-advantage:障がいのある利点:
1. 1 。 The plugin is not free, it has a one-time cost of 30$.差込式には自由がない、それには、 1回限りのコストを30ドルです。 However comes with lifetime free update and upgrades.しかし終身無料の更新プログラムやアップグレードを付属しています。 There are many more他にも多くの reasons to choose Comment Guard Pro警備上の理由からコメントを選択するプロ .です。 So I am not sure if that is a dis-advantage or advantage私はわからないので、この場合は障がいの優位性や優位性 : )