ostp/ostp-server/src
ospab c0124a19be feat(outbound): SOCKS5 username/password auth for the upstream proxy
Adds optional username/password to the server's outbound proxy config so an
upstream SOCKS5 that requires authentication — a residential-proxy service, for
instance — can be used. Both the TCP-connect and UDP-associate paths now run a
shared RFC 1929 negotiation: when credentials are set the client offers method
0x02 (and 0x00), and on a 0x02 selection performs the username/password
sub-negotiation; a proxy that rejects all methods reports a clear "set
outbound.username/password" error instead of a bare failure. No credentials =
the previous no-auth behaviour, unchanged.

The two on-disk config templates (`ostp init` / `ostp setup`) now carry empty
"username"/"password" in the outbound block so the fields are discoverable and
ready to fill. Both fields default on deserialize, so existing configs are
unaffected.
2026-08-24 15:32:20 +03:00
..
transport fix(server): UoT — set TCP_NODELAY + tear down half-open connections 2026-07-12 01:25:34 +03:00
api.rs fix(server): constant-time comparison for Management API secrets 2026-07-18 17:38:09 +03:00
dispatcher.rs feat(congestion): actually pace sends instead of releasing whole windows 2026-07-31 19:18:42 +03:00
dns.rs fix(server): rate-limit the (currently unwired) open UDP DNS listener 2026-07-18 17:42:49 +03:00
fallback.rs Remove stealth_port entirely and integrate fallback into UoT HTTP handler 2026-06-10 02:26:13 +03:00
lib.rs fix(server): throttle relay reads to the client session's congestion window 2026-07-18 15:40:12 +03:00
outbound.rs feat(outbound): SOCKS5 username/password auth for the upstream proxy 2026-08-24 15:32:20 +03:00
relay.rs fix(server): throttle relay reads to the client session's congestion window 2026-07-18 15:40:12 +03:00
relay_node.rs refactor(relay)!: forward transparently instead of re-authenticating clients 2026-08-03 18:49:57 +03:00
router.rs feat(outbound): SOCKS5 username/password auth for the upstream proxy 2026-08-24 15:32:20 +03:00
signal.rs
tui.rs