Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I just want to add a potential gotcha that bit me in the past:

At least with curl (or any library that uses curl under the hood) you have to be very careful to specify the scheme as socks5h:// with a letter h at the end, not just socks5. Otherwise the hostname lookup would happen directly through the client rather than the proxy.

https://curl.se/libcurl/c/CURLOPT_PROXY.html



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: