A More Business-Friendly BitTorrent

By Steven Vaughan-Nichols  |  Posted 2005-03-10

A More Business-Friendly BitTorrent

Open-source programmer Bram Cohen on Monday released version 4.0 of his popular BitTorrent client for Windows and Linux.

BitTorrent is an ad hoc, P2P (peer-to-peer) protocol.

Cohen created it to address the problem of transferring popular, large files over the Internet.

Instead of using the client-server model of traditional Internet file distribution systems, such as FTP or the Webs HTTP or older P2P systems such as Kazaa, wherein files are shared directly among individual users, BitTorrent took a new approach.

BitTorrent works by using a central server, or tracker, to coordinate all the peers sharing a particular file.

The tracker, however, may or may not have a master copy of the file.

Its job is to simply coordinate the connections—nothing more, nothing less.

Instead, systems with a complete copy of the file, also known as seeders, start sharing it with systems that request it.

Then, unlike other P2P systems, those systems that have only part of the file begin sharing it with other users requesting the file.

The end result is that with multiple users both sending and receiving the file, download speeds tend to be fast without requiring high-bandwidth connections or multiple servers by the files owner.

Technically, BitTorrent works by connecting over TCP ports 6881-6999.

A smaller subset of ports can be used. Ten, one per each transfer session, such as 6881-6891, is a typical configuration.

However, a BitTorrent client must have outbound access to port 6969 to connect with most trackers.

It all sounds more complicated then it really is, as far as end-users are concerned.

For a user, all thats required is that the systems firewall or NAT (Network Address Translation) be set to allow BitTorrent access to its TCP ports.

Some anti-worm programs, like the one in Norton SystemWorks 2005, must also be set to allow BitTorrent inbound connections.

With those factors taken care of, all you need to do is to click on a BitTorrent link, and the download will begin.

With BitTorrent, data transfer rates can be achieved that make the downloading of hundreds of megabytes of data, or even gigabytes of data, practical over even slow broadband connections.

So, for the end user, BitTorrent is easy. Its another story for network administrators.

British P2P analysis firm CacheLogic claims that BitTorrent protocol traffic accounts for an amazing 35 percent of all Internet traffic.

According to CacheLogics studies, BitTorrent traffic accounts for more Internet traffic than any other single protocol, such as http, or e-mails POP (Post Office Protocol) and SMTP.

That same popularity makes BitTorrent a major problem for network administrators.

Even though an individual BitTorrent client doesnt use much bandwidth, dozens, hundreds, or even thousands of them are enough to bring strong LANs to their knees.

Another problem with BitTorrent is, like other P2P services before it, its often used to copy and share copyrighted materials.

Unlike Napster of old, though, which only transferred songs of a few megabytes, BitTorrent is often used to move the hundreds of megabytes of movies.

Read more here about Linux distributor Lindows.com taking commercial advantage of BitTorrent.

Together, these problems are bad enough that many institutions, like the University of Florida, ban the use of BitTorrent and other P2P clients.

Next Page: Expanding to business use.

Expanding to business use

BitTorrent is much more, though, than just the latest craze for hijacking movies and TV shows. It is also proving useful for delivering the large ISO images of operating systems, applications and major patches.

For example, the Linux Mirror Project makes it possible to use BitTorrent to download most popular Linux distributions, including Mandrake, Red Hats Fedora and Novell/SUSE, at rates that are usually speedier than those provided by FTP or HTTP.

This new edition makes it much more attractive for business use. While it now boasts an improved interface and more granular control for the client, by far the most important new feature for administrators is that BitTorrent packets are marked as bulk data.

This last feature makes managing BitTorrent traffic a snap.

In the past, service providers would need special appliances, like Sandvine Inc.s Peer to Peer Element 8200 or Allot Communications enterprise line for network administrators, to manage it.

General-purpose traffic management tools, such as Lightspeed Systems Inc.s Total Traffic Control, can be used to manage BitTorrent traffic.

No matter what was used for traffic management, short of stopping BitTorrent entirely by blocking its TCP ports with a firewall, management was necessary.

Otherwise, its sheer volume of traffic was likely to slow down networks and make such latency-sensitive applications as VOIP (voice over IP) unusable.

Click here to read more about BitTorrent and RSS straining the boundaries of their infrastructure.

By marking its traffic as bulk, as does newer versions of FTP, almost any network traffic tool can easily be used to manage BitTorrents traffic.

Its possible to successfully control BitTorrent traffic with the common iproute2 tools, which are available on almost all modern versions of Linux.

The new version also performs better on local networks.

With earlier versions, network congestion was possible even when BitTorrent traffic was only moving at single-digit Kbps rates. With 4.0, that problem has gone away.

Other programs, such as Azureus, a Java-based P2P client, and BitTornado also use the BitTorrent protocol.

These tend to have more features than Cohens original BitTorrent, but this new versions ease of traffic manageability both for the end-user and the network administrator make it the P2P client of choice for professional environments.

Check out eWEEK.coms for the latest open-source news, reviews and analysis.

Rocket Fuel