BitTorrent : Java Glossary

go to home page B words local find full screen, hide local find menu Google search web for more information on this topic jump to foot of page translate this page with Babelfish by Roedy Green ©1996-2009 Canadian Mind Products
index page for letter ⇒ punctuation 0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z (all)
CurrCon neededThe CurrCon Java Applet displays prices on this web page converted with today’s exchange rates into your local international currency, e.g. Euros, US dollars, Canadian dollars, British Pounds, Indian Rupees… CurrCon requires Java 1.1 or later, preferably 1.6.0_11. If you can’t see the prices, or if you just want to learn more about CurrCon, click here for help.
BitTorrent  BitTorrent
BitTorrent lets you efficiently download large files from small websites. You need to install a plug-in first.
Firewall Upload Sites
Installing Recommended Downloads
Under the Hood Fahrenheit 911
Downside Links
Download Sites

Firewall

BitTorrent, to work efficiently, requires you to open up a range of ports, one per simultaneous download e.g. 6881..6889 or 10000..10003 through your firewall. You also need a fixed internal IP e.g. 192.168.0.2 for your router, which means you have to turn off DHCP on your BitTorrent machines. The BitTorrent docs are remarkably detailed, explaining how to do this for scores of router models. Had BitTorrent implemented UPnP-NAT(PC) and NAT-PMP(Mac) this would not be necessary.

Installing

It installs itself in F:\Program Files\BitTorrent without asking permission. It sets up an association between *.torrent files and itself, so that when you click open in the browser on a *.torrent link, it takes over the download.

You may have to set up as association for your browser to tell it to execute *.torrent files with the default handler.

When you click on a BitTorrent link, at first it appears nothing happens. Give it 10 minutes or so to get going.

Remember to configure BitTorrent with the ports you have opened up in your firewall.

BitTorrent is frequently updated, so you might check every month to get the latest software.

Under the Hood

BitTorrent is a distributed system for distributing files. Instead of a central server providing all the bandwidth, existing customers pass files on to other customers. When multiple downloads of the same file happen concurrently, the downloaders upload to each other, exchanging bits of the file they already have, making it possible for the file source to support very large numbers of downloaders with only a modest increase in its load.

BitTorrent then is only useful to deal with a popular single download. It is not like Napster picking files off other people’s disks they have previously downloaded. Downloads are huge, typically an entire CD or an entire movie, usually 700 MB to 1500 MB. BitTorrent is especially popular for distributing Linux distributions as iso CD images.

The torrent files arrive and automatically unpack themselves into a set of files in a directory. However, sometimes they will arrive in compressed form, and you will need to run a decompressor such as WinZip, PkUnzip, WinRAR, 7Zip depending on the extension.

The BitTorrent algorithm works in such a way that the longer you stay connected the faster you download. This is because you have more of the file to trade with others for parts they have. Unlike ordinary downloads, nothing much happens for a long while after you first start the download. You start as a beggar, in BitTorrent terms a leech, and gradually work your way up in status to a seed when you have the complete file, and stay connected out of altruism just to serve others with it. This progression happens automatically. You don’t have to do anything other than stay connected.

Creating a bundle of files for others to download with BitTorrent is called making a Torrent. You can use the makeTorrent utility or the Make new Torrent option on the BitTorrent client.

To serve BitTorrent files, you need an ordinary HTTP server that is configured to deliver the application/x-bittorrent MIME type. You upload the tiny *.torrent files to your website and reference them in your webpages. You also need to package your downloads as *.torrent files, containing embedded SHA-1 digests to detect errors. You also need to start one or more trackers that orchestrates the flow of traffic between multiple people downloading your files. The trackers don’t know who has which pieces of the file. They just make introductions between the various parties downloading each file. BNBT and CBTT are names of common BitTorrent tracker toolkits. The peers announce what they have to each other. This requires a tiny amount of bandwidth. It is also possible now to use BitTorrent without a tracker server. There are two incompatible schemes for every client to act as a tracker: Azureus and BitComet. For trackerless torrents, you use the DHT option when creating the bundle. If you don’t have a server to run the tracker, you have to use the URL of the tracker server you plan to use, e.g. http://my.tracker.com:6969/announce. The tracker overhead of serving a torrent to the world is minuscule, about 1/1000 that of serving a single HTTP download. You still need to leave at least one seed running somewhere on the bundle. Oddly, any tracker could manage any bundle that contains its URL. The tracker server does not need to be configured with a list of bundles to serve. So likely you will use somebody else’s tracker server.

There is a requirement to set up an endlessly-running dummy seed downloader for each file that has also has a complete copy of the file. This is needed because the tracker does not have a copy of the bundle. The way files are served with BitTorrent clients. There is no special way to serve the master copy.

The net result is, you can serve BitTorrent from your website without anything special other than setting up the MIME type for .torrent files to application/x-bittorrent. You need a PC dedicated somewhere, running client BitTorrent with all your bundles.

The BitTorrent docs tell you mostly how it works inside not how to use it, which is pretty confusing to a newcomer. The newbie does not understand that all this talk of leaching, sharing and tit for tat, has nothing to do with his behaviour, just a model of how the program works inside and how it works to combat pirates using the same protocol.

Unfortunately, BitTorrent files don’t seem to come with a built-in synopsis of what the file is. You have to download the whole thing to find out what it is.

There are a number of BitTorrent client implementations. The official one forgets your download directory and makes you navigate to it every time. It does not tell you anything about what other clients are doing or even if there are any.

BitTorrent is quite a bit slower than ordinary downloading, because your download speed is limited by other ordinary users upload speeds. Some may even be on dial up. The torrent is in the aggregate flow. The paradoxical feature is that the more people download a file at once, the faster the downloads go. BitTorrent works because altruistic (or perhaps just inattentive) people leave downloads running after they complete, donating upload time to others. Usually you set BitTorrent going and then go to bed and come back in the morning.

BitTorrent can take quite a while to get started before it picks up steam. right click Start Download, then be patient. It can just sit there apparently inert for 10 minutes or so before it gets rolling.

Downside

BitTorrent is designed to distribute very large files to large numbers of people. It is not suited for distributing small files since the start up time is so long and there is so much fussing with both *.torrent and *.zip files, and running a seed server for each file, and requiring special download software. It is designed for distributing files to the general public; it has no built-in provision to deal with limiting access, though you could limit access to the contents of the orginial *.torrent file, which might not be that hard to guess. BitTorrent is based on TCP/IP. TCP/IP presumes you have a good connection where few packets get lost.

The frightening weakness of BitTorrent is an 8 hour download can pack it in if the seed PC goes south or its owner turns it off or the tracker server shuts down. You don’t even get a message that this has happened, though there are some hints in the log. If you leave the download running it might eventually recover when a seed, not necessarily the original owner’s, restarts. A partial download is not useful since it contains holes, not just the tail chopped off.

*.torrent files don’t contain a proper description of the bundle. You often have no idea what platform or format the file is. You don’t even know if is audio, video, software, or text. The directory of files gives some hints, but it needs a proper descriptor with standard fields to facilitate searching.

You have to download the entire bundle before you know if you have got what you wanted. You may have totally the wrong thing or a file in a format your machine does not support. There need to be a scheme to include a trailer or sampler than is downloaded first.

BitTorrent is very slow to get started. The problem is it is very concerned about counterfeit BitTorrent clients behaving in a greedy fashion and in the process, it wastes a lot of time, though not bandwidth.

BitTorrent client won’t tell you if it has successfully negotiated the firewall and what ports it is using. Perhaps other clients do.

Often there are several possible trackers to use. There should be a way to automatically join the one with the most activity.

BitTorrent Download Sites

Torrent Download Websites
Site Cost Notes
Linux Tracker free torrents relevant to Linux
MegaNova free
OneBigTorrent free host Noam Chomsky’s torrents among other things.
Suprnova $18.00 USD a year. In return you get access to 90 billion files.
Note the name, without an e.
The Pirate bay free the dark side of BitTorrent — distributing pirated copies of movies and music.
Torrentz free a search engine for torrents

BitTorrent Upload Sites

These sites let you distribute your own files to the planet. You might create your own Internet radio or TV show, promote your band, stand on a soapbox, distribute huge software downloads. There a lot of copyrighted material there as well, including pornography. You can download from the following sites as well as upload.
Torrent Upload Websites, use their Tracker
Site Cost
BiteNova free
MiniNova free
snarf-it must register, free
TorrentBox Free membership
TorrentPortal free
torrentReactor must register, free, also pornography
TorrentSpy shut down, frightened by the legal ramifications.

BitTorrent Recommended Downloads

Fahrenheit 911

dvd cover recommend DVD⇒Fahrenheit 9/11
DVD
by: Michael Moore
This documentary on DVD is fun, entertaining, and light. It allows Bush to hang himself simply by showing footage of him. VIewing this film is the fastest way to disabuse someone of their notions that Bush is an admirable guy. I strongly suggest you buy a copy and show it as many people as possible as soon as possible.
Canadian flag amazon.ca. amazon.com. American flag
Canadian flag chapters.indigo.ca . powells.com American flag
French flag amazon.fr. barnesandnoble.com American flag
German flag amazon.de. amazon.co.uk. UK flag
Michael Moore has given his blessing to pirating his movie Fahrenheit 911 with BitTorrent. The following links will be useful if you want to get a copy: After download, you burn the movie onto a DVD. You will need access to a DVD burner, and a DVD player.
Azureus: an opensource Java BitTorrent client
BitComet: Chinese BitTorrent client
BitTornado: BitTorrent client
BitTorrent
BNBT: tracker server
Bulk File Distributor Student Project
ByteMonsoon: tracker server software written in PHP and MySQL
EasyTracker BNBT: tracker server
How to use BitTorrent to download Ubuntu
Internet Radio Project
Napster
peer to peer
SAX: student project
Tomato: Mac BitTorrent client
Tracker Protocol
µTorrent tiny BitTorrent client

CMP homejump to top
CMP logo
feedback Please email your feedback for publication, errors, omissions, broken/redirected link reports
and suggestions to improve this page to Roedy Green : feedback email
made with CSS
HTML Checked!
ICRA ratings logo
mindprod.com IP:[65.110.21.43]
Your face IP:[38.103.63.62] The information on this page is for non-military use only.
You are visitor number 38,379. Military use includes use by defence contractors.
You can get a fresh copy of this page from: or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror)
http://mindprod.com/jgloss/bittorrent.html J:\mindprod\jgloss\bittorrent.html