forked from DevOps/deploy.stack
fix(etc): 修复 Fail2ban 双链配置冲突
- 为 Gitea SSH 的 input 和 forward action 设置独立名称 - 固定 sshd 过滤器的 publickey=invalid 语义 - 补充 jail 数量检查、action 重名检测和实测说明
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
# 旧版 publicKeyHandler() 打的 "Failed authentication attempt" 是「单次公钥尝试失败」,
|
||||
# 用户随后仍可能登录成功,属于误报,必须排除(官方文档也标了 DEPRECATED)。
|
||||
#
|
||||
# 已用 fail2ban-regex 1.1.0 实测(见 docs/fail2ban-verify.md):
|
||||
# 已用 fail2ban-regex 1.1.0 实测:
|
||||
# 命中:sshConnectionFailed() 的 IPv4 / 带端口 / 无端口 / IPv6[方括号] / docker json 整行
|
||||
# 排除:publicKeyHandler() 误报行、web 的 "invalid credentials" 行
|
||||
[Definition]
|
||||
|
||||
Reference in New Issue
Block a user