refactor: one blocking SOCKS5/HTTP CONNECT proxy module shared by all TCP clients

SSH's async SOCKS5 and HTTP CONNECT code moves to clients::proxy as a
blocking dialer (SSH runs it on a blocking thread), so RDP and others can
use the same implementation. The proxy handshake now has a read timeout,
and new tests drive both proxy types against fake proxies, including
SOCKS5 username/password auth and a refused HTTP CONNECT (407).
This commit is contained in:
Andy Dixon
2026-10-12 10:15:36 +01:00
parent 4bd12bfb03
commit 6a4d7381d9
3 changed files with 236 additions and 98 deletions
+1
View File
@@ -37,6 +37,7 @@ impl Callbacks {
}
}
pub mod proxy;
pub mod raw;
pub mod serial;
pub mod telnet;