[WordPress] 外掛分享: Birim Login Lock – Limit Login Attempts & Two-Factor

首頁 › 外掛目錄 › Birim Login Lock – Limit Login Attempts & Two-Factor
WordPress 外掛 Birim Login Lock – Limit Login Attempts & Two-Factor 的封面圖片
全新外掛
安裝啟用
—
尚無評分
5 天前
最後更新
—
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.1 上架:2026-11-24

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Birim Login Lock – Limit Login Attempts & Two-Factor」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Limit login attempts and add two-factor sign-in in one small plugin, with no cloud service, no upsell notices and no emails unless you ask for them. A maintained replacement for Limit Login Attempts, with one-click settings import.
Bots try thousands of passwords against wp-login.php and XML-RPC every day. Birim Login Lock counts failed sign-ins and locks the address out before a password is ever checked again.
Limit login attempts

Every way in: the login form, WooCommerce and other wp_signon() forms, XML-RPC and application passwords.
Lockouts that escalate: 4 failures lock an address out for 20 minutes; the 4th lockout in 24 hours lasts 24 hours. Same defaults as Limit Login Attempts, all adjustable.
Checked before the password: a locked-out address is refused without checking the password, even if it is right.
One message for every wrong attempt: the error never says whether the username or the password was wrong.
Allowlist and blocklist for IPs and ranges (CIDR, IPv4 and IPv6). Saving never blocklists your own address.
Blocked usernames: anyone who tries admin (or any name you list) is locked out at once. Names of real accounts are refused.
Password reset limit: 3 requests per hour per address and per user, so nobody can flood your users’ inboxes.
IPv6 done right: addresses are counted per /64 network, so an attacker cannot rotate through addresses to reset the count.

The right visitor IP
Many login limiters see every visitor as one address behind Cloudflare or a host proxy and lock everyone out, or trust an X-Forwarded-For header that anyone can fake.

Direct (default): the connection’s own address.
Cloudflare: reads CF-Connecting-IP, but only on requests that really come from Cloudflare’s published ranges.
Other proxy: reads the header you name, but only on requests from the proxy addresses you list.
The Settings screen shows your IP as the plugin sees it and suggests a mode if your site looks like it is behind a proxy.

Free two-factor sign-in

Authenticator app (Google Authenticator, Microsoft Authenticator, 1Password, Bitwarden and any other TOTP app): scan a QR code or type the key.
Codes by email, for people without an app.
10 recovery codes, each usable once, shown once, with a download link.
Require it for roles you choose: users without a method set one up right after their password. No account can skip it.
For every user, free: each person turns it on under Users > Profile. Administrators can reset it for someone who lost their phone.
XML-RPC cannot ask for a code, so account passwords of two-factor users are refused there (on by default). Application passwords keep working.

Protection for a username attacked from many IPs
When one username gets 20 failed sign-ins from 3 or more addresses in an hour, a browser that has not signed in as that user before also needs a code from the user’s email for the next hour. Browsers the user signed in from before are not affected. The attack gets nothing, and the real user is never locked out.
Moving from Limit Login Attempts
Settings > Login Lock finds the settings of Limit Login Attempts (1.x and 2.x) and Limit Login Attempts Reloaded. It shows exactly what will change (limits, lockout times, allowlist, blocklist, blocked usernames, Cloudflare) and what is not imported, and then offers to deactivate the old plugin, because two limiters count every failure twice.
Screens

Lockouts: who is locked out now, with Unlock and Unlock and allowlist, plus the top IPs and usernames of the last 24 hours.
Log: every failed sign-in, lockout and password reset request, filterable by IP, username and result. Kept 30 days by default.
Settings: limits, visitor IP, lists, emails and two-factor rules.

Quiet by default
No emails unless you turn them on: an alert when an administrator’s username is attacked, and a weekly summary. No dashboard widget, no review requests, no “attack” banners.
Lightweight
Two small tables, indexed queries, nothing growing in wp_options. No external requests, no tracking, no ads. Works on PHP 7.4 and up.
Third-party code
QR codes are drawn in the browser by QR Code Generator for JavaScript 2.0.4 by Kazuhiko Arase (MIT license), included unmodified as assets/qrcode.js. Source: https://github.com/kazuhikoarase/qrcode-generator

延伸相關外掛

文章
Filter
Mastodon