Information and Links

Join the fray by commenting, tracking what others have to say, or linking to it from your blog.


Other Posts

Speed up a slow Proftpd connection

Posted by plattapuss on November 20th, 2005

When you make a connection to your server, does it take forever? If so then you might be experiencing ProFTPd's attempt at doing a reverse DNS lookup.

To remedy this problem, we are going to add a few lines to the proftpd configuration file for the Ensim webppliance.

Using your favourite text editor--I use PICO here as most beginner level people use it--to modify the following file:

/etc/proftpd/proftpd.conf.wp

If the file was empty then simply add the following lines:

UseReverseDNS off
<Global>
IdentLookups off
</Global>

Then save the file with CTRL-x and then Y.

Now restart proFTPd:

/etc/init.d/proftpd restart

Then try to log into your server again. A connection should be made almost instantly.

Note: You might need to wait a few minutes to connect again, or kill any ftp connections on the server, if you still experience a slow connection time.



Reader Comments

Many thanks…. easy and effective config to speed up my ftp connections.

Nice … i was having exactly the same problem, and this hint help me. Thanks

Thanks! This was exactly what I was looking for and it helped.
One little note though:
I am using Debian etch and there is no file /etc/proftpd/proftpd.conf.wp.

So I simply added the lines
UseReverseDNS off
IdentLookups off
directly into /etc/proftpd/proftpd.conf.

Worked great!

i simply added IdentLookups off, it fixed my problem, a let reverse dns lookups on, because the most time demandig task is waiting for the never finishing ident lookup in case of clients behind a router or firewall.. and nowadays noone connects directly, everyone has a small lan at home etc,so ident off and thats all, thanx

Thaks! It’s work. I’m happy.
Also I added server name to my host file(/etc/hosts).