Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate between FTP and SFTP protocols #86

Open
Castaglia opened this issue Oct 14, 2016 · 7 comments
Open

Translate between FTP and SFTP protocols #86

Castaglia opened this issue Oct 14, 2016 · 7 comments
Assignees
Milestone

Comments

@Castaglia
Copy link
Owner

There will be cases where sites wish to use SFTP on the frontend, but use FTP (e.g. to an old/legacy FTP server) on the backend. Or, vice versa, for supporting old/legacy FTP-only clients in talking to an SFTP server.

The mod_proxy module would be in a position to handle such protocol translations, as best as possible.

@mfuterko
Copy link

Hi @Castaglia. That would be great to have such a translation between the protocols. We are trying to put PorFTPd into a Kubernetes cluster and that would be way much easier with the SFTP protocol. Is it something you would prioritize? Thanks, Mike.

@Castaglia
Copy link
Owner Author

With support for proxying of SSH (see Issue #56), mod_proxy now has the basic building blocks needed for implementing this protocol translation feature.

Now the question is: just which protocols need to be translated to/from what? The main use cases I can envision are:

  • translate from frontend SFTP to backend FTP (e.g for providing SFTP access to a legacy FTP-only server)
  • translate from frontend FTP to backend SFTP (not sure where this might be useful, though?)

And then there are things like: how much do people want to support frontend SCP to a backend FTP server?

Please add/contribute your thoughts, use cases to this ticket, to help me understand what kinds of situations you face, where this protocol translation feature will be useful. Thanks!

@kdesjard
Copy link

translate from frontend FTP to backend SFTP (not sure where this might be useful, though?)

Our use case would be to support using an SFTP backend with a legacy application that is only capable of FTP.

@pedanticdan
Copy link

I also am primarily interested in translating FTPS frontend to SFTP backend, to support legacy FTP users while being able to proxy through a firewall without the weird FTP complexities.

@Castaglia
Copy link
Owner Author

@kdesjard @pedanticdan for your frontend FTP/FTPS use cases, would mod_proxy be used as a reverse proxy, or as a forward proxy, to the SFTP backend?

@kdesjard
Copy link

kdesjard commented Jun 5, 2022

Forward, in my case.

@pedanticdan
Copy link

pedanticdan commented Apr 12, 2023

Reverse in my case.

Sorry I only just saw this ... upgrading to ProFTPd 1.3.8 just became a priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants