PROFTPD no transfer timeout, disconnected
Posted: Mon Jun 02, 2008 11:24 am
Unable to ftp to server using TLS/SSL (using addition to /etc/proftpd.conf - see * below). Thought there might be a problem with PSA certificate so tried a plain-text ftp login (removed tls addition first) and still no joy. Not sure what other change may have caused this? Upgraded to Plesk 8.4, but uploads worked OK the day after...
Here's a snippet of cuteftp log:
I can use SFTP, but this requires me to relax security to use SSH this way. Spent most of the day investigating this with no solution, has anyone else experienced this or suggest anything else to try...
* Custom adddition to /etc/proftpd.conf
/var/log/tls.log contains the following when TLS connection is used:
Thanks for any suggestions or ideas you may have.
Here's a snippet of cuteftp log:
And /var/log/messages:STATUS:> [02/06/2008 15:16:41] Connecting to FTP server... IP_ADDRESS_REMOVED:21 (ip = IP_ADDRESS_REMOVED)...
STATUS:> [02/06/2008 15:16:41] Socket connected. Waiting for welcome message...
[02/06/2008 15:16:41] 220 ProFTPD 1.3.1 Server (ProFTPD) [IP_ADDRESS_REMOVED]
STATUS:> [02/06/2008 15:16:41] Connected. Authenticating...
COMMAND:> [02/06/2008 15:16:41] USER USER_NAME_REMOVED
ERROR:> [02/06/2008 15:17:51] Timeout (60000 ms) occurred on receiving server response.
So thinking it was over-zealous firewall settings blocking packets, went as far as disabling Firewall on local PC (McAfee), router/modem and server (PSA-Firewall). Still no joy and same response.Jun 2 15:16:41 HOST_REMOVED proftpd[12014]: DOMAIN_REMOVED (IP_ADDRESS_REMOVED) - FTP session opened.
Jun 2 15:16:51 HOST_REMOVED proftpd[11874]: DOMAIN_REMOVED (IP_ADDRESS_REMOVED) - FTP no transfer timeout, disconnected
Jun 2 15:16:51 HOST_REMOVED proftpd[11874]: DOMAIN_REMOVED (IP_ADDRESS_REMOVED) - FTP session closed.
I can use SFTP, but this requires me to relax security to use SSH this way. Spent most of the day investigating this with no solution, has anyone else experienced this or suggest anything else to try...
* Custom adddition to /etc/proftpd.conf
Code: Select all
# TLS
<IfModule mod_tls.c>
TLSEngine on
TLSLog /var/log/tls.log
TLSProtocol SSLv23
TLSRequired on
TLSOptions NoCertRequest
TLSRSACertificateFile /usr/local/psa/admin/conf/httpsd.pem
TLSRSACertificateKeyFile /usr/local/psa/admin/conf/httpsd.pem
TLSVerifyClient off
</IfModule>
ListOptions -a
Jun 02 16:14:09 mod_tls/2.1.2[17133]: using default OpenSSL verification locations (see $SSL_CERT_DIR environment variable)
Jun 02 16:14:09 mod_tls/2.1.2[17133]: TLS/TLS-C requested, starting TLS handshake
Jun 02 16:14:10 mod_tls/2.1.2[17133]: TLSv1/SSLv3 connection accepted, using cipher DHE-RSA-AES256-SHA (256 bits)
Jun 02 16:14:10 mod_tls/2.1.2[17133]: set RSA blinding on
Thanks for any suggestions or ideas you may have.