Commit Graph

35 Commits

Author SHA1 Message Date
Guilherme Rambo
a157ed4041 Implement vbctl for command-line access 2026-11-26 18:58:12 -03:00
Guilherme Rambo
8534c995fe Dedicated security settings tab, tunnel approval controls (#828) 2026-11-26 12:46:34 -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
aabca5342d Xcode app provisioning (#823)
* Automatic provisioning of Mac apps launched via Xcode

* Improve Xcode integration sheet UI

* Security: harden local debugging socket and Xcode tool usage

* Soften rule around Xcode MCP use and xcodebuild prohibition

* Security: harden App Store Connect API key storage and access

* Fix debugged app incorrectly detected as not provisioned due to wildcard matching in provisioning profile

* Add previews for provisioning and debugging UI elements

* Disambiguate virtual machine vs. host Mac in provisioning and signing team management UIs

* Make Xcode debugging setup accessible from the Guest menu

* Completely disable debugging socket when developer features disabled, fix socket dying on accept failure

* Add versioning to scheme bindings, refer to VirtualBuddy components by a stable symlinked location, store scheme URLs so that app can potentially migrate schemes in the future

* Delay showing provisioning sheet so that an app that's already provisioned for the VM doesn't trigger it
2026-11-24 17:46:23 -03:00
Guilherme Rambo
baa001af93 Refactor Xcode debugging support (#822)
* Refactor Xcode debugging support into independent Swift packages

* Fix remote process name in Xcode debug navigator, display progress for shared cache symbol extraction, bring app to the foreground when a run requires extracting symbols
2026-11-24 10:08:45 -03:00
Guilherme Rambo
3522f6520c Xcode integration (#818)
* Implement Xcode integration for running and debugging a Mac app in a virtual machine

* Fix xcodeproj/xcworkspace not selectable in open panel

* Improve Xcode project setup UI

* Add dedicated Developer tab in settings and global toggle for developer features

* Improve developer settings UI

* Add managed preference for disabling developer features
2026-11-20 17:37:23 -03:00
Guilherme Rambo
4b012d3c01 Guest appearance sync service (#803) 2026-11-03 13:54:41 -03:00
Guilherme Rambo
9af56efdf1 Guest metadata service & UI (#802)
* Add new guest system information service to collect up-to-date details about the guest that can be displayed offline in the host

* Tweak get info wording

* Update agents

* Add preview library item with guest system info

* Improve VM metadata overlays in library view

* Xcode update

* Improve VM get info UI
2026-11-03 12:51:13 -03:00
Guilherme Rambo
8434b53e07 Refactor guest services (#801) 2026-11-03 11:23:17 -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
Gui Rambo
6da3752504 Fix warnings in Xcode 27 2026-06-09 17:31:03 -03:00
Guilherme Rambo
d7d3eafba0 Fix thumbnail corruption caused by VM shutdown 2025-06-19 14:53:43 -03:00
Guilherme Rambo
47a3b59224 Send desktop picture when guest is about to power off 2025-06-18 19:00:49 -03:00
Guilherme Rambo
cfa5d2e7d7 Implement new desktop picture service to display desktop picture from guest as thumbnail 2025-06-18 18:37:39 -03:00
Guilherme Rambo
a84a27dee9 Fix warnings 2025-06-04 17:56:01 -03:00
Gui Rambo
1f844f161d Discarding tiff image data from shared clipboard when png is also available 2023-10-25 14:42:23 -03:00
Gui Rambo
85056c7efb Tweaked wormhole timeouts and ping intervals 2023-10-25 14:28:55 -03:00
Gui Rambo
e0750dd442 Allowing clipboard messages to propagate between guests 2023-10-25 14:05:16 -03:00
Gui Rambo
c887fdce7a Improved guest<>host channel management, fixed several leaks 2023-10-25 12:58:05 -03:00
Gui Rambo
4e172e2942 Formalized payload for wormhole messages with option to re-send certain message types when connection gets restored 2023-10-25 10:12:22 -03:00
Gui Rambo
9a7494f219 Improved guest connection state management 2023-09-28 11:34:54 -03:00
Gui Rambo
752341d922 Special handling for system services in defaults import service 2023-03-10 17:50:48 -03:00
Gui Rambo
8e6538d584 Included Finder in defaults domains 2023-03-10 17:15:44 -03:00
Gui Rambo
ea8a54b1c6 Implemented defaults import/export through wormhole service 2023-03-10 16:11:08 -03:00
Gui Rambo
a83b4a93bc Implemented underpinnings for a user defaults import/export service between host and VMs 2023-03-09 17:43:39 -03:00
Gui Rambo
6682b455c5 Compressing large packets 2023-03-08 19:46:57 -03:00
Gui Rambo
556b63e5af Darwin notifications service, peer ping/pong 2023-03-08 16:14:22 -03:00
Gui Rambo
28cb527ed2 Extra logging 2023-03-08 14:31:09 -03:00
Gui Rambo
e945fc5bf2 Streaming typed messages with new serial protocol 2023-03-08 14:09:44 -03:00
Gui Rambo
e71d7033c4 Defined wire protocol for serial communication between guests and host 2023-03-08 13:02:30 -03:00
Gui Rambo
1740436339 WIP: Serial communication for guest additions 2023-03-08 12:03:35 -03:00
Gui Rambo
4cfe335de9 Installing VirtualBuddyGuest to /Applications when needed 2023-02-07 12:48:24 -03:00
Gui Rambo
85ed06f0f6 Showing connection state with host in VirtualBuddyGuest, allowing host to have multiple guests connected 2023-02-06 18:19:06 -03:00
Gui Rambo
4bf3cecc96 Implemented basic clipboard sharing, fixed system key capture 2022-06-02 13:55:25 -03:00
Gui Rambo
e3277f6503 Implemented basic clipboard sharing 2022-06-02 13:41:29 -03:00