telemt/src
Vladislav Yaroslavlev 100cb92ad1
feat: add hostname support for SOCKS4/SOCKS5 upstream proxies
Previously, SOCKS proxy addresses only accepted IP:port format.
Now both IP:port and hostname:port formats are supported.

Changes:
- Try parsing as SocketAddr first (IP:port) for backward compatibility
- Fall back to tokio::net::TcpStream::connect() for hostname resolution
- Log warning if interface binding is specified with hostname (not supported)

Example usage:
[[upstreams]]
type = "socks5"
address = "proxy.example.com:1080"
username = "user"
password = "pass"
2026-02-20 21:42:15 +03:00
..
config Merge branch 'main-stage' into flow 2026-02-20 17:19:23 +03:00
crypto ME Pool V2 2026-02-19 13:35:56 +03:00
network Handle IPv6 ENETUNREACH in STUN probe gracefully 2026-02-19 00:27:19 +03:00
protocol Metrics + Fixes in tests 2026-02-20 18:02:02 +03:00
proxy HAProxy PROXY Protocol Fixes 2026-02-20 16:42:40 +03:00
stats ME Keepalives 2026-02-19 15:49:35 +03:00
stream Middle-End Drafts 2026-02-15 12:30:40 +03:00
tls_front TlsFrontCache + X509 Parser + GREASE Tolerance 2026-02-20 16:56:33 +03:00
transport feat: add hostname support for SOCKS4/SOCKS5 upstream proxies 2026-02-20 21:42:15 +03:00
util 1.0.1.1 2026-01-07 17:22:10 +03:00
cli.rs [network] in main 2026-02-18 06:01:08 +03:00
error.rs Zeroize for key + log refactor + fix tests 2026-02-07 19:49:41 +03:00
ip_tracker.rs Add files via upload 2026-02-14 23:00:26 +02:00
main.rs Update main.rs 2026-02-20 17:42:20 +03:00
metrics.rs Metrics + Fixes in tests 2026-02-20 18:02:02 +03:00