You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After looking into the code, I find that socketpair uses 127.0.0.1 addresses, which calls socks.socksocket to connect to 127.0.0.1, which is not what we desire. A choice to resolve this might be only running socket.socket = socks.socksocket after any socketpair is made, or the following monkeypatch to avoid connection to a local address by socks:
On windows if you run the following:
You will get
And python hangs and does not react to ctrl+c.
After looking into the code, I find that
socketpair
uses127.0.0.1
addresses, which callssocks.socksocket
to connect to127.0.0.1
, which is not what we desire. A choice to resolve this might be only runningsocket.socket = socks.socksocket
after any socketpair is made, or the following monkeypatch to avoid connection to a local address by socks:The text was updated successfully, but these errors were encountered: