WireGuard is broken on iOS 15 beta

Jason A. Donenfeld Jason at zx2c4.com
Fri Jun 11 09:09:18 UTC 2021


On 6/11/21, Andrej Mihajlov <and at mullvad.net> wrote:
> let fd = packetFlow.perform(Selector("interface")).toOpaque().advanced(by:
> 0x128).assumingMemoryBound(to: Int32.self).pointee

Ahh, so that's some sort of 296 byte struct offset, rather than a
symbolic name that fails gracefully. Ooof. Okay I'll poke around for
other methods, I suppose, as that indeed seems potentially dangerous.
Thanks nonetheless for the trick - helpful for getting started.

Jason


More information about the WireGuard mailing list