Hi,
This is the log of the ftp connection to ftp site that accepts anonymous and login/pass� (ftp://login:pass@ftpsite in url). Only Anonymous is used. Not my login / password.
On a ftp site with anonymous login denied, user / password appear in log.
- log of the ftp site with anonymous and login / pass authorized :
2011/12/16 13:46:53.474| ftp>> 220 FTP Server ready.
2011/12/16 13:46:53.474| ftp<< USER anonymous
2011/12/16 13:46:53.500| ftp>> 331 Anonymous login ok, send your complete email address as your password
2011/12/16 13:46:53.500| ftp<< PASS Squid@
2011/12/16 13:46:53.548| ftp>> 230 Anonymous login ok, restrictions apply.
2011/12/16 13:46:53.548| ftp<< TYPE A
2011/12/16 13:46:53.575| ftp>> 200 Type set to A
2011/12/16 13:46:53.575| ftp<< PASV
2011/12/16 13:46:53.601| ftp>> 227 Entering Passive Mode (86,66,22,5,238,97).
2011/12/16 13:46:53.627| ftp<< LIST
2011/12/16 13:46:53.653| ftp>> 150 Opening ASCII mode data connection for file list
2011/12/16 13:46:53.744| ftp>> 226 Transfer complete
2011/12/16 13:46:53.744| ftp<< QUIT
2011/12/16 13:46:53.771| ftp>> 221 Goodbye.
- log of the ftp site with login / pass authorized only :
2011/12/16 13:50:09.781| ftp>> 220 FTP XXXXXXXXXXXXXXXX
2011/12/16 13:50:09.781| ftp<< USER login
2011/12/16 13:50:09.810| ftp>> 331 Password required for login
2011/12/16 13:50:09.810| ftp<< PASS password
2011/12/16 13:50:09.871| ftp>> 230 User login logged in
2011/12/16 13:50:09.871| ftp<< TYPE A
2011/12/16 13:50:09.906| ftp>> 200 Type set to A
2011/12/16 13:50:09.906| ftp<< PASV
2011/12/16 13:50:09.933| ftp>> 227 Entering Passive Mode (86,65,55,2,183,40).
2011/12/16 13:50:09.963| ftp<< LIST
2011/12/16 13:50:09.990| ftp>> 150 Opening ASCII mode data connection for file list
2011/12/16 13:50:10.024| ftp>> 226 Transfer complete
2011/12/16 13:50:10.024| ftp<< QUIT
2011/12/16 13:50:10.055| ftp>> 221 Goodbye.
Regards,
Guillaume
----- Mail original -----
De�: Amos Jeffries <[email protected]>
��: [email protected]
Cc�:
Envoy� le : Vendredi 16 D�cembre 2011 10h22
Objet�: Re: [squid-users] Re : [squid-users] Anonymous FTP and login pass url based
On 16/12/2011 10:15 p.m., Al Batard wrote:
> Hi Amos,
>
> Thanks for your answer.
>
> My problem is if a ftp site use both default anonymous and login/password, squid not send login/password and only use anonymous.
>
>
> I tried without Squid proxy and login/password in url based is ok for this ftp site.
>
> Guillaume
Ah. Thanks.
Can you provide an FTP protocol sequence displaying the error?
You can get a cache.log trace of FTP with "debugs_options 9,2" in any of
the recent Squid releases.
Amos
Received on Fri Dec 16 2011 - 13:24:30 MST
This archive was generated by hypermail 2.2.0 : Mon Dec 19 2011 - 12:00:03 MST