View Full Version : Speed up Proftpd login for all users
linuxfast
16th September 2005, 16:36
Some people (including me) may find that when logging in to proftpd, there is a short pause at the start of the connection.
I use flashfxp and dreamweaver for transferring files via ftp and this small pause can be quite annoying when making small fast changes to files whilst developing sites.
The pause occurs when proftpd is trying to identify the remote username.
In the conf file, IdentLookups may be set to off but this is not for all users.
Edit: /etc/proftpd.conf
In the <Global></Global> section add the line:
IdentLookups off
Don't forget to restart proftpd with:
service proftpd restart
Be aware that the only thing that will change is that the "AuthenticatedUserID" column in the xferlog will be empty.
domino
21st September 2005, 09:41
Thank you, the speed thing is one of the reasons why I wanted to use pureftpd.
zarkann
30th September 2005, 23:49
I will try this and tell you.
EDIT:
It was already at identlookups off.. i'm using it also to upload via total commander in linux. it seems fast but i wanted to look if i could get it to connect faster.
thanks anyway :p
linuxfast
1st October 2005, 02:29
identlookups off IS already in the file but not in the <global></global> section.
Put it in there as well.
zarkann
6th October 2005, 15:43
yeah, it work well , thanks :)
marvel
17th November 2006, 23:08
Also add in configuration:
UseReverseDNS off
and restart proftpd
domino
25th November 2006, 21:08
For Ubuntu 6.10 add the following to the end of the file. <Global></Global> section doesn't exist.
<Global>
IdentLookups off
</Global>
restart: /etc/init.d/proftpd restart
xrat
10th January 2007, 23:09
Thanks a bunch, folks! I, too, was missing the <Global> tags.
hairydog2
13th January 2007, 17:33
For Ubuntu 6.10 add the following to the end of the file. <Global></Global> section doesn't exist.
It needed to be added to my Debian 3.1 setup too, and with UseReverseDNS off as well, it has made a vast improvement.
alexillsley
17th January 2007, 20:47
does switching IdentLookups off make it less secure?
Also what exactly does UseReverseDNS off do?
Thanks,
Alex
xrat
17th January 2007, 21:02
does switching IdentLookups off make it less secure?
No. See http://www.proftpd.org/docs/directives/linked/config_ref_IdentLookups.html
Also what exactly does UseReverseDNS off do?
See http://www.proftpd.org/docs/directives/linked/config_ref_UseReverseDNS.html
Basicly it means that in in your logfiles and debug output you get to see DNS hostnames instead of IP addresses where available.
HTH,
-- xrat
EDIT: fixed a typo.
alexillsley
17th January 2007, 21:24
will this only speed up login?
tyson
13th February 2007, 20:55
Thanks for the tip! Logins are near instant now. (had a 10 sec or so delay before.)
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.