Re: [squid-users] HTTP/1.1 CONNECT truncating

From: Henrik Nordstrom <[email protected]>
Date: Sat, 12 Mar 2005 04:13:10 +0100 (CET)

On Sat, 12 Mar 2005, Louis Solomon [SteelBytes] wrote:

> this doesn't (ftp upload and download via squid):
> curl --upload-file test.zip ftp://ftp.server.tld/ --proxy server:8080
> --proxytunnel
> curl ftp://ftp.server.tld/test.zip --output test2.zip --proxy server:8080
> --proxytunnel
> fc /b test.zip test2.zip

This abused the CONNECT method and is not supposed to work.

> Note: same with all tested clients (curl and smartftp) and servers (iis6 &
> Pure-FTPd on some *nix)

Any client trying to use the CONNECT method for non-SSL traffic will have
problems if the client terminates the connection first.

The CONNECT method is only designed for tunneling of SSL traffic via the
proxy, not other uses.

For general purpose proxying you should use SOCKS.

Regards
Henrik
Received on Fri Mar 11 2005 - 20:13:12 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:02 MST