Promo

 

VSFTPD atau "Very Secure FTP Daemon" merupakan sebuah ftp server untuk UNIX-like systems dan juga linux. vsftpd disebut sebut sebagai sebuah ftp server yang secure dan cepat. Menurut pembuatnya, Chris Evans, seorang ahli keamanan jaringan, vsftpd merupakan server FTP yang stabil. Selain itu, vsftpd dikembangkan di bawah licensi GNU.

Berikut beberapa Fitur vsftpd

* Virtual IP configurations
* Virtual users
* Standalone or inetd operation
* Powerful per-user configurability
* Bandwidth throttling
* Per-source-IP configurability
* Per-source-IP limits
* IPv6
* Encryption support through SSL integration
* dsb

Ada beberapa alasan kenapa anda harus mencoba vsftpd

1. Sekuriti
2. Performance
3. Kestabilan

Beberapa situs ternama termasuk situs FreeBSD menggunakan vsftpd, hal ini berdasarkan data dari situs http://vsftpd.beasts.org/ Data pada Juni 2004 menyebutkan bahwa beberapa site di bawah ini menggunakan vsftpd.

* ftp.redhat.com
* ftp.suse.com
* ftp.debian.org
* ftp.openbsd.org
* ftp.freebsd.org
* ftp.gnu.org
* ftp.gnome.org
* ftp.kde.org
* ftp.kernel.org
* rpmfind.net
* ftp.linux.org.uk
* ftp.gimp.org
* ftp-stud.fht-esslingen.de
* gd.tuwien.ac.at
* ftp.sunet.se
* ftp.ximian.com
* ftp.engardelinux.org
* ftp.sunsite.org.uk
* ftp.isc.org

So tunggu apa lagi, tidak ada alasan untuk tidak mencoba vsftpd sebagai FTP server anda.

Berikut ini tahapan singkat untuk memulai mencoba vsftpd.

Langkah pertama, login ke server freebsd anda sebagai root.

login as: ogeb
Using keyboard-interactive authentication.
Password: *******

indofreebsd#

Selanjutnya kita cari ports database pada koleksi ports kita.

indofreebsd# cd /usr/ports/

indofreebsd# make search name=vsftpd
Port: vsftpd-2.0.5
Path: /usr/ports/ftp/vsftpd
Info: A FTP daemon that aims to be "very secure"
Maint: dinoex@FreeBSD.org This e-mail address is being protected from spambots. You need JavaScript enabled to view it
B-deps:
R-deps:
WWW: http://vsftpd.beasts.org/

Kita install nyok vsftpd nya. kita lakukan installasi vsftpd sederhana dulu untuk perkenalan.

indofreebsd# cd /usr/ports/ftp/vsftpd

indofreebsd# make install clean

Options for vsftpd 2.0.6
[ ] RC_NG install RC_NG script
[ ] VSFTPD_SSL Include support for SSL
[ OK ] Cancel

tab ke OK lalu enter.

Wow sekali lagi kita telah dimanjakan oleh ports, maka berbahagialah.

===> Compressing manual pages for vsftpd-2.0.6
===> Registering installation for vsftpd-2.0.6
===> SECURITY REPORT:
This port has installed the following files which may act as network
servers and may therefore pose a remote security risk to the system.
/usr/local/libexec/vsftpd

If there are vulnerabilities in these programs there may be a security
risk to the system. FreeBSD makes no guarantee about the security of
ports included in the Ports Collection. Please type 'make deinstall'
to deinstall the port if this is a concern.

For more information, and contact details about the security
status of this software, see the following webpage:
http://vsftpd.beasts.org/

Lalu mulai lah edit konfigurasi vsftpd.conf nya

indofreebsd# nano /usr/local/etc/vsftpd.conf

background=YES
listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
nopriv_user=vsftpd
chroot_local_user=YES
pam_service_name=vsftpd
guest_enable=YES
guest_username=vsftpd
local_root=/home/$USER
user_sub_token=$USER
virtual_use_local_privs=YES
secure_chroot_dir=/usr/local/share/vsftpd/empty

Kemudian edt bagian rc.conf masukan baris di bawah ini pada rc.conf anda.

vsftpd_enable="YES"

lalu adduser vsftpd

pw adduser vsftpd

Jalankan vsftpd server anda dengan mengetikan perintah.

indofreebsd# /usr/local/etc/vsftpd.sh start
Starting vsftpd.

Akhirnya kita mempunyai ftp server. Ayo test ftp server kita...!!!

C:\>ftp movie.indofreebsd.or.id
Connected to movie.indofreebsd.or.id.
220 (vsFTPd 2.0.7)
User (movie.indofreebsd.or.id:(none)): ogeb
331 Please specify the password.
Password:
230 Login successful.
ftp> ls -al
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
drwxr-xr-x 2 1002 0 512 Aug 28 04:46 .
drwxr-xr-x 2 1002 0 512 Aug 28 04:46 ..
-rw-r--r-- 1 1002 0 751 Jul 23 07:03 .cshrc
-rw-r--r-- 1 1002 0 248 Jul 23 07:03 .login
-rw-r--r-- 1 1002 0 158 Jul 23 07:03 .login_conf
-rw------- 1 1002 0 373 Jul 23 07:03 .mail_aliases
-rw-r--r-- 1 1002 0 331 Jul 23 07:03 .mailrc
-rw-r--r-- 1 1002 0 766 Jul 23 07:03 .profile
-rw------- 1 1002 0 276 Jul 23 07:03 .rhosts
-rw-r--r-- 1 1002 0 975 Jul 23 07:03 .shrc
-rw-r--r-- 1 1002 0 8225342 Aug 28 04:46 aa.tar.gz
-rw------- 1 1002 0 8141 Jul 25 16:54 logo.gif
-rw------- 1 1002 0 6110 Jul 25 21:48 logomes
226 Directory send OK.
ftp: 844 bytes received in 0.01Seconds 56.27Kbytes/sec.
ftp>

Sampe di sini kita udah selesai menginstalasi vsftpd sebagai ftp server kita. Semoga berhasil,
 
Top