question about directive ProxyDirectoryListPolicy
When I use the filezilla client to directly connect to the vsftpd server, the client displays as shown below:
When I use the proxy and configure this #21 directive, the client displays as shown below:
The difference between the above two pictures is that after using the proxy, the file list of the remote site is not output.Can you tell me the reason?
The configuration is as shown below:
Could you provide the full mod_proxy config you're using (not just screenshots), along with ProFTPD debug logging and the ProxyLog, please?
Also, it looks like FileZilla is using the MLSD FTP command, and you have configured mod_proxy to "translate" that into the LIST FTP command. What happens if you remove that ProxyDirectoryListPolicy directive?
Also, it looks like FileZilla is using the
MLSDFTP command, and you have configured mod_proxy to "translate" that into theLISTFTP command. What happens if you remove thatProxyDirectoryListPolicydirective?
Yes, you are right. The phenomenon is actually the same as this issue #21 I configured and used the ProxyDirectoryListPolicy command to solve the problem of filezilla sending the MLSD command and vsftpd not supporting this command, causing the connection to fail and reporting an error directly. Like this :
Could you provide the full mod_proxy config you're using (not just screenshots), along with ProFTPD debug logging and the
ProxyLog, please?
Sorry, since I am on the intranet, it is more convenient for me to use screenshotsThe configuration is as follows:
log like this :
Hmm. I see some unknown configuration directives in your configuration:
KafkaLogSwitch on
UploadCheckSwitch on
UploadCheckTemplateCode 1
DownloadCheckSwitch on
DownloadCheckTemplateCode 1
as well as some unknown log messages:
<proxy:11> SendDelPolicy :http_policy_data_link_id 800003 del ok
which suggest that you are running with some custom patches/changes. Without knowing that those customizations are, what they do, I cannot say whether they are related to any issues you are seeing.
One thing you might try is to disable MLSD support in ProFTPD, so that FileZilla uses LIST, by adding this to your configuration:
<IfModule mod_facts.c>
FactsAdvertise off
</IfModule>
See FactsAdvertise for details.