Linux 软件免费装
Banner图

PSB Bot Traffic Controller

开发者 paulborile
更新时间 2026年8月29日 18:34
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

security bots firewall ai crawlers rate limiting

下载

1.0.3 1.0.4 1.0.2

详情介绍:

PSB Bot Traffic Controller sits in front of your WordPress site and classifies incoming traffic into five bot categories:
  1. AI training bots
  2. AI assistants
  3. Autonomous AI agents
  4. Search engine crawlers
  5. Scraping agents
Each category can be configured independently to block (HTTP 403), rate-limit (HTTP 429 once a configurable per-hour threshold is exceeded), or allow traffic. A global safety-net cap also applies to all detected bot traffic regardless of per-category policy. Detection runs via a free, zero-dependency regex/User-Agent pattern engine, curated from third-party bot-pattern data (see Credits below). For performance, bot interception runs as early as possible via a small mu-plugin installed automatically into wp-content/mu-plugins/ — this avoids the cost of a full WordPress bootstrap for traffic that ends up being blocked.

安装:

  1. Upload the plugin zip via Plugins > Add New > Upload Plugin, or extract it into wp-content/plugins/psb-bot-traffic-controller/.
  2. Activate the plugin. This installs a small companion file into wp-content/mu-plugins/ (WordPress's "must-use plugin" mechanism) that performs early bot interception.
  3. Configure per-category policy under Settings > PSB Bot Traffic Controller.

屏幕截图:

  • Dashboard — mu-plugin install/health status, persistent object cache detection, bot

常见问题:

Does this replace a WAF or CDN-level bot protection?

No — PSB Bot Traffic Controller runs inside WordPress (or, for the mu-plugin path, as early in WordPress's own bootstrap as possible) and cannot intercept traffic before it reaches your web server. It complements, rather than replaces, edge-level protection.

What happens if the mu-plugin file can't be written on activation?

An admin notice is shown with the filesystem error. The plugin still activates, but early interception won't run until the mu-plugin is successfully installed (retry by deactivating/reactivating, or check file permissions on wp-content/mu-plugins/).

How do I reset rate-limit counters while testing?

Add define( 'PSB_BTC_DEBUG', true ); to wp-config.php on a staging/test site. This enables a rotating-token reset URL shown on the Dashboard (valid for a few hours at a time, then automatically expires). It is disabled by default and should never be enabled on a production site.

更新日志:

1.0.4 1.0.3 1.0.2 1.0.1 1.0.0 0.4.1 0.4.0 0.3.2 0.3.1 0.3.0 0.2.1 0.2.0 0.1.1 0.1.0