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: Retrieve stats from WT-EXIT #21

Open
SkyperTHC opened this issue Jun 12, 2023 · 4 comments
Open

Feature request: Retrieve stats from WT-EXIT #21

SkyperTHC opened this issue Jun 12, 2023 · 4 comments
Labels
feature request New feature or request

Comments

@SkyperTHC
Copy link

A REST-API call from the origin host to the WT-EXIT to retrieve information/stats about the WT-EXIT.

curl http://172.16.0.1/info

Info/Stats may include

  1. Configured IP ranges of all interfaces on the WT-EXIT
  2. Uptime / Load / Users
@luker983 luker983 added the feature request New feature or request label Jun 26, 2023
@luker983
Copy link
Collaborator

luker983 commented Jul 6, 2023

Do you want information about the Wiretap interfaces/devices? Or the host interfaces/uptime/load/users?

Wiretap statistics are fine, but I'm a little hesitant to grab info like host interfaces or uptime/load/users. The expectation is that you can get that info through other means because you had to deploy the binary somehow.

@SkyperTHC
Copy link
Author

SkyperTHC commented Jul 6, 2023 via email

@luker983
Copy link
Collaborator

Concerns here are similar to #22:

  1. I have concerns about enumerating the host system because of AV/project scope
  2. Wiretap assumes you have access to the server machine through some other means and this info can be gathered that way

I am less concerned about this one than the shell feature so leaving open for now, just not prioritizing.

Some metrics like Load that are directly related to Wiretap could be useful and relevant. I'd accept a PR that exposes these kinds of metrics through the API.

@Aptimex
Copy link
Collaborator

Aptimex commented Aug 15, 2024

I think being able to retrieve some basic host networking info (probably just assigned IPs and associated CIDRs for NICs) is reasonable given that that info could be directly relevant to diagnosing network issues with wiretap if something changed on the host. If there's a good existing Golang module for getting that data without having to run separate commands on the OS then I think we can probably add that at some point in the future.

Uptime of the Wiretap server process is probably also reasonable as part of that, but I don't think we'd want to try to pull uptime/load/user data from the host itself for the reasons @luker983 mentioned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants