Re: Fwd: [squid-users] FTP issues

From: Kevin Kimani <kevinkimani_at_gmail.com>
Date: Fri, 21 Aug 2009 12:43:46 +0300

This is wat i get in Filezilla
"12:40:06 Status: Connecting to www.icuh2009.org through proxy
12:40:06 Status: Connecting to 10.176.203.200:8080...
12:40:06 Status: Connection with proxy established, performing handshake...
12:40:06 Response: Proxy reply: HTTP/1.0 200 Connection established
12:40:06 Status: Connection established, waiting for welcome message...
12:40:06 Response: 220 Karibu! SawaSawa.com FTP Server - Ready...
12:40:06 Command: USER xxxxxxx
12:40:06 Response: 331 Password required for icuh2009.org.
12:40:06 Command: PASS ****************
12:40:06 Response: 230-Disk Quota - Current : 178.827 MBytes - Max :
976.563 MBytes - Available : 797.736 MBytes
12:40:06 Response: 230 User icuh2009.org logged in.
12:40:06 Command: CLNT FileZilla
12:40:06 Response: 200 Noted.
12:40:06 Command: OPTS UTF8 ON
12:40:06 Response: 200 UTF8 OPTS ON
12:40:06 Status: Connected
12:40:06 Status: Retrieving directory listing...
12:40:06 Command: PWD
12:40:06 Response: 257 "/" is current directory.
12:40:06 Command: TYPE I
12:40:06 Response: 200 Type set to I.
12:40:06 Command: PASV
12:40:06 Response: 227 Entering Passive Mode (80,240,192,165,13,182)
12:40:06 Command: LIST
12:40:06 Status: Connecting to 10.176.203.200:8080...
12:40:06 Status: Connection with proxy established, performing handshake...
12:40:06 Response: Proxy reply: HTTP/1.0 403 Forbidden
12:40:06 Error: Proxy handshake failed: ECONNRESET - Connection reset by peer
12:40:27 Error: Connection timed out
12:40:27 Error: Failed to retrieve directory listing"

Then from access.log in squid:-
"1250847708.496 1 10.176.203.85 TCP_DENIED/403 1423 CONNECT
80.240.192.165:3510 - NONE/- text/html
1250847729.392 21724 10.176.203.85 TCP_MISS/200 486 CONNECT
www.icuh2009.org:21 - DIRECT/80.240.192.165 -"

Please do help.

Regards
On Fri, Aug 21, 2009 at 11:37 AM, Amos Jeffries<squid3_at_treenet.co.nz> wrote:
> Indunil Jayasooriya wrote:
>>
>> Amos, i want to access www.icuh2009.org. Am using Filezilla. Not sure
>> what you mean by the connect method!
>>
>>
>> Pls try below  via firefox or IE
>>
>>
>> ftp://user:pass@www.icuh2009.org/
>>
>
> Works fine for me.
>
> FileZilla is not a web browser though. It is an FTP agent doing native FTP
> protocol. Squid is an HTTP proxy and only understands HTTP.
>
> FileZilla docs say HTTP/1.1 proxy supported. I'm not sure if that really
> implies HTTP/1.0 proxy such as Squid are supported at all.
>
> So...
>
>  * Make sure that FileZilla is configured to use Squid as the HTTP proxy
> (only!)
>  * make a request or two
>  * check your Squid access.log for that domain name and see how FileZilla is
> trying to use the proxy.
>
> If it says CONNECT, you will have to add the ports it uses (21) to the
> SSL_ports and Safe_ports lists will be enough.
>
> "acl FTP proto FTP" only covers URL with ftp:// in them. Not native FTP nor
> CONNECT-tunnelled traffic.
>
> Amos
> --
> Please be using
>  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE18
>  Current Beta Squid 3.1.0.13
>
Received on Fri Aug 21 2009 - 09:44:15 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 21 2009 - 12:00:03 MDT