cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl 7.16.1: socks5 seems not to work

From: Manfred Schwarb <manfred99_at_gmx.ch>
Date: Thu, 01 Feb 2007 16:28:37 +0100

Hi,

I just tried your new version. When using a socks5 proxy, it simply
seems not to work, it does not connect to the proxy:

# curl --socks5 localhost:9050 -v http://www.google.com
* About to connect() to www.google.com port 80 (#0)
* Trying 209.85.129.104... connected

then it hangs forever. I also tried with 127.0.0.1:9050, no success.
However with:

# curl.old --socks5 localhost:9050 -v http://www.google.com
* About to connect() to proxy localhost port 9050
* Trying 127.0.0.1... connected
* Connected to www.google.com (127.0.0.1) port 9050

and then it works as it should.

When I connect directly, it works without problems:
# curl -v http://www.google.com
* About to connect() to www.google.com port 80 (#0)
* Trying 209.85.129.104... connected
* Connected to www.google.com (209.85.129.104) port 80 (#0)

my curl versions:
not working curl:
# curl --version
curl 7.16.1 (i686-pc-linux-gnu) libcurl/7.16.1 OpenSSL/0.9.7g zlib/1.2.3 c-ares/1.3.2 libidn/0.5.9
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: AsynchDNS IDN Largefile NTLM SSL libz

working curl:
# curl.old --version
curl 7.15.3 (i686-pc-linux-gnu) libcurl/7.15.3 OpenSSL/0.9.7g zlib/1.2.3 c-ares/1.3.0
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: AsynchDNS Largefile NTLM SSL libz

TIA,
Manfred

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Received on 2007-02-01