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

Add new checkbox/pref for disconnecting qube from netvm without setting it to none #8555

Open
jamke opened this issue Sep 28, 2023 · 0 comments
Labels
C: manager/widget C: networking P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: enhancement Type: enhancement. A new feature that does not yet exist or improvement of existing functionality. ux User experience

Comments

@jamke
Copy link

jamke commented Sep 28, 2023

The problem you're addressing (if any)

Turning internet connection of qubes on and off is currently complicated and error-prone. E.g. user has qube with sys-vpn netvm, making it offline for a moment requires user to change netvm to none and the information about previous value will be lost.

When user wants to make qube online again, they can easily chose sys-firewall, sys-whonix, sys-othervpn or any other wrong netvm qube.

The solution you'd like

A good approach exists in VirtualBox with Cable connected checkbox.
User can select NAT for interface to provide internet, but manage online/offline status with additional checkbox Cable connected.

In Qubes OS it can be implemented without major difficulties in similar manner.

  1. Add a new boolean pref, e.g. connected-to-netvm.
  2. Actual connection of netvm should be done only in case new pref is true and netvm is not none.
  3. Actual disconnection of netvm should be done in either case netvm is none or new pref is false.

Additional points

  • Current default behavior for users will not be affected, because default value will be connected-to-netvm = true.
  • Also scripts will not break because netvm contract will be preserved completely.
  • qubes-vm-settings should have additional checkbox similar to VirtualBox to make it convenient and transparent for average user.

The value to a user, and who that user might be

  1. Convenient switching online/offline for qube, as in VirtualBox.
  2. More reliable OFFLINE state of offline qubes like vault, because user can additionally set connected-to-netvm = false and does not worry is at some point netvm will be changed.
@jamke jamke added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: enhancement Type: enhancement. A new feature that does not yet exist or improvement of existing functionality. labels Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: manager/widget C: networking P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: enhancement Type: enhancement. A new feature that does not yet exist or improvement of existing functionality. ux User experience
Projects
None yet
Development

No branches or pull requests

2 participants