In ftp.c I see the following segments:
typedef struct _Ftpdata {
StoreEntry *entry;
request_t *request;
......
char *proxy_host;
.....
and also:
static void
ftpSendUser(FtpStateData * ftpState)
{
if (ftpState->proxy_host != NULL)
snprintf(cbuf, 1024, "USER %s@%s\r\n",
ftpState->user,
ftpState->request->host);
else
snprintf(cbuf, 1024, "USER %s\r\n", ftpState->user);
ftpWriteCommand(cbuf, ftpState);
ftpState->state = SENT_USER;
}
Which on a quick look seems to be a 'hook' for proxy hosts on FTP although
it would take some work to get going probably.
Ian
-----Original Message-----
From: Henrik Nordstrom [mailto:hno@hem.passagen.se]
Sent: Wednesday, August 23, 2000 03:06
To: Ian Spare
Cc: 'squid-users@ircache.net'
Subject: Re: [SQU] FTP proxy
Ian Spare wrote:
> However, I can't see anyway to get Squid to use an FTP proxy using the
> user@host method of using a proxy. But I do see in the code there is some
> provision for an FTP proxy but this doesn't seem to be used at present.
Not aware of any such code in the Squid sources.. what exactly are you
refering to here?
-- Henrik Nordstrom Squid Hacker -- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Wed Aug 23 2000 - 01:19:20 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:55:04 MST