mirror of https://github.com/telemt/telemt.git
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" |
||
|---|---|---|
| .. | ||
| config | ||
| crypto | ||
| network | ||
| protocol | ||
| proxy | ||
| stats | ||
| stream | ||
| tls_front | ||
| transport | ||
| util | ||
| cli.rs | ||
| error.rs | ||
| ip_tracker.rs | ||
| main.rs | ||
| metrics.rs | ||