You are not logged in.

#1 2007-10-03 20:26:03

pjock
Member
Registered: 2007-06-23
Posts: 11

proftpd

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? sad

Offline

#2 2007-10-03 21:03:55

Rumor
Member
From: Albany, NY
Registered: 2006-07-07
Posts: 638

Re: proftpd

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 63750

It 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

#3 2007-10-04 11:02:07

pjock
Member
Registered: 2007-06-23
Posts: 11

Re: proftpd

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 write

Offline

#4 2007-10-04 20:27:11

Rumor
Member
From: Albany, NY
Registered: 2006-07-07
Posts: 638

Re: proftpd

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

#5 2007-10-05 12:50:00

pjock
Member
Registered: 2007-06-23
Posts: 11

Re: proftpd

Active fails on LIST command too.. sad

Offline

#6 2007-10-05 20:39:44

Palo
Member
Registered: 2007-03-24
Posts: 3

Re: proftpd

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 hmm
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

#7 2007-10-06 10:19:01

pjock
Member
Registered: 2007-06-23
Posts: 11

Re: proftpd

Actually, it is not only on your side. I have had other friends not be able to connect with the same clients. hmm

Offline

#8 2007-10-14 00:07:49

Rumor
Member
From: Albany, NY
Registered: 2006-07-07
Posts: 638

Re: proftpd

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

Board footer

Powered by FluxBB