mirror of
https://github.com/telemt/telemt.git
synced 2026-07-07 12:31:15 +03:00
100cb92ad1
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"