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

Tsantilas Christos chtsanti at users.sourceforge.net
Mon Dec 1 06:10:03 UTC 2014


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: trunk-FTP-FEAT-error-handling-diff-b-t1.patch
Type: text/x-patch
Size: 3363 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20141201/441ad7c1/attachment.bin>


More information about the squid-dev mailing list