[WordPress] 外掛分享: Bottle

首頁外掛目錄 › Bottle
10+
安裝啟用
尚無評分
4 天前
最後更新
問題解決
WordPress 6.7+ PHP 7.4+ v0.2.2 上架:2026-03-12

內容簡介

Bottle 是一款用於減少伺服器負載的機器人限流外掛,透過檢查每個 HTTP 請求來識別並限制過量的機器人請求,確保網站對合法用戶的可用性。

【主要功能】
• 限制每個 IP 的會話數量
• 限制每個會話的請求頻率
• 限制每個 IP 的請求頻率
• 限制特定網站區域的請求
• 處理過多的 404 請求
• 提供 JavaScript 加密謎題驗證

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.2.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Bottle」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Bottle is a bot throttling plugin. It consists of a set of tools that can be used to reduce server load when excessive bot requests are made to a website.
It works by performing a variety of checks on each HTTP request made to WordPress, and throttling sessions or IPs when thresholds are exceeded. These include:

Too many sessions per IP. Since some bots don’t bother with cookies, Bottle sets a JWT session cookie for each request. If a single IP address creates too many new sessions within a given timeframe, it is likely a bot, and will be throttled.

Too many requests per session. Bottle calculates a request rate for each session. Bots that exceed that rate will be throttled.

Too many requests per IP. Bottle calculates a request rate per IP. For bots that don’t process cookies (and therefore sessions), this can throttle abusive IPs.

Overall request rate. Bottle can throttle specific sections of a website that are being abused by bots. (For instance, the courses catalog.) This is useful when a large website is being scraped by a bot network with rotating IPs.

Excessive 404s. If bots are scanning a website, or are misconfigured, excessive 404s can be time-consuming for WordPress to process. Bottle can either throttle all 404 requests, or can block 404s for static files (i.e. images) only.

When a client is throttled, Bottle can outright throttle it with a 429 response, or can serve a JavaScript-based cryptographic puzzle. If a client is legitimate, it will automatically compute the puzzle’s solution and submit it to the server for verification. (No user input is required.) After it has proven its human-ness, Bottle will permit that user entry to the site. At the moment, some bots, but not all, will solve these puzzles.
When a throttle condition is reached, Bottle terminates WordPress processing, which substantially reduces server load when under attack. Throttles end automatically at the end of their respective measurement windows.
Bottle is not a firewall and will not block or sanitize malicious attacks. However, since such attacks are typically performed in large quantities, Bottle can be effective at slowing such attacks and reducing server load, keeping the website operational for legitimate users.
Overall, Bottle is a set of tools designed to reduce server load with minimal disruption to real users.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon