LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Connecting to local ProFTPD takes a long time (https://www.linuxquestions.org/questions/linux-networking-3/connecting-to-local-proftpd-takes-a-long-time-263299/)

Dee-ehn 12-06-2004 01:30 PM

Connecting to local ProFTPD takes a long time
 
I have a Gentoo system running the latest version of ProFTPd. When connecting to the FTP server from another system in my network it takes quite a long time (20 seconds or so) before I have to enter the username and the password. I tried different clients etc but that doesn't matter. Once I am connected, the speeds are superb.

If I do a local connect (so ftp localhost) on my Gentoo system, everything is fine and fast.

What could this problem be?

neo77777 12-06-2004 09:34 PM

Check/configure your local DNS. For simplicity put the IP address and hostname of the FTP server on a machine you are using as a ftp client and vise versa put IP and hostname of the FTP client on the FTP server in /etc/hosts file.

jymbo 12-06-2004 10:12 PM

Add this to the global section of your proftpd.conf file:

Code:

UseReverseDNS  off
IdentLookups  off


Dee-ehn 12-07-2004 12:58 AM

Quote:

Originally posted by jymbo
Add this to the global section of your proftpd.conf file:

Code:

UseReverseDNS  off
IdentLookups  off


Thanks man, that did the trick!


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