[GH-ISSUE #4347] [Feature Request] 希望能在 dashboard 中显示客户端的连接ip #3432

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

Originally created by @raydoom on GitHub (Jul 21, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4347

Describe the feature request

希望能在 dashboard 中显示客户端的连接ip
从frps的日志中可以看到,每个客户端连接上来之后,会有一个 id,例如下面日志中的 [b2e6f870e2cf91da] , 后面创建的端口代理 test-tcp 对用的端口号 17541 都会和这个 id 有关联,说明可以拿到每个Proxy的来源ip,udp应该是类似的,希望能把这个ip显示在dashboard界面,作为一列

2024-07-20 01:58:09.908 [I] [server/service.go:575] [b2e6f870e2cf91da] client login info: ip [36.142.xxx.xxx:12242] version [0.59.0] hostname [] os [linux] arch [amd64]
2024-07-20 01:58:09.957 [I] [proxy/tcp.go:82] [b2e6f870e2cf91da] [test-tcp] tcp proxy listen port [17541]
2024-07-20 01:58:09.957 [I] [server/control.go:401] [b2e6f870e2cf91da] new proxy [test-tcp] type [tcp] success

Describe alternatives you've considered

No response

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @raydoom on GitHub (Jul 21, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4347 ### Describe the feature request 希望能在 dashboard 中显示客户端的连接ip 从frps的日志中可以看到,每个客户端连接上来之后,会有一个 id,例如下面日志中的 [b2e6f870e2cf91da] , 后面创建的端口代理 test-tcp 对用的端口号 17541 都会和这个 id 有关联,说明可以拿到每个Proxy的来源ip,udp应该是类似的,希望能把这个ip显示在dashboard界面,作为一列 ``` 2024-07-20 01:58:09.908 [I] [server/service.go:575] [b2e6f870e2cf91da] client login info: ip [36.142.xxx.xxx:12242] version [0.59.0] hostname [] os [linux] arch [amd64] 2024-07-20 01:58:09.957 [I] [proxy/tcp.go:82] [b2e6f870e2cf91da] [test-tcp] tcp proxy listen port [17541] 2024-07-20 01:58:09.957 [I] [server/control.go:401] [b2e6f870e2cf91da] new proxy [test-tcp] type [tcp] success ``` ### Describe alternatives you've considered _No response_ ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@wuai1024 commented on GitHub (Jul 24, 2024):

这个不错

<!-- gh-comment-id:2246776337 --> @wuai1024 commented on GitHub (Jul 24, 2024): 这个不错
Author
Owner

@fatedier commented on GitHub (Jul 31, 2024):

Duplicate of https://github.com/fatedier/frp/issues/3991

<!-- gh-comment-id:2259974195 --> @fatedier commented on GitHub (Jul 31, 2024): Duplicate of https://github.com/fatedier/frp/issues/3991
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#3432
No description provided.