Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add Server Command to list all registered client endpoints. #93

Open
bmcgonag opened this issue Apr 3, 2019 · 2 comments

Comments

@bmcgonag
Copy link
Contributor

bmcgonag commented Apr 3, 2019

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.

@markusr
Copy link

markusr commented 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.

@bmcgonag
Copy link
Contributor Author

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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants