Title: WP fail2ban &#8211; Advanced Security
Author: invisnet
Published: <strong>2012年10月19日</strong>
Last modified: 2025年4月29日

---

プラグインを検索

![](https://ps.w.org/wp-fail2ban/assets/banner-772x250.png?rev=2814741)

![](https://ps.w.org/wp-fail2ban/assets/icon-256x256.png?rev=2814701)

# WP fail2ban – Advanced Security

 作者: [invisnet](https://profiles.wordpress.org/invisnet/)

[ダウンロード](https://downloads.wordpress.org/plugin/wp-fail2ban.5.4.1.zip)

 * [詳細](https://ja.wordpress.org/plugins/wp-fail2ban/#description)
 * [レビュー](https://ja.wordpress.org/plugins/wp-fail2ban/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/wp-fail2ban/#installation)
 * [開発](https://ja.wordpress.org/plugins/wp-fail2ban/#developers)

 [サポート](https://wordpress.org/support/plugin/wp-fail2ban/)

## 説明

[fail2ban](http://www.fail2ban.org/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
は、ブルート フォース攻撃を防ぐために実装できる最も簡単で効果的なセキュリティ対策
の1つです。

_WP fail2ban_ provides the link between WordPress and `fail2ban`:

    ```
    Oct 17 20:59:54 foobar wordpress(www.example.com)[1234]: Authentication failure for admin from 192.168.0.1
    Oct 17 21:00:00 foobar wordpress(www.example.com)[2345]: Accepted password for admin from 192.168.0.1
    ```

_WPf2b_ には、`wordpress-hard.conf`、`wordpress-soft.conf`、`wordpress-extra.conf`
という3つのfail2ban フィルターが搭載されています。これらは、即時の禁止 (hard) と
伝統的なより緩やかなアプローチ (soft) を分けて考えられるように設計されており、カスタム
設定のための追加ルールもあります。

#### 機能

 * **Failed Login Attempts**
    The very first feature of _WPf2b_: logging failed 
   login attempts so the IP can be banned. Just as useful today as it was then.
 * **Block User Enumeration**
    One of the most common precursors to a password-guessing
   brute force attack is [user enumeration](https://wp-fail2ban.com/features/block-user-enumeration/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1).
   _WPf2b_ can block it, stopping the attack before it starts.
 * **Block username logins**
    Sometimes it’s not possible to block user enumeration(
   for example, if your theme provides Author profiles). _WPf2b_ can require users
   to login with their email address instead of their username.
 * **Blocking Users**
    Anther of the older _WPf2b_ features: the login process can
   be aborted for specified usernames. Say a bot collected your site’s usernames
   before you blocked user enumeration. Once you’ve changed all the usernames, add
   the old ones to the list; anything using them will trigger a “hard” fail.
 * **Empty Username Login Attempts**
    Some bots will try to login without a username;
   harmless, but annoying. These attempts are logged as a “soft” fail so the more
   persistent bots will be banned.
 * **Spam**
    _WPf2b_ will log a spammer’s IP address as a “hard” fail when their
   comment is marked as spam; the Premium version will also log the IP when Akismet
   discards “obvious” spam.
 * **Attempted Comments**
    Some spam bots try to comment on everything, even things
   that aren’t there. _WPf2b_ detects these and logs them as a “hard” fail.
 * **Pingbacks**
    Pingbacks are a great feature, but they can be abused to attack
   the rest of the WWW. Rather than disable them completely, _WPf2b_ effectively
   rate-limits potential attackers by logging the IP address as a “soft” fail.
 * **Block XML‑RPC Requests** [Premium]
    The only reason most sites need XML‑RPC(
   other than Pingbacks) is for Jetpack; _WPf2b_ Premium can block XML‑RPC while
   allowing Jetpack and/or Pingbacks.
 * **Block Countries** [Premium]
    Sometimes you just need a bigger hammer – if you’re
   seeing nothing but attacks from some countries, block them!
 * **Cloudflare and Proxy Servers**
    _WPf2b_ will work with [Cloudflare](https://wp-fail2ban.com/features/cloudflare-and-proxy-servers/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1),
   and the Premium version will automatically update the list of Cloudflare IP addresses.
   You can also configure your own list of trusted proxies.
 * **新しい – syslog ダッシュボード ウィジェット**
    何が記録されているのか疑問に
   思ったことはありますか? 新しいダッシュボードウィジェットには、最後の5つのメッセージ
   が表示されます。Premium バージョンでは、攻撃の分析と防止に役立つ完全な履歴が保持
   されます。
 * **Site Health Check**
    _WPf2b_ will (try to) check that your `fail2ban` configuration
   is sane and that the filters are up to date; out-of-date filters are the primary
   cause of _WPf2b_ not working as well as it can. When did you last run the Site
   Health tool?
 * ** `mu-plugins` サポート**
    WPf2b は、必用プラグインとして簡単に構成できます –
   [設定](https://docs.wp-fail2ban.com/en/5.4/configuration.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1#mu-plugins-support)
   を見てください。
 * **API to Extend _WPf2b_**
    If your plugin can detect behaviour which should be
   blocked, why reinvent the wheel?
 * **Event Hooks** [Premium]
    Need to do something special when _WPf2b_ detects 
   a particular event? [There’s a hook for that](https://docs.wp-fail2ban.com/en/5.4/developers/events.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1).

#### Premium

 * Web Application Firewall (WAF)
 * Akismet support.
 * Block XML‑RPC while allowing Jetpack and/or Pingbacks.
 * Block Countries.
 * Auto-update Cloudflare IPs.
 * Event log.
 * Event hooks.

## インストール

 1. Plugin ディレクトリを介してインストールするか、プラグインディレクトリにアップロード
    します。
 2. WordPressのプラグインメニューよりプラグインを有効化します。
 3. 必要に応じて `wp-config.php` を編集 – [設定](https://docs.wp-fail2ban.com/en/5.4/configuration.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
    を参照してください。

## FAQ

### Does WP fail2ban replace fail2ban?

No. _WP fail2ban_ is an “integration” or “bridge” between WordPress and `fail2ban`.
It enables `fail2ban` to recognise WordPress-specific events by providing log entries
that `fail2ban` can monitor and act upon.

In other words, _WP fail2ban_ itself doesn’t directly ban IP addresses or manage
firewall rules; you must have `fail2ban` installed and correctly configured on your
server.

## 評価

![](https://secure.gravatar.com/avatar/cdf8961ddd461eef7ebba384f845301899219b074356ee29804443b0ee4b000c?
s=60&d=retro&r=g)

### 󠀁[SPAM](https://wordpress.org/support/topic/spam-286/)󠁿

 [Above All Media](https://profiles.wordpress.org/aboveallmedia/) 2025年8月21日

The plugin spams dashboard with the banner that cannot be dismissed and keeps reappearing.

![](https://secure.gravatar.com/avatar/23594bed6460c7957a5b34b3d0889575f0ec5102d58a3b827ce862182a8e1787?
s=60&d=retro&r=g)

### 󠀁[Credit Card Fraudsters](https://wordpress.org/support/topic/credit-card-fraudsters/)󠁿

 [aiwetir](https://profiles.wordpress.org/aiwetir/) 2025年4月28日

They never refunded me after my cancellation request, they charged me another month.
They don’t respond to my support emails. The free plugin works so poorly, you may
as well just learn to install Fail2ban from other online tutorials and you’ll have
much better success anyways

![](https://secure.gravatar.com/avatar/b58a3740399121b0b9d59d6af9a32151c6443292041b9ef66de98cf6ef0c0288?
s=60&d=retro&r=g)

### 󠀁[SPAM](https://wordpress.org/support/topic/spam-274/)󠁿

 [Gennady Kurushin](https://profiles.wordpress.org/hullukettu/) 2024年8月3日

The plugin spams dashboard with the banner that cannot be dismissed and keeps reappearing.

![](https://secure.gravatar.com/avatar/7e8bd5d7759c758aa29f673d93446a1e435f47698622a5ec3df5abe8fffcad1d?
s=60&d=retro&r=g)

### 󠀁[very annoying](https://wordpress.org/support/topic/very-annoying-8/)󠁿

 [brt](https://profiles.wordpress.org/brt/) 2024年7月26日

if you manage to set it up correctly, it does what you expect, but … creates an 
annoying warning in site-health if the blocklist addon is not installed, which is
not free, and it hides the fact that it is not free, until you have subscribed to
freemius, in my opinion this is really bad. the contained site-health-script checks
for /usr/bin/systemctl which is by default not within allowed paths for PHP on systems
using open_basedir restrictions, so it creates PHP warnings everytime the script
is accessed. the code looks quite bloated for such simple functionality. the plugin
needs to be configured by adding constants to your wp-config.php file, normal GUI-
configuration deactivated until you go premium.

![](https://secure.gravatar.com/avatar/40202dae6497f7981139494e666627ad827be668871d2c305901e8381fcb517f?
s=60&d=retro&r=g)

### 󠀁[Prevenire e meglio che curare](https://wordpress.org/support/topic/prevenire-e-meglio-che-curare-2/)󠁿

 [Mac Boris Perc](https://profiles.wordpress.org/percboris/) 2024年5月27日 1 reply

Prevention is better than cure.

![](https://secure.gravatar.com/avatar/d3ce3724bbea82776c765d0bc3e026fb22093f460cdfd800be3e84a3b1523a04?
s=60&d=retro&r=g)

### 󠀁[seamless](https://wordpress.org/support/topic/seamless-63/)󠁿

 [stixtsr](https://profiles.wordpress.org/stixtsr/) 2023年8月10日

seamless integration with gridpane. all you have to do is enable and read the gridpane
docs. thanks !

 [ 71件のレビューをすべて表示 ](https://wordpress.org/support/plugin/wp-fail2ban/reviews/)

## 貢献者と開発者

WP fail2ban – Advanced Security はオープンソースソフトウェアです。以下の人々がこの
プラグインに貢献しています。

貢献者

 *   [ invisnet ](https://profiles.wordpress.org/invisnet/)

“WP fail2ban – Advanced Security” は3ロケールに翻訳されています。 [翻訳者](https://translate.wordpress.org/projects/wp-plugins/wp-fail2ban/contributors)
のみなさん、翻訳へのご協力ありがとうございます。

[“WP fail2ban – Advanced Security” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/wp-fail2ban)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/wp-fail2ban/)するか、[SVN リポジトリ](https://plugins.svn.wordpress.org/wp-fail2ban/)
をチェックするか、[開発ログ](https://plugins.trac.wordpress.org/log/wp-fail2ban/)
を [RSS](https://plugins.trac.wordpress.org/log/wp-fail2ban/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 5.4.1-LTS

 * Fix compatibility for WordPress 6.8.
 * Fix incorrect dependency requiring PHP>=8.1. [Premium only]
 * Add license for Packagist.

#### 5.4.0-LTS

 * Add support for Composer. [Canonical only]
 * Add support for AspirePress Update. [Canonical only]
 * Add support for GitHub Updater. [Canonical only]
 * Improve i18n.
 * Fix harmless warning in Site Health filters check (h/t Rodolphe).
 * Freemius ライブラリを更新。

#### 5.3.4

 * Improve Site Health filter messages (h/t @yardstudio).
 * Freemius ライブラリを更新。

#### 5.3.3

 * Fix activation bug when `$wp_scripts` is uninitialised. [Premium only]
 * Fix world map dashboard widget. [Premium only]
 * Freemius ライブラリを更新。

#### 5.3.2

 * Drop Site Health checks for free add‑ons.

#### 5.3.1

 * Fix regression in plugin message registration.

#### 5.3.0

 * Add `WP_FAIL2BAN_SYSLOG_TAG_HOST` to simplify `fail2ban` configuration with `
   journald`.
 * Fix database upgrade when jQuery not loaded. [Premium only]
 * Freemius ライブラリを更新。

#### 5.2.2

 * Fix regression in Site Health when `exec` is disabled (h/t @ahardy42).
 * PHP 8.3: Fix harmless warning on About tab.
 * WAF: Add support for themes that update image size options (h/t Jerker Wredenmark).[
   Premium only]
 * Freemius ライブラリを更新。

#### 5.2.1

 * Fix bug in WAF when not logged in (h/t Rudi Diedrich). [Premium only]
 * Site Health: Add support for `open_basedir` (h/t Jaroslav Huba).
 * Freemius ライブラリを更新。

#### 5.2.0

 * WAF: Add new filter file for WAF events. [Premium only]
 * WAF: Add feature: prevent unauthorised user deletion. [Premium only].
 * Fix untrusted proxy message.
 * Work-around for WooCommerce bug causing double logging of password reset requests(
   h/t @anuja).
 * Site Health: Improve notifications.

#### 5.1.1

 * Freemius ライブラリを更新。

#### 5.1.0

 * **Web Application Firewall**. [Premium only]
 * Add PTR record lookup to event report. [Premium only]
 * Improve report performance. [Premium only]
 * Site Health: Check `fail2ban` is running.
 * Site Health: Obsolete Filters – Detect DigitalOcean Droplet and link to documentation.
 * Fix harmless warning (h/t @Yavor).
 * Fix warning caused by bug in Google Sitekit (h/t @DaWolfey).
 * Freemius ライブラリを更新。

#### 5.0.1

 * Tweak Site Health notifications.
 * Freemius ライブラリを更新。

#### 5.0.0 “Delphi”

 * **IPv6 support**.
 * **Akismet support**. [Premium only]
 * **Auto-update Cloudflare IPs**. [Premium only]
 * **Event hooks**. [Premium only]
 * **Performance improvements**:
    - Improve reports. [Premium only]
    - Cache IP lists. [Premium only]
    - Cache Plugin API message registration. [Premium only]
 * Site Health: Check installed filters against previous versions.
 * Moved “Authentication attempt for unknown user” to `wordpress-soft.conf`.
 * Moved “extra” Comment messages to `wordpress-soft.conf`.
 * Show date/time in local timezone (h/t @geniusmedia). [Premium only]
 * Deprecate `WP_FAIL2BAN_LOG_COMMENTS_EXTRA` and `WP_FAIL2BAN_COMMENT_EXTRA_LOG`;
   use `WP_FAIL2BAN_LOG_COMMENT_ATTEMPTS` and `WP_FAIL2BAN_COMMENT_ATTEMPT_LOG` 
   instead.
 * Freemius ライブラリを更新。

Please [read the notes](https://wp-fail2ban.com/blog/2023/01/16/upgrading-to-version-5/)**
before** upgrading.

#### 4.4.0.9

 * Preparation for v5: prevent auto-updating across major release.
 * Freemius ライブラリを更新。

#### 4.4.0.8

 * Back-port fix for `mu-plugins` activation.
 * Freemius ライブラリを更新。

#### 4.4.0.7

 * Back-port fix for type error in menu-fixer when viewing Event Log (h/t @geniusmedia).[
   Premium only]
 * Back-port fixes for event summaries. [Premium only]
 * Freemius ライブラリを更新。

#### 4.4.0.6

 * Fix initialisation error in event log. [Premium only]
 * Fix type error in event log when no events available. [Premium only]
 * Freemius ライブラリを更新。

#### 4.4.0.5

 * Fix type error on Remote IPs tab with no MaxMind database configured (h/t @Tobias‑
   Conrad). [Premium only]
 * Freemius ライブラリを更新。

#### 4.4.0.4

 * Fix warning with array of blocked users (h/t @Znuff).
 * Fix reports. [Premium only]

#### 4.4.0.3

 * Fix type error (h/t @brianshim).

#### 4.4.0.2

 * Add [`WP_FAIL2BAN_USE_AUTHPRIV`](https://docs.wp-fail2ban.com/en/4.4/defines/WP_FAIL2BAN_USE_AUTHPRIV.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)–
   a single place to switch to `LOG_AUTHPRIV` for systems without `LOG_AUTH`.
 * Add [`WP_FAIL2BAN_FREE_ONLY`](https://docs.wp-fail2ban.com/en/4.4/defines/WP_FAIL2BAN_FREE_ONLY.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1).
 * Add [`WP_FAIL2BAN_PLUGIN_LOG_OTHER`](https://docs.wp-fail2ban.com/en/4.4/defines/WP_FAIL2BAN_PLUGIN_LOG_OTHER.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   and [`WP_FAIL2BAN_PLUGIN_OTHER_LOG`](https://docs.wp-fail2ban.com/en/4.4/defines/WP_FAIL2BAN_PLUGIN_OTHER_LOG.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1).
 * Improve performance.
 * Moved cron event to update trusted Cloudflare IP ranges to the Cloudflare add-
   on. [Premium only]
 * Add support for Pingbacks while blocking XML‑RPC. [Premium only]
 * Freemius ライブラリを更新。

#### 4.3.2.2

 * Add cron event to update trusted Cloudflare IP ranges weekly. [Premium only]
 * Add cron event to update trusted Jetpack IP ranges weekly. [Premium only]
 * Add cron event to update MaxMind database weekly. [Premium only]
 * Workaround for missing `syslog` constants in Windows (h/t @dmarkowicz).
 * Clarify upgrade message on Last 5 Messages widget. [Free only]
 * Merge About and Status tabs. [Premium only]
 * Freemius ライブラリを更新。

#### 4.3.2.1

 * Add support for [WP fail2ban Blocklist](https://addons.wp-fail2ban.com/blocklist/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1).
 * Add new [Standard Configurations](https://github.com/wp-fail2ban/conf.d/).
 * Improve Help links.
 * Fix logging checkboxes [Premium only].
 * 最後のメッセージを無効にする間違った定数を修正 (h/t @kermina)。
 * 共同作成者が別のユーザーによる投稿をリストしようとしたときに、ユーザーの列挙を
   ブロックすることで誤検知を修正。
 * Fix index issue with ancient versions of MySQL.
 * 定義されているが空の無害な警告 `WP_FAIL2BAN_PROXIES` を修正 (h/t @stevegrunwell)。
 * 新しいブロック イベント クラスをバックポート。
 * Freemius ライブラリを更新。
 * Change to GPLv3 with additional terms as per Section 7.

#### 4.3.2.0

 * Add support for blocking by Country. [Premium only]
 * Add XML‑RPC blocking; allow trusted IPs and Jetpack (h/t @mhweb). [Premium only]

#### 4.3.0.9

 * 最後のメッセージを無効にする間違った定数を修正 (h/t @kermina)。
 * 共同作成者が別のユーザーによる投稿をリストしようとしたときに、ユーザーの列挙を
   ブロックすることで誤検知を修正。
 * MySQL の古いバージョンでのインデックスの問題を修正。[プレミアムのみ]
 * 定義されているが空の無害な警告 `WP_FAIL2BAN_PROXIES` を修正 (h/t @stevegrunwell)。
 * 新しいブロック イベント クラスをバックポート。
 * Freemius ライブラリを更新。

#### 4.3.0.8

 * Gutenberg 事前読み込み作成者リストによってトリガーされるユーザー列挙ブロックの
   回避策の問題。(h/t @brrrrrrrt)[WordPress のみ]

#### 4.3.0.7

 * `wp-config.php` に定数を含めることを可能にするリファクタリングが完了。(h/t @iCounsellor)
 * MaxMind のデータベースの更新を修正。[プレミアムのみ]

#### 4.3.0.6

 * ユーザーの列挙ブロックが有効になっている場合、エディタの下のロールの [投稿] ページ
   で [禁止エラーを修正します。[WordPress のみ]

#### 4.3.0.5

 * マルチサイトの空のユーザー名検出を修正。
 * 新しいマルチサイト インストールをアクティブ化する際の無害な警告を修正。
 * `functions.php` ファイルを含むディレクトリ内の CLI から実行されるスクリプトを
   介して `wp-load.php` が読み込まれる難解なエッジケースを修正。

#### 4.3.0.4 “Columbo”

 * 新しいダッシュボードウィジェットを追加: 最後の5つの `syslog` メッセージ。
 * 完全な[マルチサイト サポート](https://wp-fail2ban.com/features/multisite-networks/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を追加 。
 * [ユーザー名ログインブロック](https://wp-fail2ban.com/features/block-username-logins/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を追加 (電子メールでログインを強制)。
 * 空のユーザー名を使用してログイン試行用に [個別のログを](https://wp-fail2ban.com/features/empty-username-logging/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   追加します。
 * WordPress ブロックエディター (Gutenberg) との [ユーザー列挙ブロック](https://wp-fail2ban.com/features/block-user-enumeration/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   の互換性を向上。
 * PHP の最小バージョンを 5.6 に設定します。

#### 4.2.8

 * 新しい[サポートフォーラム](https://forums.invis.net/c/wp-fail2ban/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   にリンクを追加。
 * Gutenberg とのユーザー列挙の競合を修正 (h/t @dinghy)。
 * 通知の通知管理メニューを修正 (h/t @marioivangf)。
 * 無害な XDebug 通知を修正 (h/t @dinghy)。
 * Freemius ライブラリを更新。

#### 4.2.7.1

 * `oembed` を介してユーザーの列挙をブロックするときのエラー を修正 (h/t @wordpressfab)。

#### 4.2.7

 * REST を介してユーザーの列挙をブロックする場合のエラーを修正。
 * [設定] タブのボタンを修正。

#### 4.2.6

 * [リモート ツール](https://wp-fail2ban.com/add-ons/remote-tools/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   アドオンのサポートを追加。
 * 新しい ClassicPress セキュリティ ページのサポートを追加。
 * ユーザー列挙ブロックの改善。

#### 4.2.5.1

 * PHP < 7.0 でプレミアムアクティベーションの問題を修正。

#### 4.2.5

 * PHP 5.3 のサポートを正しく修正します。CentOS 6でテストされました。UI またはプレミアム
   機能をサポートしていません。
 * 管理領域から REST API または XMLRPC を呼び出す場合の `WP_FAIL2BAN_BLOCK_USER_ENUMERATION`
   の潜在的な問題を修正。

#### 4.2.4

 * ログイン失敗メッセージのフィルタを追加。
 * 管理領域からのスパムコメントのログ記録を修正。
 * プラグインページから設定リンクを修正。
 * Freemius ライブラリを更新

#### 4.2.3

 * いくつかのバージョンの PHP 7.x では `define()` が無視される問題を回避します。
 * 設定タブに設定メモを追加。
 * ドキュメントリンクを修正。

#### 4.2.2

 * 5.3 の互換性を修正。

#### 4.2.1

 * [`WP_FAIL2BAN_COMMENT_EXTRA_LOG`](https://docs.wp-fail2ban.com/en/4.2/defines/WP_FAIL2BAN_COMMENT_EXTRA_LOG.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   のサポートを完了。
 * Add support for 3rd-party plugins; see [Developers](https://docs.wp-fail2ban.com/en/4.2/developers.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1).
    - Add-on for [Contact Form 7](https://wordpress.org/plugins/wp-fail2ban-addon-contact-form-7/)(
      experimental).
    - [Gravity Forms](https://wordpress.org/plugins/wp-fail2ban-addon-gravity-forms/)
      用アドオン (実験的)。
 * パスワードが正しくない既知のユーザーのログを変更します。以前は不明なユーザーとして
   記録され、 `hard` フィルタによって一致しました (古いバージョンの WordPress の
   制限による)、現在は既知のユーザーとして記録され、 `soft` によって一致します。
 * ユーザー名として電子メールのバグ修正 – 正しく記録され、`hard` フィルターではなく、`
   soft` フィルターによって一致しました。
 * 無料/プレミアムの競合を防ぐためのコードでの回帰のバグ修正。

#### 4.2.0

 * リリースされていません。

#### 4.1.0

 * REST 認証用に個別のログを追加。
 * `mu-plugins` にプレインストールされた以前のバージョンとの競合を修正。[_WPf2b_は既にインストールされていますか ?](https://docs.wp-fail2ban.com/en/4.1/installation.html#is-wp-fail2ban-already-installed?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)。

#### 4.0.5

 * [`WP_FAIL2BAN_COMMENT_EXTRA_LOG`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_COMMENT_EXTRA_LOG.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を追加。
 * [`WP_FAIL2BAN_PINGBACK_ERROR_LOG`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_PINGBACK_ERROR_LOG.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を追加 (将来の機能)。
 * `WP_FAIL2BAN_LOG_SPAM` が `LOG_NOTICE` 使用するように変更。
 * `WP_FAIL2BAN_SPAM_LOG` を `LOG_AUTH` に変更。
 * `WP_FAIL2BAN_LOG_COMMENTS_EXTRA` イベントを、デフォルトで `LOG_NOTICE` を使用
   するように変更。
 * `mu-plugins` で 3.x との競合を修正。

#### 4.0.2

 * PHP 5.3 の互換性を修正。
 * `WP_FAIL2BAN_LOG_COMMENTS_EXTRA` のバグ修正。
 * `WP_FAIL2BAN_REMOTE_ADDR` 概要のバグ修正。

#### 4.0.1

 * Freemius 経由で追加機能を追加します。**これは完全にオプションです。** _WPf2b_
   は、ここに記載されている新機能を含め、以前と同様に動作します。
 * 設定の概要ページを追加 (設定 -> WP fail2ban)。
 * [`WP_FAIL2BAN_PASSWORD_REQUEST_LOG`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_PASSWORD_REQUEST_LOG.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を追加。
 * [`WP_FAIL2BAN_SPAM_LOG`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_SPAM_LOG.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を追加。
 * [`WP_FAIL2BAN_LOG_COMMENTS_EXTRA`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_LOG_COMMENTS_EXTRA.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を追加 – 次の投稿に対するコメントの試行に対するログ記録を有効にします:
    - not found,
    - コメントのために閉じ、
    - ゴミ箱で、
    - ドラフト、
    - パスワードで保護
 * REST API を使用してユーザーの列挙をブロック。

#### 4.0.0

 * リリースされていません。

#### 3.6.0

 * PHPDoc からコード内に[フィルタファイル](https://docs.wp-fail2ban.com/en/4.1/filters.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   が生成されます。これまでは、フィルターとコードが同期していないことが多々ありま
   したが（プログラマーのミス）、これはパターンとそれを発するコードを近づけること
   で解決するはずです。
 * [PHPUnit テスト](https://docs.wp-fail2ban.com/en/4.1/tests.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を追加。ほぼ100 % コードをカバー、適切にテストすることは非常に困難な [`WP_FAIL2BAN_PROXIES`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_PROXIES.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   例外を除いて。
 * [`wordpress-soft.conf`](https://docs.wp-fail2ban.com/en/4.1/filters.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1#wordpress-soft-conf)
   のバグ修正。
 * [`WP_FAIL2BAN_XMLRPC_LOG`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_XMLRPC_LOG.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を追加。
 * [`WP_FAIL2BAN_REMOTE_ADDR`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_REMOTE_ADDR.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を追加。
 * [`WP_FAIL2BAN_PROXIES`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_PROXIES.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   はPHP 7で IP の配列をサポートするようになりました。
 * すべてのドキュメントを [https://docs.wp-fail2ban.com/](https://docs.wp-fail2ban.com/?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   に移動。

#### 3.5.3

 * [`wordpress-hard.conf`](https://docs.wp-fail2ban.com/en/4.1/filters.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1#wordpress-hard-conf)
   のバグ修正。

#### 3.5.1

 * [`WP_FAIL2BAN_BLOCK_USER_ENUMERATION`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_BLOCK_USER_ENUMERATION.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   のためのバグ修正。

#### 3.5.0

 * [`WP_FAIL2BAN_OPENLOG_OPTIONS`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_OPENLOG_OPTIONS.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を追加。
 * [`WP_FAIL2BAN_LOG_COMMENTS`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_LOG_COMMENTS.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   と [`WP_FAIL2BAN_COMMENT_LOG`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_COMMENT_LOG.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を追加。
 * [`WP_FAIL2BAN_LOG_PASSWORD_REQUEST`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_LOG_PASSWORD_REQUEST.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を追加。
 * [`WP_FAIL2BAN_LOG_SPAM`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_LOG_SPAM.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を追加。
 * [`WP_FAIL2BAN_TRUNCATE_HOST`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_TRUNCATE_HOST.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を追加。
 * [`WP_FAIL2BAN_BLOCKED_USERS`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_BLOCKED_USERS.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   では、PHP 7 を使用してユーザーの配列をサポートしています。

#### 3.0.3

 * [`wordpress-hard.conf`](https://docs.wp-fail2ban.com/en/4.1/filters.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1#wordpress-hard-conf)
   内での正規表現を修正。

#### 3.0.2

 * XML-RPC 認証エラーの WP 4.5.x での二重ログの防止

#### 3.0.1

 * [`wordpress-hard.conf`](https://docs.wp-fail2ban.com/en/4.1/filters.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1#wordpress-hard-conf)
   内での正規表現を修正。

#### 3.0.0

 * [`WP_FAIL2BAN_SYSLOG_SHORT_TAG`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_SYSLOG_SHORT_TAG.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を追加。
 * [`WP_FAIL2BAN_HTTP_HOST`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_HTTP_HOST.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を追加。
 * XML-RPC 認証エラーをログに記録。
 * MU 展開のサポートを強化。

#### 2.3.2

 * [`WP_FAIL2BAN_BLOCKED_USERS`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_BLOCKED_USERS.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   バグ修正。

#### 2.3.0

 * _実験_ [`WP_FAIL2BAN_PROXIES`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_PROXIES.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   コードのバグ修正 (KyleCartmell に感謝)。

#### 2.2.1

 * [`WP_FAIL2BAN_BLOCKED_USERS`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_BLOCKED_USERS.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   の愚かな間違いを修正。

#### 2.2.0

 * カスタム認証ログは、[`WP_FAIL2BAN_AUTH_LOG`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_AUTH_LOG.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   と呼ばれるようになりました。
 * pingback のログ記録を追加。[`WP_FAIL2BAN_LOG_PINGBACKS`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_LOG_PINGBACKS.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を参照してください。
 * カスタムの pingback ログは、[`WP_FAIL2BAN_PINGBACK_LOG`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_PINGBACK_LOG.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   と呼ばれます 。

#### 2.1.1

 * マイナーなバグ修正。

#### 2.1.0

 * ユーザーの列挙をブロックするためのサポートを追加。[`WP_FAIL2BAN_BLOCK_USER_ENUMERATION`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_BLOCK_USER_ENUMERATION.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を参照してください。
 * CIDR 表記のサポートを [`WP_FAIL2BAN_PROXIES`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_PROXIES.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   で追加します。

#### 2.0.1

 * [`WP_FAIL2BAN_PROXIES`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_PROXIES.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   用_実験_コードのバグ修正。

#### 2.0.0

 * X-Forwarded-For ヘッダーの_実験的_なサポートを追加。[`WP_FAIL2BAN_PROXIES`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_PROXIES.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を参照してください。
 * 正規表現ベースのログインブロッキングの _実験的_ なサポートを追加。[`WP_FAIL2BAN_BLOCKED_USERS`](https://docs.wp-fail2ban.com/en/4.1/defines/WP_FAIL2BAN_BLOCKED_USERS.html?utm_source=wordpress.org&utm_medium=readme&utm_campaign=wp-fail2ban-premium-5.4.1)
   を参照してください。

#### 1.2.1

 * FAQ を更新。

#### 1.2

 * 無害な警告を修正。

#### 1.1

 * マイナーなコスメティックの更新。

#### 1.0

 * 最初のリリース。

## メタ

 *  バージョン **5.4.1**
 *  最終更新日 **1年前**
 *  有効インストール数 **70,000+**
 *  WordPress バージョン ** 4.2またはそれ以降 **
 *  検証済み最新バージョン: **6.8.5**
 *  PHP バージョン ** 7.4またはそれ以降 **
 *  言語
 * [Chinese (China)](https://cn.wordpress.org/plugins/wp-fail2ban/)、[English (Canada)](https://en-ca.wordpress.org/plugins/wp-fail2ban/)、
   [English (US)](https://wordpress.org/plugins/wp-fail2ban/)、[French (France)](https://fr.wordpress.org/plugins/wp-fail2ban/).
 *  [プラグインを翻訳](https://translate.wordpress.org/projects/wp-plugins/wp-fail2ban)
 * タグ
 * [Brute Force](https://ja.wordpress.org/plugins/tags/brute-force/)[fail2ban](https://ja.wordpress.org/plugins/tags/fail2ban/)
   [login](https://ja.wordpress.org/plugins/tags/login/)[security](https://ja.wordpress.org/plugins/tags/security/)
   [syslog](https://ja.wordpress.org/plugins/tags/syslog/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/wp-fail2ban/advanced/)

## 評価

 5つ星中4.2つ星

 *  [  51 5-星レビュー     ](https://wordpress.org/support/plugin/wp-fail2ban/reviews/?filter=5)
 *  [  4 4-星レビュー     ](https://wordpress.org/support/plugin/wp-fail2ban/reviews/?filter=4)
 *  [  2 3-星レビュー     ](https://wordpress.org/support/plugin/wp-fail2ban/reviews/?filter=3)
 *  [  4 2-星レビュー     ](https://wordpress.org/support/plugin/wp-fail2ban/reviews/?filter=2)
 *  [  10 1-星レビュー     ](https://wordpress.org/support/plugin/wp-fail2ban/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-fail2ban/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/wp-fail2ban/reviews/)

## 貢献者

 *   [ invisnet ](https://profiles.wordpress.org/invisnet/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/wp-fail2ban/)