osdir.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [users@httpd] configuring mod_proxy_ftp for client ip logging


If I understand your question, mod_proxy_ftp does not speak ftp to the client; only between the httpd server and backend. So the only data channel is the one established by httpd to shuttle the data.



On Tue, Jul 24, 2018, 12:28 Harbo, Peter <pharbo@xxxxxxxxxxxxxxx> wrote:
The mod_proxy_ftp module is working fine for me using release 2.4.25 to send urls matching a pattern to a proftpd server running on the same system.  I have noticed that the source IP address in the ftpd log is the same as the httpd running the mod_proxy_ftp module.  Am I correct in assuming that neither mod_remoteip nor any other configuration options of httpd can cause httpd's ftp proxy module to spoof the IP address of the client sending the request to httpd?  Otherwise this works nicely but we need the correct IP addresses in the proftpd log for metrics.