You are not logged in.
Pages: 1
Hey
Having some trouble with proftpd.
It times out when listing files for most clients (tested: IglooFTP, pftp-mew, winscp, fireftp, gFTP) - but works with lftp and firefox.
what could be the error? ![]()
Offline
It may be that you have not opened the ports in your firewall for use as passive transfer ports. Do you have a line in your proftpd.conf file that reads something like this?
PassivePorts 63570 63750It is very likely that the clients that cannot connect are trying to use PASV and you have not defined your passive ports in the config file. Either turn off passive mode in teh clients trying to connect or configure and set up the ports for it and see if that resolves the problem for you.
Smarter than a speeding bullet
My Goodreads profile
Offline
Thank you for your reply.
I do have that line in my config, and my ports should be correctly forwarded to the server IP. The forwarded ports are the FTP port and the range between the first number in PassivePorts and the second one. This is the reason why I'm somewhat confused, can't really see what could be the error.. Here's my proftpd.conf:
ServerName "irrelevant"
ServerType standalone
DefaultServer on
Port censored, port above 1024
Umask 022
MaxInstances 30
User ftpd
Group ftpd
DefaultRoot ~
AllowOverwrite on
UseReverseDNS off
IdentLookups off
<Limit SITE_CHMOD>
DenyAll
</Limit>
<Global>
RootLogin off
RequireValidShell on
</Global>
PassivePorts 4000 5000
AllowForeignAddress on
LogFormat default "%h %l %u %t \"%r\" %s %b"
LogFormat auth "%v [%P] %h %t \"%r\" %s"
LogFormat write "%h %l %u %t \"%r\" %s %b"
ExtendedLog /var/log/ftp_auth.log AUTH auth
ExtendedLog /var/log/ftp_access.log WRITE,READ writeOffline
The only thing I can think to try is to try to connect to the server from your client and disable passive on the client. If you do that and the client lists the directories, then you'll know the problem is with the ports on the server.
I've had this same problem, the clients hang when trying to list the directories, and each time I've solved it by correcting an issue with passive transfer.
Smarter than a speeding bullet
My Goodreads profile
Offline
Active fails on LIST command too.. ![]()
Offline
haya pjock ~wave~
Problem seems to be on my side of the line. Other users can connect to his ftp perfectly, just I can't seem to list ![]()
Listing works with firefox, not with any of the ftp clients i tried tho, could there be any option i need to use on my side?
Offline
Actually, it is not only on your side. I have had other friends not be able to connect with the same clients. ![]()
Offline
Whoops, I meant to reply to this days ago and I forgot. I was going to suggest that you install another ftp daemon like vsftpd or pure-ftpd (the one I am currently running). Configure it, stop proftpd and start the other one and see if the problem persists.
Smarter than a speeding bullet
My Goodreads profile
Offline
Pages: 1