]> git.ipfire.org Git - thirdparty/squid.git/commit
Initial support for gatewaying FTP EPRT and EPSV commands.
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 4 Nov 2013 23:52:32 +0000 (16:52 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Mon, 4 Nov 2013 23:52:32 +0000 (16:52 -0700)
commit000e664babaf79d53f8f0a009662decebebf5c15
treeb6422883710bf6b4cdf74ad42d45cc962e656d17
parent9d870886ca9593d370ab493f0d85a61e88c6325d
Initial support for gatewaying FTP EPRT and EPSV commands.

Client side validates the IPv6-friendly commands, but the server side
independently decides which of the four standard data connection establishment
commands to use. In practice only PASV and EPSV commands are sent because
Squid still does not support active FTP connections on the server side.

Moved EPSV- and some PASV-handling code from proxy-specific ftp.cc into
general FtpServer.cc for the client-side gateway code to reuse.
src/FtpGatewayServer.cc
src/FtpServer.cc
src/FtpServer.h
src/client_side.cc
src/client_side.h
src/ftp.cc