跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

IP Blacklist for Cloudflare

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

IP Blacklist for Cloudflare

作者:Matt Miller
下载
  • 详情
  • 评价
  • 开发进展
支持

描述

Cloudflare provides security and optimization services for websites all around the internet. WordPress sites are often attacked by bots or hackers and, while Cloudflare has preset firewall rules to help, it doesn’t always filter out all malicious activity.

Cloudflare IP Blacklist allows WordPress admins to add a list of prohibited usernames and if someone attempts to log in with one of these usernames, this users IP address is automatically added to the Cloudflare blacklist. By doing this, the next time this user attempts to load the site, they will be blocked by Cloudflare before their requests get to your site’s server. Add an extra layer of security today to your site!

** This plugin relies on the use of Cloudflare, a third-party service that increases security and performance for web sites and services across the internet. For more information, visit the Cloudflare website and their privacy policy. This plugin is not officially endorsed, built or maintained by the Cloudflare team; rather, we are a development company that uses their services every day! **

Localizations

This plugin is available in the following languages:

  • Albanian (Shqip)
  • Arabic (العربية)
  • Armenian (Հայերեն)
  • Basque (Euskara)
  • Bengali (বাংলা)
  • Bulgarian (Български)
  • Catalan (Català)
  • Chinese Simplified (简体中文)
  • Croatian (Hrvatski)
  • Czech (Čeština)
  • Danish (Dansk)
  • Dutch (Nederlands)
  • Estonian (Eesti)
  • Finnish (Suomi)
  • French (Français)
  • Galician (Galego)
  • Georgian (ქართული)
  • German (Deutsch)
  • Greek (Ελληνικά)
  • Hebrew (עברית)
  • Hindi (हिन्दी)
  • Hungarian (Magyar)
  • Indonesian (Bahasa Indonesia)
  • Irish (Gaeilge)
  • Italian (Italiano)
  • Japanese (日本語)
  • Korean (한국어)
  • Latvian (Latviešu)
  • Lithuanian (Lietuvių)
  • Macedonian (Македонски)
  • Norwegian (Norsk)
  • Persian (فارسی)
  • Persian – Afghanistan (دری)
  • Polish (Polski)
  • Portuguese – Brazil (Português do Brasil)
  • Portuguese – Portugal (Português)
  • Romanian (Română)
  • Russian (Русский)
  • Serbian (Српски)
  • Slovak (Slovenčina)
  • Slovenian (Slovenščina)
  • Spanish (Español)
  • Swedish (Svenska)
  • Tamil (தமிழ்)
  • Thai (ไทย)
  • Turkish (Türkçe)
  • Ukrainian (Українська)
  • Urdu (اردو)
  • Vietnamese (Tiếng Việt)
  • Welsh (Cymraeg)

屏幕截图

常见问题

How do I set up my Cloudflare API credentials?

Go to Settings > Cloudflare IP Blacklist in your WordPress admin. You can authenticate using either a scoped API Token (recommended) or your Global API Key (legacy). For API Tokens, create one in your Cloudflare dashboard with the “Account > Account Firewall Access Rules > Edit” permission.

What happens when someone tries to log in with a banned username?

Their IP address is automatically added to your Cloudflare firewall block list. On their next visit, Cloudflare blocks them before the request ever reaches your server, saving your server resources.

Can I use an API Token instead of the Global API Key?

Yes! As of version 1.0.5, scoped API Tokens are fully supported and recommended over the Global API Key. Create a token in your Cloudflare dashboard with the required firewall permissions.

What PHP and WordPress versions are supported?

The plugin requires PHP 8.1 or higher and has been tested up to WordPress 6.9.1.

What languages are supported?

The plugin is available in 30 languages with more being added regularly. We are working toward supporting 50 languages total!

评价

此插件暂无评价。

贡献者及开发者

「IP Blacklist for Cloudflare」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Matt Miller
  • mikemm01

帮助将「IP Blacklist for Cloudflare」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.2.2

  • Fixed text domain mismatch: updated all i18n calls to use correct slug ip-blacklist-for-cloudflare
  • Renamed translation files to match correct text domain
  • Added ABSPATH checks to ReviewNotice.php and SiteSettingsView.php
  • Fixed unescaped output in SiteSettingsView.php (printf calls now use wp_kses_post + numbered placeholders)
  • Removed deprecated load_plugin_textdomain() call (WordPress handles this since 4.6)
  • Replaced parse_url() with wp_parse_url() in Helpers.php
  • Updated “Tested up to” to 6.9

1.2.1

  • Added GPL license declaration to plugin header
  • Updated Author URI
  • Added direct file access protection to all PHP files
  • Improved output escaping and input sanitization
  • Removed non-production files from plugin directory

1.2.0

  • Added translations for 50 languages
  • Added POT translation template file
  • Added opt-in data cleanup on plugin deletion
  • Added Settings link on Plugins page
  • Updated FAQ section
  • Updated readme with complete language list

1.1.1

  • Added translations for Russian, Polish, Dutch, Turkish, and Swedish
  • Updated localization section in readme

1.1.0

  • Added Chinese Simplified (zh_CN) translation

1.0.9

  • Added Japanese (ja) translation

1.0.8

  • Tested up to WordPress 6.9.1

1.0.7

  • Added dismissible review prompt notice after 14 days of usage

1.0.6

  • Added translations for Spanish, French, German, Portuguese (Brazilian), and Italian

1.0.5

  • Added support for scoped API tokens as an alternative to Global API Key
  • Added connected state UI with credential status bar and masked credential preview
  • Added Disconnect action to easily switch authentication methods
  • Added internationalization (i18n) support for all user-facing strings
  • Labeled Global API Key as Legacy, recommending API Token for new installs
  • Added required Cloudflare token permissions in API Token field description

1.0.4

  • Added output escaping to settings page
  • Scoped nonce verification to plugin settings page only
  • Removed unnecessary error suppression on nonce verification

1.0.3

  • Improved setup instructions for Cloudflare API credentials

1.0.2

  • Compatibility updates for WordPress 6.9 and PHP 8.1+
  • Fixed PHP 8.2 dynamic property deprecation warnings

1.0.1

  • Initial public release

额外信息

  • 版本 1.2.2
  • 最后更新:4 月前
  • 活跃安装数量 20+
  • 已测试的最高版本为 6.9.4
  • PHP 版本 8.1 或更高版本
  • 语言
    English (US)
  • 标签
    loginpasswordpasswordsprofilesecurity
  • 高级视图

评级

尚未提交反馈。

Your review

查看全部评论

贡献者

  • Matt Miller
  • mikemm01

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.