Re: [squid-users] bad ftp connexion for some ftp site, please help

From: Philippe Carbonnier <Philippe.Carbonnier@dont-contact.us>
Date: Tue, 25 Oct 2005 16:14:37 +0200

Magali Bernard a écrit :

>Philippe.Carbonnier@vif.tm.fr said:
>
>
>>when I try in browser url ftp://ftp/samba.org, squid connect and give the
>>ftp page, but when I try ftp://ftp.redhat.com, squid return : Use PORT or
>>PASV first.
>>
>>
>
>No problem for me:
>
>./squidclient ftp://ftp.redhat.com
>HTTP/1.0 200 OK
>Server: squid/2.5.STABLE10-20050610
>Mime-Version: 1.0
>Date: Tue, 25 Oct 2005 13:29:56 GMT
>Content-Type: text/html
>X-Cache: MISS from cache.univ-st-etienne.fr
>Proxy-Connection: close
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
>"http://www.w3.org/TR/html4/loose.dtd">
><!-- HTML listing generated by Squid 2.5.STABLE10-20050610 -->
><!-- Tue, 25 Oct 2005 13:29:56 GMT -->
><HTML><HEAD><TITLE>
>FTP Directory: ftp://ftp.redhat.com
></TITLE>
>....
>
>
>
>># squidclient -v -h x.x.x.x -p 8080 ftp://ftp.redhat.com headers: 'GET ftp://
>>ftp.redhat.com HTTP/1.0 Accept: */*
>>
>>
>
>
>
>>' HTTP/1.0 502 Bad Gateway
>>
>>
> ^^^^^^^^^^^^^
> your problem seems to be here
>
>
Thanks Magali for trying the ftp.redhat.com site. I've search in google for

HTTP/1.0 502 Bad Gateway, but I don't have found anything revelant.

I try with ftp_passive on, and now it works ! Strange...

Regards
Received on Tue Oct 25 2005 - 08:14:50 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:05 MST