[squid-dev] [PATCH] FTP FEAT error handling

Tsantilas Christos chtsanti at users.sourceforge.net
Mon Dec 1 17:22:55 UTC 2014


patch applied to trunk...


On 12/01/2014 10:30 AM, Amos Jeffries wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 1/12/2014 7:10 p.m., Tsantilas Christos wrote:
>> Hi all
>>
>> Some FTP servers respond to a FEAT command with "550 FEAT:
>> Operation not permitted".
>>
>> Squid then sends the following invalid response to the FTP client:
>>
>> FEAT EPRT EPSV 550 FEAT: Operation not permitted
>>
>> This can confuse the client as it is not a valid FEAT response.
>>
>> This patch fixes Squid to always send a valid 211 reply to client
>> which lists at least the EPSV and EPRT ftp commands which supported
>> by Squid regardless of the origin server support.
>>
>> This is a Measurement Factory project
>>
>> Regards, Christos
>>
>
> +1 looks okay.
>
> Amos
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.22 (MingW32)
>
> iQEcBAEBAgAGBQJUfCdBAAoJELJo5wb/XPRjR+cIAJOHZ21sRksj/NchxrjGTc/v
> LhzRbFkhI00Y9XSPNRiOs6GBjDpXoV8o6HYf0pcJDoZ+QZzn1SprnsLldiq+4+c6
> hYHceHsY/nCvaWMRHOp+DAZqL02wpijitypFq76geHOhVYj1N8B7jb3mvGdh1+Tz
> a4PAcG+E8RixGAuXawweQxRffuePS2dJMWze3Q6l2xLi47lNLZNmia2nr89eVOj1
> ZDgNZYpLgKBKkMqbjcxAjXwipSIP6fZ5jamMh+OjkckvPPwM8wi9B7c5ilBhYQyq
> EPYNDv4etPxWE5/jASoEFwZFzQMrdNVAY2QkBRbwIP8qy6THxlbHHNJfTszerXc=
> =YLJL
> -----END PGP SIGNATURE-----
> _______________________________________________
> squid-dev mailing list
> squid-dev at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-dev
>



More information about the squid-dev mailing list