Kusprayitna Blogs

Hidup untuk berbagi ilmu :: IT Linux Windows Database Oracle PHP OpenSource

Proftpd response lambat

Posted by kusprayitna on January 14th, 2009

Untuk kesekian kalinya melakukan instalasi ftp server di centos menggunakan proftpd mengalami sedikit kendala, yaitu response untuk memunculkan dialog login dan list file sangat lambat, yaitu sekitar 30 detik sampai satu menit. Akan tetapi untuk koneksinya dan perintah internal ftp server sangat cepat.

Kendala ini dapat diatasi dengan cara berikut :

Tambahkan dalam konfigurasi proftpd.conf data berikut :

1. UseReverseDNS           Off

2. IdentLookups            Off

konfigurasi tersebut diletakkan di bawahnya

# Normally, we want files to be overwriteable.
AllowOverwrite          on

Untuk lebih lengkap konfigurasinya yaitu :

# This is a basic ProFTPD configuration file (rename it to
# 'proftpd.conf' for actual use.  It establishes a single server
# and a single anonymous login.  It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName                      "ITSupport Server"
ServerType                      standalone
DefaultServer                   on

# Port 21 is the standard FTP port.
Port                            21
PassivePorts 9000 9010

# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask                           022

# To prevent DoS attacks, set the maximum number of child processes
# to 30.  If you need to allow more than 30 concurrent connections
# at once, simply increase this value.  Note that this ONLY works
# in standalone mode, in inetd mode you should use an inetd server
# that allows you to limit maximum number of processes per service
# (such as xinetd).
MaxInstances                    30

# Set the user and group under which the server will run.
User                            nobody
Group                           nogroup

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
DefaultRoot ~
#DefaultRoot /var/www/ftproot

# Normally, we want files to be overwriteable.
AllowOverwrite          on
UseReverseDNS           Off
IdentLookups            Off

# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>

# A basic anonymous configuration, no upload directories.  If you do not
# want anonymous users, simply delete this entire <Anonymous> section.

Alhamdulillah sekarang FTP servernya sudah sangat cepat bak kilat menyambar di sianghari bolong

One Response to “Proftpd response lambat”

  1. games clup Says:

    tanks infonya dah saya coba dan sukses

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>