[GH-ISSUE #93] Feature Request: Add Server Command to list all registered client endpoints. #51

Open
opened 2026-05-05 10:58:46 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @bmcgonag on GitHub (Apr 3, 2019).
Original GitHub issue: https://github.com/mmatczuk/go-http-tunnel/issues/93

As a go-http-tunnel administrator, I'd like to have a command line argument that would give me a list of the registered tunnel clients at that time, and their IP addresses (if possible), and any other statistics like time connected, etc.

Ex:

tunneld --liveClients

would return something like

Registered As                                 IP Address              Time Connected
---------------------------------------------------------------------------------------------
smarthome.mysupertunnel.com                   208.12.243.22           4 m 2 w 3 d 6 h 22 min
sprinklers.mysupertunnel.com                  208.12.243.22           4 m 2 w 3 d 5 h 43 min
gamestation.mysupertunnel.com                 128.54.177.191          2 w 1 d 22 h 17 min
superfluous.mysupertunnel.com                 98.245.32.7             1 h 22 min

Something like that.

Originally created by @bmcgonag on GitHub (Apr 3, 2019). Original GitHub issue: https://github.com/mmatczuk/go-http-tunnel/issues/93 As a go-http-tunnel administrator, I'd like to have a command line argument that would give me a list of the registered tunnel clients at that time, and their IP addresses (if possible), and any other statistics like time connected, etc. Ex: `tunneld --liveClients` would return something like ``` Registered As IP Address Time Connected --------------------------------------------------------------------------------------------- smarthome.mysupertunnel.com 208.12.243.22 4 m 2 w 3 d 6 h 22 min sprinklers.mysupertunnel.com 208.12.243.22 4 m 2 w 3 d 5 h 43 min gamestation.mysupertunnel.com 128.54.177.191 2 w 1 d 22 h 17 min superfluous.mysupertunnel.com 98.245.32.7 1 h 22 min ``` Something like that.
Author
Owner

@markusr commented on GitHub (Apr 16, 2019):

I think this should be implemented in different binary.
tunnel-cli --liveClients

similar to
mysqld for the database itself and mysql for the command line interface.

<!-- gh-comment-id:483772022 --> @markusr commented on GitHub (Apr 16, 2019): I think this should be implemented in different binary. ```tunnel-cli --liveClients``` similar to ```mysqld``` for the database itself and ```mysql``` for the command line interface.
Author
Owner

@bmcgonag commented on GitHub (May 19, 2019):

I like that idea @markusr . I could deal with a second binary for that.
Don't suppose there's a way to do this today?

<!-- gh-comment-id:493802494 --> @bmcgonag commented on GitHub (May 19, 2019): I like that idea @markusr . I could deal with a second binary for that. Don't suppose there's a way to do this today?
Sign in to join this conversation.
No labels
pull-request
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/go-http-tunnel#51
No description provided.