Repository navigation
11.2c: the iOS 17+ tunnel over Wi-Fi - #99
Merged
Merged
Conversation
With the remote pairing made over USB (11.1), the CoreDevice tunnel opens over Wi-Fi, without Wi-Fi sync or admin rights, and runs the same TCP client, RSD and services as over USB (11.2b). - The device's _remotepairing._tcp port from its advert (the search now takes any service type, and adverts carry their port), TCP to it, and pair-verify with the saved identity, which now returns its X25519 secret. - Encrypted messages after pair-verify: ChaCha20-Poly1305 under HKDF-SHA512 keys (ClientEncrypt-main / ServerEncrypt-main), the nonce each direction's message count; the encrypted createListener for a TCP tunnel. - IPAForge's own TLS 1.2 PSK client (TLS_PSK_WITH_AES_128_GCM_SHA256, extended master secret, empty identity): iOS refuses every SHA-1 and ECDHE-PSK suite, which are all Electron's BoringSSL offers. Tested against OpenSSL's server. - 11.2b's opener now opens a tunnel over any carrier (openTunnelOver): CoreDeviceProxy over USB, the TLS-PSK connection over Wi-Fi, which also closes the control connection with the tunnel. - DeviceManager.openWifiTunnel and device-probe rp-tunnel [--mb]. On an iPhone on iOS 26.6.1: the tunnel and RSD over Wi-Fi in about 3.3 s, 73 services, an AFC upload of 20 MiB at 9.3 MiB/s with no retransmissions. The app's installs go through a device session, which runs over the Wi-Fi tunnel with 11.2d.
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.
With the remote pairing made over USB (11.1), IPAForge opens the iOS 17+ CoreDevice tunnel over Wi-Fi, without Wi-Fi sync or admin rights. Inside it run the same TCP client, RSD and services as over USB (11.2b).
How it works
_remotepairing._tcpadvert. The network search now takes any service type, and adverts carry their port.ClientEncrypt-mainfrom us,ServerEncrypt-mainfrom the device), the nonce each direction's message count as 8 little-endian bytes then 4 zero bytes. They carry the encryptedcreateListenerfor a TCP tunnel.TLS_PSK_WITH_AES_128_GCM_SHA256, extended master secret, empty identity. iOS refuses every SHA-1 and ECDHE-PSK suite, which are all Electron's BoringSSL offers. It's tested against OpenSSL's server: the handshake, data both ways, records over 16 KB, and a wrong key refused.openTunnelOver): CoreDeviceProxy over USB, or the TLS-PSK connection over Wi-Fi. Over Wi-Fi, the control connection closes with the tunnel.DeviceManager.openWifiTunnelanddevice-probe rp-tunnel [--mb].Checks
pnpm verify, and the full suite twice under full CPU load.The app's installs go through a device session, which runs over the Wi-Fi tunnel in 11.2d (on the roadmap).