UFTP - Encrypted UDP based FTP with multicast


UFTP is an encrypted multicast file transfer program, designed to securely, reliably, and efficiently transfer files to multiple receivers simultaneously. This is useful for distributing large files to a large number of receivers, and is especially useful for data distribution over a satellite link (with two way communication), where the inherent delay makes any TCP based communication highly inefficient. The multicast encryption scheme is based on TLS with extensions to allow multiple receivers to share a common key. UFTP also has the capability to communicate over disjoint networks separated by one or more firewalls (NAT traversal) and without full end-to-end multicast capability (multicast tunneling) through the use of a UFTP proxy server. These proxies also provide scalability by aggregating responses from a group of receivers.

UFTP has been used in the production process of The Wall Street Journal to send WSJ pages over satellite to their remote printing plants, and other users have used it to send to over 1000 receivers.

UFTP is now hosted on SourceForge.

Protocol Summary

A UFTP session consists of 3 main phases: The Announce/Register phase, the File Transfer phase, and the Completion/Confirmation phase. The File Transfer phase additionally consists of the File Info phase and the Data Transfer phase for each file sent.

The Announce/Register phase sets up the multicast file transfer session and negotiates all encryption parameters. The server sends out an announcement over a public multicast address which the clients are expected to be listening on. All subsequent messages from the server go over a private multicast address specified in the announcement. Allowed clients send a registration to respond to the announcement. The server will then send either a confirmation message if encryption is disabled, or the encryption keys for the session if encryption is enabled. If the client receives the encryption keys, it sends an acknowledgment back to the server.

The File Transfer phase starts with the File Info phase for the first file to send. The server sends a message describing the file in question. Besides the name and size of the file, this message describes how the file will be broken down. A file is divided into a number of blocks, and these blocks are grouped into sections. A block is a piece of the file that is sent in a single packet, and a section is a grouping of blocks. The total number of blocks and sections is included in this message.

Continuing the File Transfer phase is the Data Transfer phase for the first file. Data packets, each of which is a block, are sent by the server at a rate specified by the user. Because UDP does not guarantee that packets will arrive in order, each block is numbered so the client can properly reassemble the file. When the server has finished sending all data packets, it sends a message to the clients indicating this.

When a client detects the end of a section or receives an end of file message from the server, and the client has detected one or more missing blocks, the client will send back a message containing a list of NAKs (negative acknowledgments). When the server receives NAKs from one or more clients, it goes back and retransmits any blocks that were NAKed, then continues on sending any untransmitted blocks. When a client has received the entire file, it sends a completion message in response to the server's end of file message. This continues until all clients have either send a completion message or have timed out after the server sent its end of file message.

The File Info phase and the Data Transfer phase are then repeated for each file to be sent during the session.

The Completion/Confirmation phase shuts down the session between the server and clients. It starts with a message from the server indication the end of the session. The clients then respond with a completion message, and the server responds to each completion with a confirmation message.


Documentation

Version 4.x

Protocol details
Server usage
Client usage
Proxy usage
Key management utility usage

Version 3.x

Protocol details
Server usage
Client usage
Proxy usage
Key management utility usage

Downloads

UFTP runs on Solaris, Linux, MacOSX/BSD, and Windows XP/Vista/7. Other UNIX-like operating systems should also work, possibly with minor tweaks. The source code is available in both .zip and .tar format, however the actual code is the same for both. Windows executables are also available for both Windows XP and Windows 7. In the interest of keeping a common code base, a side effect is that the Windows version of the client and proxy will leave a Command Prompt open. This can be worked around by using hidedos, a free utility created by LANDesk for this purpose, which is included in the distribution. Also included are instsrv and srvany (from the Windows Resource Kit) which can be used to run the client or proxy as a Windows service. See the enclosed readme file for details on using these utilities.

NOTE: The Windows XP executable distribution is currently being flagged erroneously as a trojan by Sophos. They have been informed of this, and hopefully should addess the issue in the near future.

  Release Date Source - tar Source - ZIP Windows XP EXEs - ZIP Windows 7 EXEs - ZIP
4.5 8/26/2014 uftp-4.5.tar uftp_src-4.5.zip uftp_exe_XP-4.5.zip uftp_exe_W7-4.5.zip
4.4 7/22/2014 uftp-4.4.tar uftp_src-4.4.zip uftp_exe_XP-4.4.zip uftp_exe_W7-4.4.zip
4.3.1 7/3/2014 uftp-4.3.1.tar uftp_src-4.3.1.zip uftp_exe_XP-4.3.1.zip uftp_exe_W7-4.3.1.zip
4.3 5/27/2014 uftp-4.3.tar uftp_src-4.3.zip uftp_exe_XP-4.3.zip uftp_exe_W7-4.3.zip
4.2 5/12/2014 uftp-4.2.tar uftp_src-4.2.zip uftp_exe_XP-4.2.zip uftp_exe_W7-4.2.zip
4.1.5 3/1/2014 uftp-4.1.5.tar uftp_src-4.1.5.zip uftp_exe_XP-4.1.5.zip uftp_exe_W7-4.1.5.zip
4.1.4 12/5/2013 uftp-4.1.4.tar uftp_src-4.1.4.zip uftp_exe_XP-4.1.4.zip uftp_exe_W7-4.1.4.zip
3.7.3 12/5/2013 uftp-3.7.3.tar uftp_src-3.7.3.zip uftp_exe-3.7.3.zip
4.1.3 10/13/2013 uftp-4.1.3.tar uftp_src-4.1.3.zip uftp_exe_XP-4.1.3.zip uftp_exe_W7-4.1.3.zip
4.1.2 8/20/2013 uftp-4.1.2.tar uftp_src-4.1.2.zip uftp_exe_XP-4.1.2.zip uftp_exe_W7-4.1.2.zip
4.1.1 8/8/2013 uftp-4.1.1.tar uftp_src-4.1.1.zip uftp_exe_XP-4.1.1.zip uftp_exe_W7-4.1.1.zip
4.1 7/30/2013 uftp-4.1.tar uftp_src-4.1.zip uftp_exe_XP-4.1.zip uftp_exe_W7-4.1.zip
4.0 4/27/2013 uftp-4.0.tar uftp_src-4.0.zip uftp_exe_XP-4.0.zip uftp_exe_W7-4.0.zip
3.7.2 3/17/2013 uftp-3.7.2.tar uftp_src-3.7.2.zip uftp_exe-3.7.2.zip
3.7.1 10/21/2012 uftp-3.7.1.tar uftp_src-3.7.1.zip uftp_exe-3.7.1.zip
3.7 6/28/2012 uftp-3.7.tar uftp_src-3.7.zip uftp_exe-3.7.zip
3.6.1 12/12/2011 uftp-3.6.1.tar uftp_src-3.6.1.zip uftp_exe-3.6.1.zip
3.6 12/3/2011 uftp-3.6.tar uftp_src-3.6.zip uftp_exe-3.6.zip
3.5.1 7/10/2011 uftp-3.5.1.tar uftp_src-3.5.1.zip uftp_exe-3.5.1.zip
3.5 6/17/2011 uftp-3.5.tar uftp_src-3.5.zip uftp_exe-3.5.zip
3.4.3 4/23/2011 uftp-3.4.3.tar uftp_src-3.4.3.zip uftp_exe-3.4.3.zip
3.4.2 3/29/2011 uftp-3.4.2.tar uftp_src-3.4.2.zip uftp_exe-3.4.2.zip
3.4.1 2/21/2011 uftp-3.4.1.tar uftp_src-3.4.1.zip uftp_exe-3.4.1.zip
3.4 12/18/2010 uftp-3.4.tar uftp_src-3.4.zip uftp_exe-3.4.zip
3.3.3 11/26/2010 uftp-3.3.3.tar uftp_src-3.3.3.zip uftp_exe-3.3.3.zip
3.3.2 10/13/2010 uftp-3.3.2.tar uftp_src-3.3.2.zip uftp_exe-3.3.2.zip
3.3.1 7/18/2010 uftp-3.3.1.tar uftp_src-3.3.1.zip uftp_exe-3.3.1.zip
3.3 7/8/2010 uftp-3.3.tar uftp_src-3.3.zip uftp_exe-3.3.zip
3.2.1 6/16/2010 uftp-3.2.1.tar uftp_src-3.2.1.zip uftp_exe-3.2.1.zip
3.2 5/30/2010 uftp-3.2.tar uftp_src-3.2.zip uftp_exe-3.2.zip
3.1 4/6/2010 uftp-3.1.tar uftp_src-3.1.zip uftp_exe-3.1.zip
3.0 3/11/2010 uftp-3.0.tar uftp_src-3.0.zip uftp_exe-3.0.zip
2.10.3 1/21/2010 uftp-2.10.3.tar uftp_src-2.10.3.zip uftp_exe-2.10.3.zip
2.10.2 11/3/2009 uftp-2.10.2.tar uftp_src-2.10.2.zip uftp_exe-2.10.2.zip

For the change history of UFTP, see the Changes.txt file.

All files are also available on the SourceForge files page

Upgrading

Version 4.0 is not backward compatible with prior versions, however protocol redesigns in 4.0 should prevent future backward compatibility issues. Any RSA keys used under 3.x will have a different fingerprint under 4.x. In general, clients will be backward compatible with older servers, so when upgrading all clients should be upgraded before all servers.

Wireshark plugin

There is also a UFTP plugin available for Wireshark. For Windows users, a DLL is provided (built on Windows XP SP3 32-bit) which can simply be dropped into the {install directory}\Wireshark\plugins\{version} directory.

To complile from source, you should be familiar with how to build Wireshark. See the Wireshark developer's guide for details. Once you have the wireshark source and have successfully built it:

  Source - tar Source - ZIP Windows DLL - ZIP Wireshark Version
0.1.2 uftp-wireshark-plugin-src-0.1.2.tar uftp-wireshark-plugin-src-0.1.2.zip uftp-wireshark-plugin-dll-0.1.2.zip 1.10.8
0.1.1 uftp-wireshark-plugin-src-0.1.1.tar uftp-wireshark-plugin-src-0.1.1.zip uftp-wireshark-plugin-dll-0.1.1.zip 1.6.12
0.1.0 uftp-wireshark-plugin-src-0.1.0.tar uftp-wireshark-plugin-src-0.1.0.zip uftp-wireshark-plugin-dll-0.1.0.zip 1.6.12
0.0.2 uftp-wireshark-plugin-src-0.0.2.tar uftp-wireshark-plugin-src-0.0.2.zip uftp-wireshark-plugin-dll-0.0.2.zip 1.6.x
0.0.1 uftp-wireshark-plugin-src-0.0.1.tar uftp-wireshark-plugin-src-0.0.1.zip uftp-wireshark-plugin-dll-0.0.1.zip 1.6.x

UFTP is licensed under the GNU General Public License (GPL). Commercial licenses are also available if needed.

If you have any questions or comments regarding UFTP (including bug reports), wish to be notified of updates, or if you wish to discuss commercial licensing or support, you can email the developer, Dennis Bush. You can also post to the discussion group. If you've found UFTP to be useful to you, please leave a review.


UFTP has been on the web since 2001. There have been visitors to this site since February 2, 2005.

If you wish to make a donation, you may do so via PayPal by clicking the button below.
This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/)
This product includes cryptographic software written by Eric Young (eay@cryptsoft.com)

Last update: August 26, 2014