Unable to connect to FTP - Login timeout

Created:

2016-11-16 13:22:41 UTC

Modified:

2017-04-24 11:32:41 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to connect to FTP - Login timeout

Applicable to:

  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux

Symptoms

Unable to connect to FTP, get:

Login timeout (300 seconds): closing control connection. Login failed.

Cause

The issue can be caused by "poisoned" mod_delay 's cache fileFor example, a malicious client might connect, send a USER command, and then not disconnect for long time. After a few such clients have connected, mod_delay will add a delay for all clients, such that some legitimate clients may time out. In effect, this may look like a sort of denial of service (DoS).

Resolution

Find the proftpd.delay file and remove it, usually it located in /var/proftpd.delay or you can disable mod_delay by adding the following to your /etc/proftpd.conf file:

<IfModule mod_delay.c>
DelayEngine off
</IfModule>
Have more questions? Submit a request
Please sign in to leave a comment.