curl-library
Re: proxy support?
Date: Tue, 12 Sep 2006 17:37:20 +0200
On Tue, Sep 12, 2006 at 04:38:13PM +0200, Armel Asselin wrote:
> So without tunneling, does it mean that the FTP RETR would become a HTTP
> GET?
I don't know what other protocols Daniel had in mind, but yes: With FTP,
the client makes a HTTP GET request to the proxy (with the full ftp:// URL
as its Argument), and receives the file as a normal HTTP response.
> If I want to do full FTP (SIZE, RETR, MKDIR...) I must use tunneling,
> isn't it?
I think so, yes! HTTP (more accurately, WebDAV) has some methods e.g. to
create directories, but I have my doubts whether these are turned into
appropriate FTP commands by proxies.
> >Then there's socks4 and socks5 proxies and those are generally not very
> >well supported for anything, but I believe they work at least for plain
> >simple HTTP and probably for FTP too.
> hum it would be interesting to have a clear view of this (not really
> possible to explain to my users this kind of "it may or it may not"), if
> I can make a small table by digging in the code, i'll try to.
AFAIK, SOCKS proxies allow you to forward any type of TCP connection, so
surely most kinds of TCP-based protocols should work fine over a SOCKS
proxy..?
Cheers,
Richard
-- __ _ |_) /| Richard Atterer | GnuPG key: 888354F7 | \/¯| http://atterer.net | 08A9 7B7D 3D13 3EF2 3D25 D157 79E6 F6DC 8883 54F7 ¯ '` ¯Received on 2006-09-12