[GH-ISSUE #2318] 是否有ban掉多次登陆尝试失败ip的feature #1837

Closed
opened 2026-05-05 13:11:17 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @tcqiuyu on GitHub (Mar 20, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2318

最近发现我的主机经常被攻击,如下图
image

虽然好像并没有登陆成功,但是总是让人不放心,有没有功能可以支持尝试多少次登陆失败后把ip加入黑名单的功能?我找了一下好像没有找到,谢谢。

Originally created by @tcqiuyu on GitHub (Mar 20, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2318 最近发现我的主机经常被攻击,如下图 ![image](https://user-images.githubusercontent.com/6031166/111861792-f5122a80-898b-11eb-8d21-c19a80700339.png) 虽然好像并没有登陆成功,但是总是让人不放心,有没有功能可以支持尝试多少次登陆失败后把ip加入黑名单的功能?我找了一下好像没有找到,谢谢。
gitea-mirror 2026-05-05 13:11:17 -06:00
Author
Owner

@fatedier commented on GitHub (Mar 22, 2021):

可以尝试其他 linux 防火墙的工具,或者通过 服务端插件 来实现这个扩展能力

<!-- gh-comment-id:803737607 --> @fatedier commented on GitHub (Mar 22, 2021): 可以尝试其他 linux 防火墙的工具,或者通过 [服务端插件](https://gofrp.org/docs/features/common/server-plugin/) 来实现这个扩展能力
Author
Owner

@hehh2001 commented on GitHub (Mar 29, 2021):

@yaott2020-666 stcp使用的方便性又打折扣了,我的做法是服务端添加“allow_ports =” 参数, 只开放我转发要用的端口,并且服务端安装fail2ban来处理端口扫问题,这样能安静很多

<!-- gh-comment-id:809133834 --> @hehh2001 commented on GitHub (Mar 29, 2021): @yaott2020-666 stcp使用的方便性又打折扣了,我的做法是服务端添加“allow_ports =” 参数, 只开放我转发要用的端口,并且服务端安装fail2ban来处理端口扫问题,这样能安静很多
Author
Owner

@github-actions[bot] commented on GitHub (May 15, 2021):

Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.

<!-- gh-comment-id:841571465 --> @github-actions[bot] commented on GitHub (May 15, 2021): Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1837
No description provided.