Commit Graph

17 Commits

Author SHA1 Message Date
Guilherme Rambo
67a4361860 Dedicated security settings tab, tunnel approval controls 2026-11-26 12:26:22 -03:00
Guilherme Rambo
68c48f8d53 Tunnel settings tweaks (#827)
* Add menu for quickly copying tunnels from other virtual machines, improve default selection for guest vs. host service depending on where the tunnel is being configured

* Count only tunnels that can be added in all tunnels menu option

* Add dedicated toolbar item for tunnel approval

* Fix service tunnels menu button sizing
2026-11-26 11:00:15 -03:00
Guilherme Rambo
4181d09e17 Guest<>host port and Unix socket forwarding (#824)
* Custom socket tunnels

* Improve tunnel configuration UI

* Tweak tunnel editing UI to be less confusing

* Create tunnel socket parent path if it doesn't already exist

* Security: Harden tunnel approval verification

* Security: harden tunnel approval UI against tampered strings, use only digest for validating approvals

* Security: refuse to start a TCP listener when something already answers at its address; replace existing socket when appropriate

* Fix newly added tunnel that replaces an existing listener being blocked by address in use

* Security: make tunnel status text from the other side safe to display

Status and failure text is chosen by the other side of a tunnel and shown
next to the tunnel in settings. Remove invisible, reordering and
line-breaking characters from it and limit its length.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

* Security: require a trusted owner for every folder enclosing a tunnel socket

Each component of a listener's path, as written and as resolved through
links, has to belong to this account or to a system account. Set the
socket's permissions without following links.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

* Security: check who owns a Unix socket tunnel destination

Apply the path ownership check to destinations, and require the service
that accepts the connection to run as this account or a system account.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

* Security: give each tunnel its own share of a virtual machine's connections

Raise the limit to 64 connections per virtual machine with at most 32 for
one tunnel, so holding one tunnel's connections open can't starve the
others. Pause a listener that runs out of descriptors or memory instead
of stopping it for good.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

* Security: keep the reason a tunnel failed on the host from the guest

The guest is only told that a tunnel isn't available on the host.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

* Update service tunnels audit report with the status of F5 to F10

Notes what was fixed for each finding and what was left as is.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>

* Support managed preference restrictions on tunnels

* Remove audit file

* Tunnels UI tweaks

* Rewrite service tunnels documentation

---------

Co-authored-by: Claude Mythos 5.2 <noreply@anthropic.com>
2026-11-25 18:17:16 -03:00
Guilherme Rambo
ff855c2808 Allow shared folders and display configuration changes on live VM (#806)
* Implement live configuration updates for shared folders

* Allow display configuration changes on live VM

* Improve live VM settings UI
2026-11-04 13:31:55 -03:00
Guilherme Rambo
2a7cf4151b New virtual machine state preservation system (#780)
* Fix HostingWindowController allowing repeated requests to close while waiting for confirmation

* New virtual machine state preservation system with automatic save on close/quit and safe restoration

* Use visible directories for saved state storage for easier debugging in Finder

* Hide state restoration controls for unsupported Linux VMs

* Add app-level preference for what happens by default when attempting to close a running VM

* Use a custom sheet for VM close confirmation

* Improve VM close choice sheet

* Harden session storage against path traversal, fix race conditions in state coordination
2026-10-05 12:51:43 -03:00
Guilherme Rambo
e19a74866c Liquid glass adoption (#677)
* Raise deployment target to macOS 14, bump version

* Integrate Liquid Glass compatibility components

* Fix onChange(of:) deprecation warnings

* Update project settings

* Improve styling of setup and configuration UI components

* Fix fatal error in VMSavedStatesController.preview

* Tweak session UI

* Do not use prominent button style in VM configuration sheet so it matches overall setup wizard style

* Fix incorrectly sized buttons in grouped lists
2026-05-22 09:47:01 -03:00
Guilherme Rambo
ba2164f6fc Use feature support from resolved restore image in post-install VM configuration 2026-02-02 17:16:50 -03:00
Guilherme Rambo
cd363c76b8 Clone storage devices when saving VM state (#76) 2025-02-26 12:33:56 -03:00
Guilherme Rambo
23cac9969a Adds option to start VM in DFU mode (debug builds or with debug flag only) 2024-08-07 11:20:10 -03:00
Guilherme Rambo
c2f9d7a472 Hiding save state button for unsupported VMs 2024-03-29 15:31:05 -03:00
Guilherme Rambo
49ff562ed3 Storing saved state package as part of the session options, bound picker selection to VMController 2024-03-29 14:21:38 -03:00
Guilherme Rambo
a8eee6e5e7 Implemented self-sizing grouped form for VM session settings view 2024-03-29 13:38:43 -03:00
Guilherme Rambo
a20f78944b WIP: Saved state selection 2024-03-28 17:18:18 -03:00
Gui Rambo
1e667f2b0e Hide boot on install drive toggle for macOS guests 2023-10-02 11:29:28 -03:00
Frank Lefebvre
0b301f4772 Add option to install Linux from .iso file 2023-02-25 16:23:50 +01:00
Gui Rambo
16e66b5c0e Fixed build in release configuration 2022-07-22 18:03:26 -03:00
Gui Rambo
df42616f62 Moved remaining UI components into VirtualUI 2022-07-21 00:21:35 -03:00