qwj / python-proxy

HTTP/HTTP2/HTTP3/Socks4/Socks5/Shadowsocks/ShadowsocksR/SSH/Redirect/Pf TCP/UDP asynchronous tunnel proxy implemented in Python 3 asyncio.
MIT License
1.99k stars 333 forks source link

socks5h support #144

Closed ghost closed 2 years ago

ghost commented 2 years ago

Could you add support for socks5h? When I'm using SSH reverse port forwarding (-R 9999), regular socks5 fails to resolve hostnames (happens without pproxy too). socks5h works, but is not supported by pproxy.

ghost commented 2 years ago

Hmm, in my tests actually it seems like socks5 works fine with pproxy despite needing socks5h in other programs. Closing for now, unless someone else says this doesn't work for them.