內容簡介
此外掛在登入失敗時發送「HTTP/1.1 403 Forbidden」標頭,而非 WordPress 預設的「HTTP/1.1 200 OK」標頭。這是一個非常簡單的外掛,只做這一件事,不多也不少。
此外掛的目的是提供一種方式,讓外部工具(如 fail2ban)得知登入失敗的訊息,例如以防止防火牆層面的暴力攻擊。
為公共領域所使用。
使用 PHP 5.3 的匿名函式,並且無法在早期版本的 PHP 上運作。
外掛標籤
開發者團隊
② 後台搜尋「HTTP/1.1 403 Forbidden header on a failed login」→ 直接安裝(推薦)
原文外掛簡介
Send an “HTTP/1.1 403 Forbidden” header on a failed login instead of “HTTP/1.1 200 OK”, which is the WordPress default header on failed login. This is a tremendously simple plugin that does only that and absolutely nothing else.
The purpose of this plugin is to provide a way to allow external tools like fail2ban to get a message of a failed login e.g. to prevent a brute-force attack on a firewall level.
For the public domain.
Uses PHP5.3 anonymous functions and will not work on earlier versions of PHP
