mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #4449] [Feature Request] 客户端为何不显示visitors的结果? #3514
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#3514
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 @sunshe35 on GitHub (Sep 18, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4449
Describe the feature request
我在客户端有一个visitors配置,如下:
打开客户端的 loclahost:7402,其他类型都正常,就是visitors无法显示,实际结果是连接正常的。通过netstat可以查看端口已经启动。
为什么不搞个ui显示visitors的连接情况呢?比如说连接的状态,绑定的ip以及端口,毕竟客户端使用应该不涉及隐私和安全问题。
Describe alternatives you've considered
目前只能通过netstat等命令查看visitors端口是否启动。
Affected area
@superzjg commented on GitHub (Sep 21, 2024):
估计是因为 visitors 是连接的 frps,所以只在 frps 那边显示。
不过 frps 只在 Overview 显示一个 Client Counts 的计数变化,无法显示具体哪个代理的 visitors 正在访问,倒是可以改进一下。
@sunshe35 commented on GitHub (Sep 22, 2024):
visitors有绑定的ip 和port啊,主要需要了解以下信息。
这些在客户端应该都能有数据,而且对于本地来说,不存在隐私泄漏问题。
要不然每次都抓瞎,不知道咋回事儿。我要不断的测试端口,测试客户frp运行,测试stcp那一侧frp运行。
@superzjg commented on GitHub (Sep 22, 2024):
你没发现这些信息都会在 frps 的日志查看到,从目前的架构来看,visitors 连接的是 frps,而不是另一端的 frpc,所以 frpc 那边没有任何日志或信息显示。
我觉得可以改善 frps 的仪表盘,增加一些信息显示,而不是简单的计数。这样代码修改起来应该比较容易实现。
@github-actions[bot] commented on GitHub (Oct 14, 2024):
Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.