mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3903] Get real ip in 'ssh service' by 'frpc' #3096
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3096
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @youhuiji on GitHub (Dec 29, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3903
Bug Description
What should I do to get the real ip via frpc, because I see log files of people trying to burst my ssh service, but luckily I have authorized_key logon turned on and password verification turned off. I want to get the real ip and then automatically blacklist these illegal ip.
So how do I do this?
frpc Version
0.48
frps Version
0.48
System Architecture
linux/amd64
Configurations
Get real ip in 'ssh service' by 'frpc'
Logs
No response
Steps to reproduce
...
Affected area
@superzjg commented on GitHub (Dec 29, 2023):
https://gofrp.org/zh-cn/docs/features/common/realip/
ps. In your v0.48, you should use the old reference.
https://github.com/fatedier/frp/blob/dev/conf/legacy/frpc_legacy_full.ini#L249-L259
@github-actions[bot] commented on GitHub (Jan 25, 2024):
Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
@AlexCai26 commented on GitHub (Jan 2, 2025):
@superzjg
According to the link, i tried the proxy config block below:
The last line leads to the errors below when trying to connect the proxy:
Could you please provide some advises on this ?
@superzjg commented on GitHub (Jan 3, 2025):
Local services are required to support the Proxy Protocol protocol, such as nginx.
@xZinio commented on GitHub (Jan 21, 2025):
So is there no way to make this work?