| 开发者 | rafaelminuesa |
|---|---|
| 更新时间 | 2026年12月2日 07:44 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.2 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
X-Forwarded-For from an ordinary client is ignored..env and other dot-files, copies of PHP files, configuration and log files, backups and dumps, other applications' admin paths and .php files that do not exist. Files your web server serves itself never reach it.wp bot-storm-radar replay --gate shows what would have been refused in your access logs before you switch bans on.bot-storm-radar folder to /wp-content/plugins/, or install the plugin from the Plugins screen.wp bot-storm-radar replay --gate.It detects the swarm and tells you which kinds of request it makes. Blocking it happens in front of WordPress, and the right place depends on what the swarm asks for.
Address bans start in observe mode. An address that would have been banned is listed on the Bans tab with the requests that caused it, and nobody is refused. When the list looks right, switch to enforce on the Settings tab.
Administrators, for a day after they last used wp-admin, verified search bots, Cloudflare and declared proxies, and the addresses on your never-ban list are never banned. Put your own address on the never-ban list if you may stay away from wp-admin longer. An address that claims to be a search bot is verified before anything happens to it; while the Search bot check is off, an address claiming to be Googlebot, Bingbot, Applebot or Yandex is never banned.
Rename or delete the bot-storm-radar folder in wp-content/plugins/ by SFTP or in your host's file manager. WordPress then stops loading the plugin, and nothing is refused.
Yes. Cloudflare is recognized by its published address ranges. Another proxy has to be declared on the Settings tab, and the plugin tells you when it sees one that is not declared.
No, but a persistent object cache (Redis, Memcached) or APCu is strongly recommended. Without one the counters fall back to transients in the database, and the Radar screen warns about it.
The pages answered without a cache header the plugin knows, or did not answer at all. A cache may still be there: some do not announce themselves, and a request from your own server may not pass through your CDN. It is not a fault, and the plugin never reports "not cached" on that evidence. Add your own cache's header with the botstormradar_cache_check_readers filter.
No. Settings, bans, minute history and the refusal rules are stored in the database.
A swarm rarely visits one site. Each site sees only its own slice of it, a few hundred or a few thousand addresses that make one request each, and from one site alone it is hard to tell a swarm from a busy hour. Reports from many sites show storms arriving in the same minutes with the same shape: how fast each rose, how many addresses and networks its peak minute had, which kinds of request it made, how long it lasted and how it ended. ProWoos uses that to choose the weights of the storm score and the default thresholds of later versions from real storms. The thresholds stored on your site stay as they are; new defaults apply to new installs. A later version can only be checked against storms that were reported. A site that sends reports makes sure that the kind of storm it receives, on its kind of site and hosting, is among them. What a report cannot do is name an attacker. It holds numbers about a storm and never an address, a network or a user agent, so nothing in it identifies or blocks a visitor. It does not hold your site's address or name either; the request that carries it shows the service your server's IP address, as any request does. The reports are off unless you switch them on; External services lists everything one holds.
No. It sets no cookies, and no visitor's address, user agent or URL is sent to the plugin's author or any other service. The usage reports, which are off unless you switch them on, hold aggregate figures, settings and versions, never a visitor's address or user agent (see External services). The only lookups that involve a visitor's address are the DNS checks of visitors that claim to be search bots, which run only if you switch them on (see External services). To tell real browsers from bots, every front-end page asks your own site for a 1-pixel image and runs one line of JavaScript that requests it once more; both requests only add to the counts of the current minute. Visitor addresses are kept only as long as the detection needs them: per-minute counters expire after 25 minutes, and the minute history of the last 25 hours keeps totals plus the busiest addresses of each minute (at most 20, each with 10 or more requests in that minute). An address that tripped a ban is stored with the requests that caused it (paths and user agent) until 30 days after its ban ended, the list of would-be bans keeps the latest 200 addresses, an address claiming to be a search bot waits at most a day for its check, and the addresses banned in the last hour are kept for the digest mail until the next ban replaces them. Administrator addresses are remembered for a day so they are never banned, search-bot checks for a day, and a suspected proxy address until you trust or dismiss it. Uninstalling the plugin deletes all of it.
botstormradar_storm_ended, fired when a storm is back to calm.