mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1753] 连接的客户端较多的情况下,在服务端如何快速查询某个客户端所使用的端口? #1385
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#1385
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 @ghost on GitHub (Apr 14, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1753
默认客户端使用随机端口,管理端UI虽然很方便,但无法进行自动化,连接的客户端比较多的时候,每次都要登录管理端去查看,比较繁琐。
请问有什么办法能快速地查询某个客户端所使用的端口吗?比如API接口之类的。
谢谢
@xqzr commented on GitHub (Apr 15, 2020):
CTRL+F
@fatedier commented on GitHub (Apr 15, 2020):
Dashboard 本身就是通过 frps 的 API 接口查询代理信息,只是目前还不支持分页,数量太多的情况下性能不好,你可以自己调用这个 API 查询。只是这个 API 之前是为 Dashboard 设计的,也不是很规范,后续会提供更规范一些的 API。
@ghost commented on GitHub (Apr 15, 2020):
感谢您的回复,但我翻了下没找到相关API的文档,是否方便指个路?谢谢~
@fatedier commented on GitHub (Apr 15, 2020):
目前没有文档,没有正式对外暴露。如果需要可以自行阅读源码,或根据 dashboard 调用的接口获取相关信息。
@ghost commented on GitHub (Apr 15, 2020):
好的谢谢