haad / proxychains

proxychains - a tool that forces any TCP connection made by any given application to follow through proxy like TOR or any other SOCKS4, SOCKS5 or HTTP(S) proxy. Supported auth-types: "user/pass" for SOCKS4/5, "basic" for HTTP.
http://proxychains.sourceforge.net/
GNU General Public License v2.0
6.27k stars 603 forks source link

curl: (52) Empty reply from server #148

Open qaiwiz opened 1 year ago

qaiwiz commented 1 year ago

Trying to reproduce the following example on my macOS (Monterey 12.6.3) and it fails with the following error: (I have brew installed proxychain version 4.16 ) $ ssh -fqCN -D 8080 some.example.com $ PROXYCHAINS_SOCKS5=8080 proxychains4 zsh

I should add that I am currently using stunnel (using squid) here is my stunnel.conf

sslVersion = all debug = 7 [squid] client = yes

options = NO_SSLv2 options = DONT_INSERT_EMPTY_FRAGMENTS

cert = /usr/local/etc/stunnel/stunnel.pem accept = 127.0.0.1:8080 connect = "host_ip":8888

over this port and it is working fine on browsers, but it doesn't work on my bash (eg curl fails with socks5). ~$curl ifconfig returns the following error, and I was/am hoping that proxychains can fix this. I have tried various combination of socks5, and --socks5-hostname, ... none has resolved this particular issue.

github-actions[bot] commented 6 months ago

Stale issue message