Skip to main content

Extremely painfully slow FTP

Comments

5 comments

  • cPanelMichael
    Hello :) Do you notice any difference when using PureFTPd instead of ProFTPd? Thank you.
    0
  • mtindor
    I wonder: 1. Do you have pureFTPd calling the pure-upload script to scan all of your FTP uploads through CXS / Maldet / ClamAV? That will cause an increase in CPU/memory, but its a small price to pay to scan the uploads Do your uploading and pay attention to what is going on with respect to CXS / ClamAV / Maldet. 2. You mention passive FTP. If you are using passive FTP, do you have passive FTP ports [and enough of them] opened up in your firewall and configured in pureftpd.conf? Almost sounds as if you don't have a passive port range set in /etc/pureftpd.conf -- Or you do but don't have those ports allowed in CSF. Ex: /etc/pureftpd.conf PassivePortRange 30000 35000 /etc/csf/csf.conf TCP_IN = "20,21,22,25,26,53,80,110,113,143,443,465,587,967,993,995,2077,2078,2082,2083,2086,2087,2095,2096,30000:35000" I think with passive FTP, if you had no range set and you had no ports open, you wouldn't even get as far as you have. But it is worth checking to make sure you have PassivePortRange set and you have those ports allowed through CSF. M
    0
  • LaxSlash1993
    I enabled PureFTPd and noticed a big improvement. The PassivePortRanges were enabled and opened as well.... if they weren't open, unless I'm wrong, I wouldn't be able to get a connection out of them period. I can't get Active working at all for whatever reason... I'm forced into using Passive mode. Ports are opened using --add-port=30000-50000/tcp and --add-service=ftp.
    0
  • mtindor
    I enabled PureFTPd and noticed a big improvement. The PassivePortRanges were enabled and opened as well.... if they weren't open, unless I'm wrong, I wouldn't be able to get a connection out of them period. I can't get Active working at all for whatever reason... I'm forced into using Passive mode. Ports are opened using --add-port=30000-50000/tcp and --add-service=ftp.

    I think you'd establish a connection but couldn't list directories, change directories, or transfer files -- or some combination of that. In order for active to work, you have to make sure that TCP 20 and 21 are not blocked. But there is no reason to do that as passive works fine as long as configured properly. From the sound of it everything is working fine now since you switched to PureFTPd upon Michael's recommendation. I wouldn't be concerned that active mode isn't working. active uses TCP 20/21 passive uses TCP 21 and (dynamically) the PassivePortRange M
    0
  • cPanelMichael
    I am happy to see that Pure-FTPd is working better for you. Note that you may find this document helpful regarding active vs passive FTP: How to Enable FTP Passive Mode - cPanel Knowledge Base - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.