Re: [Proftpd-user] mod_proxy

Anton Luka Šijanec <[email protected]> Tue, 25 May 2021 18:10:39 +0200
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
Hello!

Christian AUDEBERT <[email protected]> @ Tue, 25 May 2021 07:34:22 +0200 (CEST):
> do this mod allow to redirect (reverse proxy ) to another proftpd (in container
> for example) based on the domain (not just ip)  ?

The FTP protocol does not have a native way to tell to the server the domain that was used when connecting - unlike HTTP, which has the Host header. With plain FTP it would be impossible to do this.

It could theoretically be done if the connection is done via a secure connection layer (FTPS) and the client reported the server name via the TLS SNI extension. I doubt that this is implemented in mod_proxy though.


_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html