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

From: Magali Bernard <Magali.Bernard@dont-contact.us>
Date: Tue, 25 Oct 2005 15:36:43 +0200

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

Regards,

-- 
______________________________________________________________
A: Yes.						Magali BERNARD
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting annoying in email?
Received on Tue Oct 25 2005 - 07:36:48 MDT

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