Repository navigation
11.2a: Wi-Fi without usbmuxd - #97
Merged
Merged
Conversation
A device this computer has opened before is found on the local network and reached straight at its address, without the system's usbmuxd: Wi-Fi installs on Linux without usbmuxd, and where Apple's own Wi-Fi discovery doesn't list the device. - Discovery: mDNS for _apple-mobdev2._tcp from a UDP port of IPAForge's own (answers come straight back, never competing with Bonjour or avahi on 5353), every 10 s, out of every IPv4 interface. A device is gone after its goodbye or three silent rounds. - Matching: the iOS 26.4+ authTag (exactly 8 bytes of HMAC-SHA256 over the advert's identifier, keyed with HKDF-SHA512 of the pair record's HostID, compared in constant time), which survives Private Wi-Fi Address; else the MAC address in the advert's name. Unknown devices are ignored, and the TLS pin to the pair record's device certificate still authenticates every session. - Connecting: one routing point for every connection: usbmuxd, or TCP to the device's address (lockdown on 62078, then each service's port), same pairing and TLS. Without usbmuxd, IPAForge's own pair record is used. - Link order: USB, then straight over Wi-Fi (16-18 MiB/s measured), then usbmuxd's own Wi-Fi link (6.4 MiB/s). - Wi-Fi on by default: whenever a session opens, EnableWifiConnections is turned on if it is off, and the device is remembered (UDID, real Wi-Fi MAC). Best-effort; never fails a session. - macOS: the Local Network usage reason in Info.plist (translated in six languages) and the Bonjour types; device.local_network_denied with a recovery action, and a Devices page notice with Open Local Network settings (that one settings URL allowlisted). - The device feed merges Wi-Fi devices by UDID and keeps searching when usbmuxd is missing; a network event says when local network access is refused. - device-probe: wifi-list and --direct (any command, straight over Wi-Fi). - Tests: DNS codec, an independent authTag vector, the search, a fake Wi-Fi in the fake usbmuxd (direct TCP and mDNS answers), the device feed, the Node adapters, the notice; browser checks for the new screen.
An advert with authTags (iOS 26.4+) and no tag of this computer's is never matched by the MAC address in its name; the MAC is only for adverts without tags. Every session is still authenticated by the TLS pin to the pair record's device certificate.
Merged
SirReaDy
added a commit
that referenced
this pull request
Nov 17, 2026
Version **0.1.0-alpha.8**: `apps/desktop/package.json`, the release notes (`docs/releases/0.1.0-alpha.8.md`, used for the GitHub release and the website), What's new and the changelog in the app, the README's alpha line, and the roadmap. **What's in it** - The setup guide and the tour of the pages, with SideStore installed from the guide (#95, #96) - Settings in tabs (#95) - Wi-Fi without usbmuxd (#97) - The iOS 17.4+ device tunnel over USB and Wi-Fi, and device sessions inside it (#98, #99, #100) - Apple TV and Vision Pro paired by the code they show (#104) - Expired apps whose profile iOS removed are listed and refreshed (#103) - Paid teams are no longer stopped by the App ID limit (#107) **Not tested on real hardware:** Apple TV and Vision Pro pairing (fakes only), and the Wi-Fi tunnel beyond the iPhones it was tried on. The release notes say so under "Known limits".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First part of 11.2. A device this computer has opened before is found on the local network and reached straight at its address, without the system's usbmuxd. That gives Wi-Fi installs on Linux without usbmuxd, and on systems where Apple's own Wi-Fi discovery doesn't list the device.
How it works
_apple-mobdev2._tcp, sent from a UDP port of IPAForge's own so devices answer straight back to it (RFC 6762 §6.7). It never binds 5353, so it doesn't compete with Bonjour or avahi. Queries go every 10 s, out of every IPv4 interface. A device is gone after its goodbye, or three silent rounds.authTag: exactly 8 bytes of HMAC-SHA256 over itsidentifier, keyed with HKDF-SHA512 of the pair record's HostID, compared in constant time. This survives Private Wi-Fi Address, which changes the MAC on every network. Otherwise by the MAC address in the advert's name. Adverts from devices this computer isn't paired with are ignored. Matching only decides where to connect: every session is still authenticated by the TLS pin to the pair record's device certificate.EnableWifiConnectionsis turned on if it's off (the same setting as Finder's "Show this iPhone when on Wi-Fi"), and the device is remembered with its UDID and real Wi-Fi MAC. Best-effort: it never fails a session.macOS
Info.plist, translated into all six languages (build/mac-locales), plus the Bonjour types.device.local_network_deniedwith a recovery action, and a notice on the Devices page with Open Local Network settings (that one settings URL is allowlisted).Also
networkevent says when local network access is refused.device-probe wifi-list, plus--directon any command to go straight over Wi-Fi only.device.md,installing.md,rpc.md,ui.md, architecture, failure catalogue, both roadmaps.Checks
wifi-listfound it (matched by authTag, since its MAC was private),info --directopened a session, and a full SideStore install straight over Wi-Fi completed.pnpm verify, and the tests run twice under full CPU load.