3

Slow connections with ProFTPD

 3 years ago
source link: https://www.devroom.io/2007/05/29/slow-connections-with-proftpd/?utm_campaign=Feed%3A+ariejan+%28ariejan%7Cdevroom.io%29
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Slow connections with ProFTPD

Posted: 2007-05-29 - Last updated: 2019-06-05

Tagged general features linux ubuntu

My shiny new VPS, which is running Ubuntu Linux, uses ProFTPD for FTP access. Today I noticed that setting up the connection takes about 5 to 10 seconds. This is really annoying when editing files through FTP.

So, I investigated and found that by default ProFTPD tries to revolve the hostname of the client in order to put that in the logs instead of a plain IP address. This lookup can take quite some time, let’s say 5 to 10 seconds, especially when the look up fails and you have to wait on a time-out.

It’s easy to stop ProFTPD from behaving like this by adding the following line to your proftpd.conf in /etc/proftpd:

IdentLookups off

Restart ProFTPD and you’ll have a fast FTP connection to enjoy!

My site is free of ads and trackers. I record privacy-respecting usage statistics with Fathom.

Was this post helpful to you? Why not ☕ Buy me a coffee

Copyright © 1999-2020 Ariejan de Vroom <[email protected]>

Live now; make now always the most precious time. Now will never come again.
    – Jean-Luc Picard


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK