DrFTPD

DrFTPD

DrFTPD is a distributed FTP daemon written by Morgan Christiansson in Java. It is unique because it does not handle transfers like normal FTP servers. Instead of conventional server ↔ client transfer, DrFTPD is set up with a master and a collection of file transfer slaves that handle the file transfers, you can have as many file transfer slaves as you like. Some names that could be used to describe this is FTP site merger, FTP cluster, FTP grid or multi-site bnc.

What is unique with DrFTPD is that not only can it use master ↔ client for control connections and slave ↔ client for (most) data transfers, but it works with existing FTP software, you can use the FTP application you're used to and make site-to-site (FXP) transfers with normal FTP servers. The only exception is with passive (PASV) mode, for this the client needs to support the PRET protocol extension. PRET is already supported in several of the most widely used FTP applications. You can often do without PASV mode unless you are behind a firewall which you don't have access to or you need to FXP with another DrFTPD server or a server which doesn't support PASV.

Distribution of Assets

Since DrFTPD uses transfer slaves for all file storage and transfers, it supports but doesn't require a file transfer slave to be run locally. The master therefore uses very little bandwidth: FTP control connection, data connections for file listings and RMI calls to the slaves.

Bandwidth

DrFTPD uses the slave with least bandwidth used for uploads (and downloads, but only those that have the file can be used), and uses a different slave per file. When files are uploaded to the server each one can, and under the default setup will, end up on a different transfer slave. This maximizes available resources on a busy FTP server.

Virtual Filesystem

DrFTPD's approach to file transfers is not its only unique aspect. Because of the distributed architecture, it was necessary to build a virtual file system under which DrFTPD operates.

The master has a filelist that keeps track of which slaves have which files. A file can exist on multiple slaves for redundancy and more bandwidth.

When a slave is started, it gathers a file list and sends the entire list to the master. The master merges this list with its existing file list and makes sure that it is in sync with its existing file list by adding and removing files to its own list.

All ownership information, creation times, permissions, etc are stored in the virtual filesystem, and such information provided by the host filesystem is ignored.

Pros & Cons

Pros

*It is completely multi-platform running on any environment that you can run java on.
*The userlist and filesystem in DrFTPD is completely virtual, and this server is among the few that do not require administrative privileges to run.
*The slave is kept thin/dumb and isn't told anything about users. It simple transfers the files where the master tells it to transfer them to and from. This is also an advantage as it simplifies administration of the slaves.

Cons

*Because the master doesn't have any files locally, traditional external scripts won't work, so no compatibility can be made for them (unless you can wrap the O/S APIs to DrFTPD APIs).

ee also

* glFTPd
* ioFTPD

External links

* [http://www.drftpd.org Drftpd Wiki]
* [http://www.drftpd.org/phpBB2/ Drftpd Forum]
* [https://trac.drftpd.org/ Drftpd Trac]
* [http://sourceforge.net/projects/drftpd Sourceforge project]


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Topsite (warez) — Not to be confused with a website ranking system, Topsite is a term used by the warez scene to refer to high speed FTP servers used by release groups and couriers for distribution, storage and archiving of warez releases. Topsites have very high… …   Wikipedia

  • Glftpd — is a freely available FTP server which runs on Unix, Linux, and BSD operating systems. Overview glFTPd stands for GreyLine File Transfer Protocol Demon . It was named after the initial developer GreyLine . The first public release of glFTPD dates …   Wikipedia

  • IoFTPD — is a FTP server available for 32 bit Windows operating systems. Overview Originally written by dark0n3, who sold to a company called inicom. Inicom eventually ended up making the source publicly available (open source). See also * glFTPd * DrFTPD …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”