socks_proxy icon indicating copy to clipboard operation
socks_proxy copied to clipboard

Failed to receive SOCKS5 connect request ack.

Open savethebeesandseeds opened this issue 3 years ago • 1 comments

So I've mounted the proxy on port 1080, Great tool by the way, then on requesting Google,

curl --ipv4 --socks5 127.0.0.1:1080 https://www.google.com --verbose

I've got:

*   Trying 127.0.0.1:1080...
* SOCKS5 connect to IPv6 2800:3f0:4005:407::2004:443 (locally resolved)
* Failed to receive SOCKS5 connect request ack.
* Closing connection 0
curl: (97) Failed to receive SOCKS5 connect request ack.

Does anyone have any clue?

savethebeesandseeds avatar Dec 04 '22 21:12 savethebeesandseeds

The problem is, there is no handling of IPv6, I've added the changes to this fork: https://github.com/savethebeesandseeds/socks_proxy

On this the latter problem was fix,

There is still the problem of a client doing ipv6: curl --ipv6 --socks5 127.0.0.1:1080 https://www.google.com --verbose

But for not it works for me, hope it works for some else too.

savethebeesandseeds avatar Dec 04 '22 22:12 savethebeesandseeds