LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   proftpd connecting too slow (https://www.linuxquestions.org/questions/slackware-14/proftpd-connecting-too-slow-293655/)

jiawj 02-22-2005 09:13 PM

proftpd connecting too slow
 
Hello, everyone

I build ftp service via proftpd,and it worked.
but ...

I connect the ftp server, displayed

Quote:

Control connection successfully established.
then I had to wait too long for logon the server

I think the reason that so slow is ftp server reverse my IP to my hostname,
then I put the line append /etc/hosts

Quote:

192.168.123.234 darkstar
but can't get rid of the trouble.

who can tell me how to forbid the dns reverse for proftpd, thanks.

carboncopy 02-22-2005 09:44 PM

Well, proftpd config file is at
Code:

/etc/proftpd.conf
But I don't see any reverse lookup there. I have the same problem with 2 different Slackware machine. Anyhow, I do not use ftp anymore. Just sftp :)

Ilgar 02-22-2005 10:50 PM

This probably isn't the issue here, but just in case...

When I compiled my 2.6.10 kernel, I marked 2 experimental options about my ethernet card driver (tulip). Later I forgot about that and until I remembered it, I was wondering why it was taking so long (~30 secs) to get a login prompt in ssh, ftp etc.. My http download speeds were not affected but ssh, sftp were extremely "laggy".

carboncopy 02-22-2005 11:57 PM

No, that wasn't the issue with me at all. Lag only happens with ftp and ftp alone. ssh, sftp, http all other network related stuff is normal.

jp_ 02-23-2005 01:04 AM

proftpd is nice... but vsftpd is WOW!

The delay after logging in could be helped with passive ftp. At least that sounds like what your problem is.

jiawj 02-23-2005 03:43 AM

following lines come from proftpd faq:
Quote:

6. "Fatal: unable to determine IP address of "hostname:
The hosting machine has a poorly configured hostname setup to the point where the resolver library cannot determine the IP from the name. Solutions include, fixing the DNS for the domain, fixing the hostname, fixing the /etc/hosts file. Which one works for you will largely depend on your OS and exactly what is wrong.
so , I think the problem that ftp logon slow concerned IP and HOSTNAME reverse lookup :rolleyes:

jawkins 02-24-2005 11:23 AM

Re: proftpd connecting too slow
 
Quote:

Originally posted by jiawj
who can tell me how to forbid the dns reverse for proftpd, thanks.
UseReverseDNS off

Jim

jiawj 02-24-2005 09:34 PM

Quote:

13. Slow logins

This is probably caused by a firewall or DNS timeout. By default ProFTPD will try to do both DNS and ident lookups against the incoming connection. If these are blocked or excessively delayed a slower than normal login will result. To turn off DNS and ident use:

UseReverseDNS off
IdentLookups off

I find above message from faq

thanks very much


All times are GMT -5. The time now is 04:54 AM.