Speed up Proftpd login for all users

Discussion in 'Tips/Tricks/Mods' started by linuxfast, Sep 16, 2005.

  1. linuxfast

    linuxfast New Member

    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.
    Last edited: Sep 16, 2005
  2. domino

    domino New Member

    Thank you, the speed thing is one of the reasons why I wanted to use pureftpd.
  3. zarkann

    zarkann New Member

    I will try this and tell you.


    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
    Last edited: Sep 30, 2005
  4. linuxfast

    linuxfast New Member

    identlookups off IS already in the file but not in the <global></global> section.

    Put it in there as well.
  5. zarkann

    zarkann New Member

    yeah, it work well , thanks :)
  6. marvel

    marvel New Member

    Also add in configuration:

    UseReverseDNS off
    and restart proftpd
  7. domino

    domino New Member

    For Ubuntu 6.10 add the following to the end of the file. <Global></Global> section doesn't exist.

    IdentLookups off 
    restart: /etc/init.d/proftpd restart
  8. xrat

    xrat Member

    Thanks a bunch, folks! I, too, was missing the <Global> tags.
  9. hairydog2

    hairydog2 New Member

    It needed to be added to my Debian 3.1 setup too, and with UseReverseDNS off as well, it has made a vast improvement.
  10. alexillsley

    alexillsley New Member

    does switching IdentLookups off make it less secure?

    Also what exactly does UseReverseDNS off do?

  11. xrat

    xrat Member

    Last edited: Jan 17, 2007
  12. alexillsley

    alexillsley New Member

    will this only speed up login?
  13. tyson

    tyson New Member

    Thanks for the tip! Logins are near instant now. (had a 10 sec or so delay before.)

Share This Page