Commit Graph

31 Commits

Author SHA1 Message Date
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
e686949edc New socket-based host<>guest communication transport (#763)
* New host<>guest transport/protocol implementation

* Implemented minimal legacy guest protocol to maintain clipboard functionality for guests that can't run the latest VirtualBuddyGuest app

* Fix missing dependency

* Change VMBridge Swift package to remote

* Disable VirtualBuddyGuest clipboard sharing support on legacy OSes, leave macOS 13 support for shared folder mount
2026-09-14 14:16:07 -03:00
Guilherme Rambo
58380d66b7 Fix configuration sheet performance issue caused by provisioning settings hashable conformance (#753) 2026-08-26 16:49:57 -03:00
Guilherme Rambo
abcdcfffee Implement initial support for USB passthrough on macOS 27 (#752)
* Implement initial support for USB passthrough on macOS 27

* Add previews to USB UI, WIP improve manual entry form

* Improve manual USB entry UI

* Auto-submit manual USB entry after submitting valid vendor/product information

* Auto-validate manual USB entry after changing
2026-08-26 13:26:27 -03:00
Gui Rambo
d0d575b863 Move boot time updates to VMController, display appropriate message in provisioning configuration when context is forbidden 2026-06-10 15:25:36 -03:00
Gui Rambo
c4401908ac Exclude storage devices when applying template in post-install context 2026-06-10 15:19:44 -03:00
Gui Rambo
37f459436f Add picker in virtual machine configuration that allows copying the configuration from an existing virtual machine 2026-06-10 15:00:39 -03:00
Gui Rambo
92b498986f Display provisioning feature support status in configuration, disable when unsupported 2026-06-10 12:59:23 -03:00
Gui Rambo
2fec2bd3d2 WIP: Provisioning in configuration UI 2026-06-09 19:56:00 -03:00
Guilherme Rambo
b5516e7bde Resolve supported features for custom restore images, use feature support state for configuration UI 2026-02-02 16:50:45 -03:00
Guilherme Rambo
3aa8917e05 New display presets, change default for Mac and Linux 2025-06-26 14:25:02 -03:00
Guilherme Rambo
234502a8bd Add guest app toggle to VM configuration UI 2025-06-19 13:10:26 -03:00
Guilherme Rambo
e40df17269 Keep full bleed background after restore image selection 2025-06-04 19:34:17 -03:00
James
67fd53de5a Add an option to mount Rosetta on Linux guests 2024-03-14 22:38:10 +11:00
Gui Rambo
0d78b97dd8 Implemented keyboard hardware configuration and validation (#233) 2023-10-02 11:58:53 -03:00
Gui Rambo
a73a9aa588 Downloading Linux installer when needed and updating VM model with local file URL 2023-03-06 15:49:38 -03:00
Gui Rambo
784944b9c0 Fixed typos 2022-07-27 19:42:35 -03:00
Gui Rambo
d5fa7fb121 WIP: Install console 2022-07-20 20:51:02 -03:00
Gui Rambo
64f72a23dd WIP: Configuration during install 2022-07-20 16:23:37 -03:00
Gui Rambo
5f8e1bb19a Creating disk images for custom storage devices 2022-07-19 20:58:32 -03:00
Gui Rambo
589690bd17 Refactored validation to make it available in session config view, saving collapsed state for configuration sections 2022-07-19 13:32:01 -03:00
Gui Rambo
e3c626652c Improved config validation for both host and guest 2022-07-19 13:01:23 -03:00
Gui Rambo
40ba17aa38 Integrated shared folder management into config UI 2022-07-19 11:23:50 -03:00
Gui Rambo
be7941fbf5 WIP: Sharing options 2022-07-18 20:10:53 -03:00
Gui Rambo
524f0e755e Collapsing configuration sections by default, showing summary for each section 2022-07-18 18:53:54 -03:00
Gui Rambo
15736288fb Implemented sound configuration 2022-07-18 18:23:20 -03:00
Gui Rambo
6baec0a755 Validating settings before saving VM configuration 2022-07-18 16:44:48 -03:00
Gui Rambo
f65052ae24 Moved configuration sections into separate files 2022-07-18 15:54:28 -03:00