Speed up a slow Proftpd connection

Posted: มกราคม 3, 2007 in Computers and Internet
Speed up a slow Proftpd connection

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

then simply add the following lines:

UseReverseDNS off
<Global>
DefaultRoot ~
ServerIdent on "FTP Server ready."
IdentLookups off
</Global>

Note: the UseReverseDNS off does NOT work within the <Global></Global> tag!

Now restart proFTPd

/etc/init.d/proftpd restart

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

Reference :
http://www.outofcontrol.ca/2005/11/20/speed-up-a-slow-proftpd-connection/
http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-BCP.html

Advertisements

ใส่ความเห็น

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / เปลี่ยนแปลง )

Twitter picture

You are commenting using your Twitter account. Log Out / เปลี่ยนแปลง )

Facebook photo

You are commenting using your Facebook account. Log Out / เปลี่ยนแปลง )

Google+ photo

You are commenting using your Google+ account. Log Out / เปลี่ยนแปลง )

Connecting to %s