haskell / network

Low-level networking interface
http://hackage.haskell.org/package/network
Other
323 stars 186 forks source link

add SOCKS5-hostname proxy #525

Open nyxnor opened 2 years ago

nyxnor commented 2 years ago

The hostname must be resolved by the proxy for .onion domains, else it will fail to connect and leak DNS requests.

Can this be added to this network stack?

Tor-Friendly-Applications-Best-Practices

kazu-yamamoto commented 2 years ago

The network package is a low level library. I think that SOCKS stuff should go to the socks package.

nyxnor commented 2 years ago

Which repo would that be please? This socks package (git) seems to be have stopped 2019.

kazu-yamamoto commented 2 years ago

Yes, that repo. If you have motivation for SOCKS, I think you could ask the author of socks to transfer it to you.