]> git.ipfire.org Git - thirdparty/squid.git/commit - src/HttpReply.h
Ftp gateway: initial implementation.
authorDmitry Kurochkin <dmitry.kurochkin@measurement-factory.com>
Tue, 16 Apr 2013 13:55:06 +0000 (17:55 +0400)
committerDmitry Kurochkin <dmitry.kurochkin@measurement-factory.com>
Tue, 16 Apr 2013 13:55:06 +0000 (17:55 +0400)
commit434a79b0afab7e27d086920111d3d0fb06a621dd
tree1bbb8dc81c67e16b734840c86609b860a0bd5a8a
parentb69575d6000169401489df0208c92a4b4dd2a38f
Ftp gateway: initial implementation.

The first client command must be USER with
<username>@<hostname>[:<port>] parameter.  Origin server connection is
bound to client connection.  After origin server connection is
established, it cannot be changed, i.e. client cannot connect to
another origin server.  Once server or client connection is closed,
the other side should be closed as well.

Only passive mode is supported on both client and server side.  IPv6
(RFC 2428 EPSV command) is not supported.

Implemented data transfer commands: RETR, LIST, NLST.  Data push
commands (STOR, APPE) are not implemented.

Many rough edges: aborts/timeouts/error handling, logging and more.
21 files changed:
src/FtpGatewayServer.cc [new file with mode: 0644]
src/FtpGatewayServer.h [new file with mode: 0644]
src/FtpServer.cc [new file with mode: 0644]
src/FtpServer.h [new file with mode: 0644]
src/HttpHdrCc.h
src/HttpHeader.cc
src/HttpHeader.h
src/HttpReply.h
src/Makefile.am
src/SquidConfig.h
src/cache_cf.cc
src/cf.data.pre
src/client_side.cc
src/client_side.h
src/client_side_request.h
src/forward.cc
src/ftp.cc
src/ipc/FdNotes.cc
src/ipc/FdNotes.h
src/main.cc
src/tools.cc