Skip to content

Does a macOS guest work on our userspace network stack, reaching only the proxy, and how fast?

Answered 2026-10-05: yes, with conditions. Decided 2026-10-06: 1A, link MTU 65535, and 2A, refuse the guest OS’s own lookups quietly. The decision and its reasons are in the I17I17 (closed): X03-network-path: Network pathDoes a macOS guest boot on the file-handle network attachment with the gVisor stack: get a DHCP lease, resolve only allowlisted names, and reach only the proxy? comment that starts Decision (2026-10-06):. Source: X03-network-pathX03-network-path: Network pathA macOS guest boots on the file-handle attachment with the gVisor stack: gets a DHCP lease, resolves only allowlisted names, reaches only the proxy. (I17I17 (closed): X03-network-path: Network pathDoes a macOS guest boot on the file-handle network attachment with the gVisor stack: get a DHCP lease, resolve only allowlisted names, and reach only the proxy?). Changes S07-egress-gatewayS07-egress-gateway: Egress GatewayThe only path from a guest to any network: a userspace network stack (wb-netd) and a policy-enforcing proxy (wb-proxyd) on the host., S11-verification-and-spikesS11-verification-and-spikesthe filter's fuzz properties, including one that replays the filtered output and the exit reset into a headless emulator and checks it is back in its initial state, and a conformance case that prints every dropped seq… and FR00-indexFR00-index: Functional requirementsWhat Wraith Box must do for the user. (FR09-approve-unknownFR09-approve-unknown: Approve unknown destinationsA request to an unknown destination is blocked and offered to the user for approval out-of-band (allow once, allow for project, deny).). Follow-up: I93I93 (closed): S06-vm-lifecycle: set the guest clock after a cold boot too, since the guest has no NTPX03-network-path (#17) found that the guest has no network time: NTP is UDP, which wb-netd drops (S07-egress-gateway, "Connections"), and an idle macOS guest sends NTP to time.apple.com every 2 s with no answer..

guest (untrusted)macOS guestone network cardwb-netd (host)link filterdrops the restDHCP, DNSgVisor stackTCP to 198.18/15wb-proxydLAN, raw IP,IPv6, other UDPframesstreamsreset or dropped

Figure 1. Every frame from the guest arrives in wb-netd. The link filter lets through only what the gateway serves: DHCP, DNS, ping to the gateway, and TCP, which the stack accepts only to a synthetic address on an allowed port and relays to wb-proxyd (S07-egress-gatewayS07-egress-gateway: Egress GatewayThe only path from a guest to any network: a userspace network stack (wb-netd) and a policy-enforcing proxy (wb-proxyd) on the host.). Everything else is reset or dropped (red), and logged with the rule.

What changes in the specs without a choice

Section titled “What changes in the specs without a choice”

S07-egress-gatewayS07-egress-gateway: Egress GatewayThe only path from a guest to any network: a userspace network stack (wb-netd) and a policy-enforcing proxy (wb-proxyd) on the host. now states the complete link filter, the DHCP options the gateway never offers (a proxy configuration URL among them), local answers for names under .arpa and .local, the size and reuse rules of the synthetic address pool, per-VM caps, rate limits on every event the guest can trigger, the same MTU on both ends of the link, and that NTP is dropped, so the guest clock comes from wb-guestd. S11-verification-and-spikesS11-verification-and-spikesthe filter's fuzz properties, including one that replays the filtered output and the exit reset into a headless emulator and checks it is back in its initial state, and a conformance case that prints every dropped seq… adds the filter to the fuzz targets, adds conformance checks for it, and compares the download benchmark with this spike.

Choices of the builder. These go beyond what the spike measured, and are yours to overrule:

Not measured: S07-egress-gatewayS07-egress-gateway: Egress GatewayThe only path from a guest to any network: a userspace network stack (wb-netd) and a policy-enforcing proxy (wb-proxyd) on the host. gives an empty answer to HTTPS and SVCB queries for allowlisted names, where the spike refused them and the guest connected fine. An empty answer gives the guest no record that could hold an encrypted ClientHello configuration or an HTTP/3 hint the proxy can’t honor. The cost: nobody has checked the macOS resolver behaves the same with it, so S11-verification-and-spikesS11-verification-and-spikesthe filter's fuzz properties, including one that replays the filtered output and the exit reset into a headless emulator and checks it is back in its initial state, and a conformance case that prints every dropped seq… adds a case for that, and until it passes the choice rests on reading, not on a run.

The MTU is the largest frame between the guest and wb-netd. It only exists on that link: wb-proxyd opens its own connections upstream, so no packet from the guest ever crosses the internet and a large MTU can’t break anything out there. Bigger frames mean fewer frames to handle for the same bytes.

wb-vmd sets 65535 on the attachment and the DHCP server offers it.

A common “jumbo frame” size.

What every network uses, and what S07-egress-gatewayS07-egress-gateway: Egress GatewayThe only path from a guest to any network: a userspace network stack (wb-netd) and a policy-enforcing proxy (wb-proxyd) on the host. said until this was decided.

No security control depends on the MTU: the link filter, DNS and the proxy apply the same rules at any size.

An idle guest at the login window, with nothing installed and nobody logged in, looked up 14 host names in its first hour, 109 queries in all, every one under apple.com or icloud.com: by their names, push, time, software update, location and iCloud services. It also asked for the reverse name of its own address and for _dns.resolver.arpa, which S07-egress-gatewayS07-egress-gateway: Egress GatewayThe only path from a guest to any network: a userspace network stack (wb-netd) and a policy-enforcing proxy (wb-proxyd) on the host. now answers locally without a prompt. Under the spec as it stood, each of the 14 host names raised one approval event per session, a prompt on the host for something the user never did.

A. Refuse quietly, and turn them off in the image

Section titled “A. Refuse quietly, and turn them off in the image”

A list of the guest OS’s background names gets NXDOMAIN and an audit entry, but no prompt. The image (X17-image-buildX17-image-build: Unattended image buildCan a macOS guest installed from an Apple restore image get past Setup Assistant, with wb-guestd running as a root LaunchDaemon, without SSH, scripted clicks, or MDM?) turns off the services it can. The conditions:

Put Apple’s background services on the default allowlist.

Requirement2A. Refuse quietly2B. Prompt2C. Allow
SEC05-default-denySEC05-default-deny: Default-deny egress, enforced on the hostOnly allowlisted hostnames are reachable. only allowlisted hostnames are reachablerefuseduntil someone clicks allowallowed
FR09-approve-unknownFR09-approve-unknown: Approve unknown destinationsA request to an unknown destination is blocked and offered to the user for approval out-of-band (allow once, allow for project, deny). unknown destinations raise a promptnot for the list, FR09-approve-unknownFR09-approve-unknown: Approve unknown destinationsA request to an unknown destination is blocked and offered to the user for approval out-of-band (allow once, allow for project, deny). amendedevery namenot asked
SEC10-auditSEC10-audit: AuditEvery egress decision, approval, and returned change is recorded on the host in a persisted log the guest cannot alter. every decision loggedaudit entryprompt, auditedeach connection audited
NFR06-explained-refusalsNFR06-explained-refusals: OperabilityEvery refusal names the rule that caused it and how to change it. refusals say whyin wb statuspromptnothing refused

The wb-netd work in S07-egress-gatewayS07-egress-gateway: Egress GatewayThe only path from a guest to any network: a userspace network stack (wb-netd) and a policy-enforcing proxy (wb-proxyd) on the host., and the conformance cases of S11-verification-and-spikesS11-verification-and-spikesthe filter's fuzz properties, including one that replays the filtered output and the exit reset into a headless emulator and checks it is back in its initial state, and a conformance case that prints every dropped seq… for the packet path. Decision 2 feeds the approval design (B51-approval-flowB51-approval-flow: What happens between a blocked lookup and the user's answer?Hold the DNS answer for a few seconds while the notification is open, answer a refusal with a negative TTL of zero, and keep guest OS names out of notifications.) and the image (X17-image-buildX17-image-build: Unattended image buildCan a macOS guest installed from an Apple restore image get past Setup Assistant, with wb-guestd running as a root LaunchDaemon, without SSH, scripted clicks, or MDM?).

Details and glossary

Why the stack needs a filter. Each allowlisted name gets its own made-up address from 198.18.0.0/15, so wb-netd must accept connections to thousands of addresses it doesn’t own. gVisor does that in promiscuous mode, and spoofing mode lets it answer from them. With spoofing on, gVisor also answers “that’s me” to an ARP question about any address. The guest asks that question about its own new address, to check nobody else has it, and with the answer it gave the address back and asked again, every 12 s, without end. The filter passes ARP only for the gateway, ping only to the gateway, and UDP only to DNS and DHCP. gVisor didn’t answer ping to other addresses even without the filter, so the ping rule is a second layer.

What Claude Code looked up. With a placeholder key, claude -p looked up only api.anthropic.com. Started interactively it also looked up raw.githubusercontent.com and platform.claude.com. The stub didn’t speak TLS, so anything after the first API call is not in the list.

Not measured. TLS inspection, a real upstream, more than one VM, and a restored VM.

  • MTU: maximum transmission unit, the largest packet a link sends in one frame.
  • DHCP: how a machine gets its address, router and DNS server when it joins a network.
  • ARP: how a machine on a local network finds which network card has an IP address.
  • Synthetic address: a made-up address from a reserved range that wb-netd hands out for an allowlisted name, so the guest never learns the real one.
  • Promiscuous and spoofing mode: gVisor settings that let the stack accept and send traffic for addresses that aren’t its own.
  • NTP: the protocol computers use to set their clocks over the network.