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

Configuration command #17

Open
hannesm opened this issue Jan 7, 2024 · 2 comments
Open

Configuration command #17

hannesm opened this issue Jan 7, 2024 · 2 comments

Comments

@hannesm
Copy link
Contributor

hannesm commented Jan 7, 2024

There's a client command-line utility to configure and view the configuration of the tlstunnel -- but this is pretty hard to use (it requires an OCaml program to be executed on the internal network). The connection is authenticated (this is good).

Can we get towards an alternative? Options include:

  • use a line-based ASCII protocol (e.g. netcat) -- but how would we authenticate?
  • use an interactive ssh session (with awa-ssh)?
  • use a web frontend

For being future-proof and with few dependencies on deployment, I currently prefer the ssh endpoint. This would also allow scripted updates (ssh <remote> add <domain> <ip> <port> -- which could as well be originated from a potential DHCP server that has these credentials). WDYT?

@hugusmaximus
Copy link

I would add the option of hard coding config at compile time...?

@hannesm
Copy link
Contributor Author

hannesm commented Jan 17, 2024

I would add the option of hard coding config at compile time...?

That's an interesting suggestion, but as said in #13 (comment) it would be a different unikernel (that is way simpler (since it wouldn't need any management interface and block device for storing the configuration), but would be a custom build for every user (and thus be against the reproducible builds - delaying configuration to runtime)).

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

No branches or pull requests

2 participants