yiguodev:Xray iOS TUN 入站的 fd 复制方案可行,WireGuard 官方 Apple 客户端采用同样做法

yiguodev 在 Xray-core PR #6883(TUN 入站:复制 iOS 隧道文件描述符)线程内确认:方案没问题,WireGuard 也是这方案。他给出 WireGuard 官方 Apple 客户端源码中的对应实现位置,即 Sources/WireGuardKitGo/api-apple.go 第 86 行(提交 2fec12a6e1f6e3460b6ee483aa00ad29cddadab1)。

作者原文

方案没问题。WireGuard 也是这方案。https://github.com/WireGuard/wireguard-apple/blob/2fec12a6e1f6e3460b6ee483aa00ad29cddadab1/Sources/WireGuardKitGo/api-apple.go#L86