[GH-ISSUE #683] ssh端口被攻击 #536

Closed
opened 2026-05-05 12:20:58 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @tl0rty2q on GitHub (Apr 4, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/683

映射在服务器的SSH端口被攻击,希望能够记录连接ssh的IP地址以及http的IP地址,以方便采用iptables封禁IP

Originally created by @tl0rty2q on GitHub (Apr 4, 2018). Original GitHub issue: https://github.com/fatedier/frp/issues/683 映射在服务器的SSH端口被攻击,希望能够记录连接ssh的IP地址以及http的IP地址,以方便采用iptables封禁IP
Author
Owner

@fatedier commented on GitHub (Apr 4, 2018):

这些 case 和 frp 本身无关,可以考虑结合其他的方式去避免或解决此类问题。

<!-- gh-comment-id:378462336 --> @fatedier commented on GitHub (Apr 4, 2018): 这些 case 和 frp 本身无关,可以考虑结合其他的方式去避免或解决此类问题。
Author
Owner

@messyidea commented on GitHub (Jun 13, 2018):

今天才发现,内网的端口映射到外网后,外网尝试通过ssh登录在/var/log/auth.log中记录的登录地址是127.0.0.1,直接导致fail2ban成为了摆设。看来只能强制秘钥登陆了。。

<!-- gh-comment-id:396806852 --> @messyidea commented on GitHub (Jun 13, 2018): 今天才发现,内网的端口映射到外网后,外网尝试通过ssh登录在/var/log/auth.log中记录的登录地址是127.0.0.1,直接导致fail2ban成为了摆设。看来只能强制秘钥登陆了。。
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#536
No description provided.