Files
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
..
2026-02-19 13:35:56 +03:00
2026-02-20 18:02:02 +03:00
2026-02-20 16:42:40 +03:00
2026-02-19 15:49:35 +03:00
2026-02-15 12:30:40 +03:00
2026-01-07 17:22:10 +03:00
2026-02-18 06:01:08 +03:00
2026-02-14 23:00:26 +02:00
2026-02-20 17:42:20 +03:00
2026-02-20 18:02:02 +03:00