fix: remove all stubs/delays, implement real kill-switch, WireGuard t…#8
Open
fix: remove all stubs/delays, implement real kill-switch, WireGuard t…#8
Conversation
…un fd, SSH sockets, V2Ray process, AES-GCM, EVP_BytesToKey - AeroVpnService: activateKillSwitch uses VpnService.Builder.setBlocking(true) + real blocking interface; removed delay(2000) from network monitor - WireGuardProtocol: establishTunnel uses vpnServiceBuilder.establish() for real tun fd instead of hashCode stub; stopWireGuardTunnel closes fd instead of delay(500) - SSHProtocol: all 4 transport modes (direct/WS/SSL/proxy) now open real TCP/SSL sockets; removed 4x delay(1500) and Any() stubs; closeSSHSession closes Closeable - V2RayProtocol: startV2RayCore writes config JSON and launches libv2ray.so process; stopV2RayCore kills process; removed delay(2000)/delay(500) - ShadowsocksProtocol: startShadowsocksProxy launches libsslocal.so process; generateKey uses EVP_BytesToKey-compatible MD5 KDF; removed delay(1000)/delay(300) - UdpTunnelProtocol: decryptUdpData/encryptUdpData use AES-GCM with SHA-256 key derivation instead of XOR; forwardToVpnInterface writes to real tun OutputStream; removed XOR stub
14 tasks
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.
…un fd, SSH sockets, V2Ray process, AES-GCM, EVP_BytesToKey