Open epachirkov opened 5 months ago
The log message "HOST not supported by backend server, ignoring" is not necessarily a problem; it is more informational. It is saying that the backend host (ProFTPD 1.3.5e, in your case) doesn't have support for the HOST
FTP command mentioned in the FEAT
response. The mod_proxy
module will send a HOST
command to the backend server, if it is supported -- but the lack of HOST
support is not a problem.
Your proxied sessions should still work as expected. Do they?
Unfortunately it doesn't work. I don’t understand the problem is in the proxy or in the backend. About HOST error - its only one error in log files.
Backend server (ProFTPD 1.3.5e) work fine if i connect to him directly.
In filezilla, when connecting to a proxy after AUTH TLS, I get a "connection closed by server" error. No errors on auth,
In backend server logs i see only:
`proftpd[3191989] submit-dev (
proftpd[3191989] submit-dev (
Would it be possible to configure your backend ProFTPD 1.3.5e server for debug logging, debug level 10, to get more information on what the errrs might be?
ROOT PRIVS at main.c:1034
SETUP PRIVS at main.c:1039
session requested from client in unknown class
performing module session initializations
mod_unique_id/0.2: generating unique session ID
mod_unique_id/0.2: unique session ID is 'ZoJANgoSAWq84VH9ADOvuajf'
ROOT PRIVS at mod_sql.c:6155
RELINQUISH PRIVS at mod_sql.c:6158
mod_sql/4.3: defaulting to 'mysql' backend
ROOT PRIVS at mod_tls.c:7647
RELINQUISH PRIVS at mod_tls.c:7650
ROOT PRIVS at mod_tls.c:2277
RELINQUISH PRIVS at mod_tls.c:2303
mod_tls/2.6: supporting SSLv3, TLSv1, TLSv1.1, TLSv1.2 protocols
ROOT PRIVS at mod_tls.c:3059
RELINQUISH PRIVS at mod_tls.c:3068
ROOT PRIVS at mod_tls.c:3124
RELINQUISH PRIVS at mod_tls.c:3126
ROOT PRIVS at mod_tls.c:3209
RELINQUISH PRIVS at mod_tls.c:3728
mod_cap/1.1: adding CAP_AUDIT_WRITE capability
mod_ident/1.0: ident lookup disabled
ROOT PRIVS at mod_delay.c:1756
RELINQUISH PRIVS at mod_delay.c:1759
ROOT PRIVS at mod_log.c:2119
RELINQUISH PRIVS at mod_log.c:2122
ROOT PRIVS at mod_auth.c:140
opening scoreboard '/run/proftpd.scoreboard'
RELINQUISH PRIVS at mod_auth.c:142
connected - local : <backend_ip>:221
connected - remote : <proxy_ip>:39597
FTP session opened.
dispatching PRE_CMD command 'FEAT' to mod_exec
dispatching PRE_CMD command 'FEAT' to mod_rewrite
dispatching PRE_CMD command 'FEAT' to mod_tls
dispatching PRE_CMD command 'FEAT' to mod_core
dispatching PRE_CMD command 'FEAT' to mod_core
dispatching CMD command 'FEAT' to mod_core
in dir_check_full(): path = '', fullpath = ''.
dispatching POST_CMD command 'FEAT' to mod_exec
dispatching POST_CMD command 'FEAT' to mod_sql
dispatching LOG_CMD command 'FEAT' to mod_sql
dispatching LOG_CMD command 'FEAT' to mod_log
mod_tls/2.6: scrubbing 1 passphrase from memory
FTP session closed.
scrubbing scoreboard
ROOT PRIVS at scoreboard.c:1541
RELINQUISH PRIVS at scoreboard.c:1544
ROOT PRIVS at scoreboard.c:1575
RELINQUISH PRIVS at scoreboard.c:1681
finished scrubbing scoreboard
Hmm. Those backend logs don't seem to indicate any issue.
Do the logs from the proxy server (ProxyLog
, and/or debug logging) show any other details or clues? Could you provide those logs in full, so we can see what else might be occurring?
Try debug logging with command proftpd -nd10
and see this error.
proftpd: (accepting connections): symbol lookup error: /usr/lib/proftpd/mod_proxy.so: undefined symbol: pr_snprintf
I am attaching the full log file
proftpd.log
Hello, have a problem with configuration. Have 2 proftpd. I want to set up reverse proxy. Frontend (proftpd 1.3.6c, ipv4,ubuntu 20.04,port 22) -> backend (proftpd 1.3.5e, ipv4, ubuntu 18.04, users saved in mysql, port 221)
my log:
My config mod_proxy:
Problem in "HOST not supported by backend server, ignoring"? If yes, how to fix it?