2010/3/17 Daniel Stenberg <[email protected]> > Then something is really wrong. We have test cases that verify this > funcionality so the basic CONNECT stuff should work. Did you mention what > libcurl version and OS this is?
That promises full output: * About to connect() to proxy 192.168.5.1 port 8080 (#0) * Trying 192.168.5.1... * connected * Connected to 192.168.5.1 (192.168.5.1) port 8080 (#0) * Establish HTTP proxy tunnel to server.com:21 * Proxy auth using Basic with user 'proxy_user' * Server auth using Basic with user 'ftp_user' > CONNECT server.com:21 HTTP/1.1 Host: server.com:21 Proxy-Authorization: Basic aXTHR5bSE= Proxy-Connection: Keep-Alive < HTTP/1.0 200 Connection established < * Proxy replied OK to CONNECT request < 220 (vsFTPd 1.2.1) > USER ftp_user < 331 Please specify the password. > PASS ftp_paswd < 230 Login successful. > PWD < 257 "/var/www/html/prg" * Entry path is '/var/www/html/prg' > EPSV * Connect data stream passively < 229 Entering Extended Passive Mode (|||35299|) * Trying 192.168.5.1... * connected * Connecting to server.com (192.168.5.1) port 8080 * Establish HTTP proxy tunnel to server.com:35299 * Proxy auth using Basic with user 'proxy_user' * Server auth using Basic with user 'ftp_user' > CONNECT server.com:35299 HTTP/1.1 Host: server.com:35299 Proxy-Authorization: Basic aXbSE= Proxy-Connection: Keep-Alive < HTTP/1.0 403 Forbidden < Server: squid/2.6.STABLE13-20070525 < Date: Thu, 18 Mar 2010 04:03:11 GMT < Content-Type: text/html < Content-Length: 1008 < Expires: Thu, 18 Mar 2010 04:03:11 GMT < X-Squid-Error: ERR_ACCESS_DENIED 0 < X-Cache: MISS from proxy.com < X-Cache-Lookup: NONE from proxy.com:8080 < Via: 1.0 proxy.com:8080 (squid/2.6.STABLE13-20070525) < Proxy-Connection: close < * Received HTTP code 403 from proxy after CONNECT * Closing connection #0 * Failure when receiving data from the peer It seems I have not noticed a substantial part of the message: > 229 Entering Extended Passive Mode (| | | 35299 |) * Trying 192.168.5.1 ... * Connected Now looking at her I realize that I do not rightly understood situation. It looks like I will do as suggested by Michael Wood, or shall request authorization to use all the ports for the CONNECT method on a specific IP address. Thanks for your time.
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
