Pure-Ftpd stops at Command MLSD and Connection timed out Error
by rajesh[ Edit ] 2012-04-16 19:55:24
You can get this error in Pure Ftpd and directory listing may not be successful.
Response: 227 Entering Passive Mode (50,28,68,231,134,40)
Command: MLSD
Error: Connection timed out
Error: Failed to retrieve directory listing
This can happen of csf block ports that might be used by pure ftp in passive mode.
The solution can be found in csf readme itself
For example, with pure-ftpd you could add the port range 30000:35000 to TCP_IN
and add the following line to /etc/pure-ftpd.conf and then restart pure-ftpd:
PassivePortRange 30000 35000
For example, with proftpd you could add the port range 30000:35000 to TCP_IN
and add the following line to /etc/proftpd.conf and then restart proftpd:
PassivePorts 30000 35000