When receiving a request for a proxied FTP URL, mod_proxy_ftp attempts to retrieve the file by means of EPSV. The remote server accepts the EPSV command and returns an IP address and port to connect to. The proxy attempts to connect the target. The intervening firewall does not understand EPSV and refuses to allow the connection. The proxy request fails. Reproducible: Always Steps to Reproduce: 1. Configure mod_proxy to proxy FTP requests. 2. Put the proxy behind a strict firewall that restricts outbound connections. 3. Attempt to retrieve a file from an FTP server that supports EPSV. Actual Results: The retrieval fails as noted above. Expected Results: mod_proxy_ftp should observe that the data connection failed and try again using PASV, which the intervening firewall understands. Alternatively, a configuration option should be included in mod_proxy_ftp to disable EPSV.
please report this bug upstream, or attach a patch to fix this problem
Upstream already has a report on a similar issue (https://issues.apache.org/bugzilla/show_bug.cgi?id=35280) which has been around for over a year and still hasn't had its patch integrated. Will close this bug once that one is fixed, assuming it includes my issue.