You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the `__android_vpn` plugin option is set, protect outbound UDP
socket fds by sending them to the Android VPN service via a Unix
domain socket at `protect_path` using SCM_RIGHTS. This prevents
routing loops when running under shadowsocks-android's VPN mode.
- Add `protect.rs` module (Android-only) implementing the fd
protection protocol (mirrors v2ray-plugin's utils_android.go)
- Extract `create_udp_socket()` helper that binds and protects
the QUIC endpoint socket
- Use `Endpoint::new()` with pre-created socket instead of
`Endpoint::client()` so the fd can be protected before use
- Also protect sockets created during timeout rebind
Co-Authored-By: Claude (claude-opus-4-6) <noreply@anthropic.com>
0 commit comments