Re: Timeout While Retrieving Directory Listing
DervishD <[email protected]> Thu, 19 Jan 2006 16:34:33 +0100
| Newsgroups | gmane.network.pureftpd.user |
|---|---|
| Organization | DervishD |
| Message-ID | <20060119153433.GB14315@DervishD> |
Hi Jason :) * Whaley, Jason <[email protected]> dixit: > I disabled passive connections in Filezilla (my test ftp client), > and I am receiving the same timeout. My problem was not with passive connections, but with *extended* passive connections. Anyway, this problem doesn't seem to be related with that. > I used ftp from the command line from my work machine and I could > connect and be placed in the chroot'ed directory for the ftp user. > However, an issuance of dir or ls takes 60 seconds exactly > everytime to complete from the command line ftp, but does work. > The behavior of ls and dir is that the output is shown, but hangs > for 60 seconds, then the report is shown. I had exactly the same problem with the default ftp server (I don't remember which one) under SuSE five years ago. I don't remember if I finally solved it. > Could this be a port issue when connecting from a client? It seems > to me it may be something network related since ftp'ing from > localhost works flawlessly. You have to make sure that you're using the correct range of ports for passive mode (the same that your OS says you can use. Under Linux, you can find those under /proc/sys/net/ipv4/ip_local_port_range). I must confess that I'm completely lost with your problem. If I were you, I would try, in this order: - Try a few ftp clients. Some of them are extremely dumb and may need workarounds in the server (since fixing proprietary clients is impossible). - Try another ftp server in the machine to see if the problem is pure-ftpd's fault or network's fault. - Try a precompiled version (or a prepackaged one, if you happen to be using a distribution instead of a DIY box). - Locate where the heck the server is spending those 60 seconds (or the client, if the delay is client's fault). - Sniff the network traffic when the delay occurs, just to make sure the problem is not an obvious one (cabling, devices, etc.). If other ftp servers work OK, then the problem is related to pureftpd (at least partially) and then you should try to track down where the server is sleeping, or use the other ftp server if time is an issue. If you want me to try your server, just tell. On the other hand, if you need to test your clients against a working pureftpd, just tell me and I'll give you a disposable account in my pureftpd so you can test if the problem exists too. Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 | http://www.dervishd.net http://www.pleyades.net & http://www.gotesdelluna.net It's my PC and I'll cry if I want to... --------------------------------------------------------------------- To post a new message, e-mail: [email protected] To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]