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

Amos Jeffries squid3 at treenet.co.nz
Mon Dec 1 08:30:58 UTC 2014


-----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-----


More information about the squid-dev mailing list