Brians Bittorrent Faq
Brian’s BitTorrent FAQ and Guide
Brian’s BitTorrent FAQ and Guide : Background Information
Brian’s BitTorrent FAQ and Guide : Background Information : What is BitTorrent?
Brian’s BitTorrent FAQ and Guide : Background Information : How does BitTorrent compare to other forms of file transfer?
Brian’s BitTorrent FAQ and Guide : Installing BitTorrent
Brian’s BitTorrent FAQ and Guide : Installing BitTorrent : Microsoft Windows
Brian’s BitTorrent FAQ and Guide : Installing BitTorrent : Mac OS X
- Move all installed copies/versions of bittorrent to the trash.
- Empty the trash.
- Open the BitTorrent_OSX_3.2.2a.dmg file again and copy the bittorrent program directly into the Applications folder.
- Official client v3.1 – Try this previous version of the client if you have difficulties with 3.2.2.
- 3.1 client with rate limiting patch – I have no additional details about this version.
- Sarwat Khan’s OS X client – You may also want to try this alternative to the stock OS X build. See also: Screenshots
- Additionally, you should be able to run any of the various Python/wxPython based clients directly from the source code, but it may take a little bit of work. Here are the steps you should follow. Note, I am not a Mac user so I can’t guarantee this will work, if someone could do it and send me the exact instructions, I’ll post it here.
- Install Python. If you are running 10.2, download this bundle of Python 2.3a3 (see also: Home Page.) If you are running 10.1, there is a pre-packaged version here &emdash; please read the instructions on the home page, note that you cannot use stuffit with this archive. If you want more information on Python and Macs, try this link.
- Install wxPython. For 10.2 and Python 2.3, use this package (126.96.36.199). If you don’t have Python 2.3, you may have to use a previous version, such as this one (188.8.131.52). This page at Sourceforge contains the latest as well as several previous versions.
- Install the source code for the BitTorrent client. The above section for Windows clients has links to source code.
- To start the GUI client, run “python btdownloadgui.py --responsefile file.torrent“, where file.torrent is the torrent file which you have already downloaded. See also the section below on using the BitTorrent command line tools. Also, the command-line version of Python should be in your path for this to work. See this page for instructions on adding /usr/local/bin to your path.
Brian’s BitTorrent FAQ and Guide : Installing BitTorrent : Mac OS 9
Brian’s BitTorrent FAQ and Guide : Installing BitTorrent : Linux/Unix
Brian’s BitTorrent FAQ and Guide : Installing BitTorrent : Java Clients (platform independent)
Brian’s BitTorrent FAQ and Guide : Installing BitTorrent : Windows Uninstall
Brian’s BitTorrent FAQ and Guide : Installing BitTorrent : Mac OS X Uninstall
Brian’s BitTorrent FAQ and Guide : Installing BitTorrent : What other BitTorrent-related utilities are out there?
Brian’s BitTorrent FAQ and Guide : Getting Started with BitTorrent
Brian’s BitTorrent FAQ and Guide : Getting Started with BitTorrent : I’ve installed BitTorrent, now what? There’s no program to run!
Brian’s BitTorrent FAQ and Guide : Getting Started with BitTorrent : I just installed BitTorrent but whenever I click on a link I just get a small file and nothing happens?
Brian’s BitTorrent FAQ and Guide : Getting Started with BitTorrent : What is this Mandrake thing I’m invited to download after BitTorrent?
Brian’s BitTorrent FAQ and Guide : Getting Started with BitTorrent : What do all these words mean? (seeding, uploading, share rating, etc.)
Brian’s BitTorrent FAQ and Guide : Getting Started with BitTorrent : BitTorrent says I’m uploading, what files am I sharing? What’s being sent?
Brian’s BitTorrent FAQ and Guide : Getting Started with BitTorrent : What happens if I cancel a download? How can I resume?
Brian’s BitTorrent FAQ and Guide : Getting Started with BitTorrent : Why is my downloaded file huge even though I only downloaded a small bit?
Brian’s BitTorrent FAQ and Guide : Getting Started with BitTorrent : Why does my hard drive go crazy at the beginning of a resumed download?
Brian’s BitTorrent FAQ and Guide : Getting Started with BitTorrent : What is seeding? How do I do it? Why should I leave the client open after it finishes downloading?
Brian’s BitTorrent FAQ and Guide : Configuring Your Network for BitTorrent
Brian’s BitTorrent FAQ and Guide : Configuring Your Network for BitTorrent : What ports does BitTorrent use? Will it work with a firewall/NAT?
Brian’s BitTorrent FAQ and Guide : Configuring Your Network for BitTorrent : Can I use BitTorrent with a proxy server?
Brian’s BitTorrent FAQ and Guide : Configuring Your Network for BitTorrent : What if I need to use SOCKS to access the Internet?
Brian’s BitTorrent FAQ and Guide : Opening/Viewing/Using Files You’ve Downloaded
Brian’s BitTorrent FAQ and Guide : Opening/Viewing/Using Files You’ve Downloaded : How do I open this file that I’ve just downloaded?
Brian’s BitTorrent FAQ and Guide : Opening/Viewing/Using Files You’ve Downloaded : How do I open this file that I’ve just downloaded? : Files ending in .RAR, .R00, .R01, .Rnn
Brian’s BitTorrent FAQ and Guide : Opening/Viewing/Using Files You’ve Downloaded : How do I open this file that I’ve just downloaded? : Files ending in .CBR, .CBZ
Brian’s BitTorrent FAQ and Guide : Opening/Viewing/Using Files You’ve Downloaded : How do I open this file that I’ve just downloaded? : Files ending in .PAR, .P01, .Pnn
Brian’s BitTorrent FAQ and Guide : Opening/Viewing/Using Files You’ve Downloaded : How do I open this file that I’ve just downloaded? : Files ending in .NFO
Brian’s BitTorrent FAQ and Guide : Opening/Viewing/Using Files You’ve Downloaded : How do I open this file that I’ve just downloaded? : Files ending in .SFV
Brian’s BitTorrent FAQ and Guide : Opening/Viewing/Using Files You’ve Downloaded : How do I open this file that I’ve just downloaded? : Files ending in .BIN, .CUE
Brian’s BitTorrent FAQ and Guide : Opening/Viewing/Using Files You’ve Downloaded : How do I open this file that I’ve just downloaded? : Files ending in .ISO, .CCD, .MDS, .BWT, .CDI, .NRG
Brian’s BitTorrent FAQ and Guide : Opening/Viewing/Using Files You’ve Downloaded : Where can I get help working with this multimedia file?
Brian’s BitTorrent FAQ and Guide : Troubleshooting Errors and Problems
Brian’s BitTorrent FAQ and Guide : Troubleshooting Errors and Problems : I’m getting an error message, what does it mean?
Brian’s BitTorrent FAQ and Guide : Troubleshooting Errors and Problems : My download speed seems slow, what can I do to increase it?
Brian’s BitTorrent FAQ and Guide : Troubleshooting Errors and Problems : What can I do if I get a blue screen error, spontaneous reboot, or lockup?
Brian’s BitTorrent FAQ and Guide : Troubleshooting Errors and Problems : My internet connection drops, often during very fast downloads. What can I do?
Brian’s BitTorrent FAQ and Guide : Troubleshooting Errors and Problems : How can I get a list of the people to whom I’m connected?
Brian’s BitTorrent FAQ and Guide : Advanced Topics
Brian’s BitTorrent FAQ and Guide : Advanced Topics : How do I create a new torrent (share a file I have with others)?IMPORTANT NOTE! Despite what I would call common sense and courtesy, I see people doing stupid things at this point all the time! For example, if the file you are sharing was originally posted to Usenet and came in a number of parts (.RAR, .R00, .R01), do not put those parts in an archive and then create a torrent of that. Most media files are already compressed, and rar-ing or zip-ing them just adds an additional step for everyone that receives the files. And for the love of $DEITY, do not include the parity files in your torrent! In summary, if the end product you are sharing is an bittorrent faq .AVI file, create a torrent for that. This makes it easier for people to hold on to the original form of the torrent, and this tends to lead to it being shared longer. If you distribute your AVI file as an RAR containing 33 parts, which itself contains a ZIP, then people will trudge through the processing of the files to get the AVI, and then most likely delete the original since it’s in a form that is useless to them. Therefore, they cannot (re-)seed the torrent since they’ve lost the original format. Finally, you do your part to put an end to the neverending stream of “How do I open .R00 files?” questions. (end opinionated rant)
- Run maketorrent. (See What other BitTorrent-related utilities are out there? if you haven’t installed it.) If you are sharing a single file, click the (file) button, otherwise click the (dir) button. In either case a file dialog will appear, and you should select the file/directory that you wish to share.
- Enter the tracker’s announce url in the space provided, or use the drop-down list to select from one of a common list of trackers. Remember, if you use a site’s tracker when creating a .torrent file, plan to upload/post the file to that community. You can also add a comment, but it’s optional.
- Select the piece size, or just accept the default value of (auto). In general, the smaller the piece size, the more efficient the BitTorrent download will be, but will result in a larger .torrent file. 256 kB seems to be the most common piece size in use these days, but you can experiment with other settings if you want. Avoid very large piece sizes for small files; likewise avoid small piece sizes for very large files.
- Click create torrent to begin the process of creating the file. You can then select if you want to create a single .torrent for all the files in the directory, or a number of separate .torrents. Most of the time you want a single .torrent for the whole folder, unless you know what you’re doing. When finished, you should find a newly created .torrent file in the same directory as the file/directory you selected to share.
- Upload this .torrent file to a web server. Usually this means going to the web page of the site whose tracker you used and clicking the “Upload torrent” link. The procedure varies from site to site, but it’s usually always explained in a FAQ link or forum posting. If you are running your own web server (and have appropriately according to How do I configure a web server for .torrent files?) then upload the file to your server’s public web space, or whatever method you use to put files on your server.
- Finally, you must seed the file. Until this step, nothing but metadata has been transferred. Seeding is necessary to actually transmit your file to others. There are several ways to do this, but the simplest is to use your ordinary BitTorrent client just as you would with any other file. Navigate to the page on the web server where your .torrent is posted, click the link, and when the BitTorrent client starts be sure to select the same file/ directory that you used in maketorrent in step 2 above. The client should check the files and verify that they are complete, and then connect to the tracker and begin seeding. There are several important points about this step:
- Be sure the machine that you are seeding from can accept incoming network connections on the ports BitTorrent is using. Usually this means configuring port forwarding if you are in a NAT environment. See What ports does BitTorrent use? Will it work with a firewall/NAT? .
- If you are running the tracker on the same machine as the seeding client, and you are in a NAT environment, you must add the “--ip address” parameter to the client command line, where address is the publicly-visible IP address of the machine. For example, your machine might be on an internal network, sharing a DSL or cable modem connection behind a router/gateway. In this case it probably has an internal (unroutable) IP address such as 192.168.x.x or 10.x.x.x. It is necessary to tell the tracker your true public IP address instead of this internal address. If you’re not sure what that is, try a site such as this one. For details on the command line see How do I change the command line parameters in Windows?. Finally, remember that in a lot of cases you will have a dynamic IP address (one that is assigned to you each time you connect), and if this is true you will have to ensure that you are using the correct one each time. Again, this process applies ONLY if you are seeding and running a tracker on the same machine, and you have a NAT setup.
- Make sure to leave the seeding client open long enough. The exact amount of time depends on a number of factors. If the file you are seeding is very popular, then you can often seed just long enough to get several distributed copies into the swarm, and then disconnect. If the torrent is sufficiently “healthy,” the seeder leaving will have no adverse effects, since there are enough distributed copies of the file to support the swarm. If the file has fewer interests, you will generally have to seed longer. A good policy is to check back later on the tracker’s stats page or in the forums and make sure that no one has been left stranded.
- If you want to seed a number of different torrents, it is often cumbersome to open a number of copies of the GUI client. In this situation the btlaunchmany.py version of the client is very useful. See the section Is there a way to download or seed a number of files at once without launching a bunch of copies of the client? for details.
Brian’s BitTorrent FAQ and Guide : Advanced Topics : How do I change the command line parameters in Windows?
Brian’s BitTorrent FAQ and Guide : Advanced Topics : How can I make Internet Explorer ask me if I want to save the torrent link rather than automatically opening the download GUI?
Brian’s BitTorrent FAQ and Guide : Advanced Topics : What are the command line parameters for the BitTorrent client?
Brian’s BitTorrent FAQ and Guide : Advanced Topics : What are the command line parameters of the BitTorrent Python tracker?
Brian’s BitTorrent FAQ and Guide : Advanced Topics : How do I run a tracker?
Brian’s BitTorrent FAQ and Guide : Advanced Topics : How do I run a tracker? : Using the standard Python tracker
Brian’s BitTorrent FAQ and Guide : Advanced Topics : How do I run a tracker? : Using BNBT
Brian’s BitTorrent FAQ and Guide : Advanced Topics : How do I run a tracker? : Using PHP / MySQL trackers
Brian’s BitTorrent FAQ and Guide : Advanced Topics : How do I configure a web server for .torrent files?
Brian’s BitTorrent FAQ and Guide : Advanced Topics : Is there a way to download or seed a number of files at once without launching a bunch of copies of the client?
Brian’s BitTorrent FAQ and Guide : Getting Help and Support
Brian’s BitTorrent FAQ and Guide : Getting Help and Support : Web Sites
Brian’s BitTorrent FAQ and Guide : Getting Help and Support : Mailing Lists
Brian’s BitTorrent FAQ and Guide : Getting Help and Support : Forums
Brian’s BitTorrent FAQ and Guide : Getting Help and Support : Newsgroups
Brian’s BitTorrent FAQ and Guide : Getting Help and Support : IRC
Brian’s BitTorrent FAQ and Guide : Links to Popular BitTorrent Sites
Please note: This site is mostly a mirror of the FAQ at http://dessent.net/btfaq/. That site is updated first, so this one may be a little bit behind in some places.
If you would like to check your firewall/NAT port forwarding configuration, try the Natcheck page.
Disclaimer: I am a Windows user, and so by default the answers will tend to apply to Windows if not otherwise stated. I’ve tried to include as much Linux and Mac information as I can. If you have anything to add on those subjects, by all means please contribute.
UPDATE: I’m afraid I have had to disable edits of this FAQ from the general public. I was getting perhaps one or two erronious additions daily, which resulted in a lot of work for me to clear out. There were sections with up to a dozen blank “New Item” objects that someone added without knowing what they were doing. I appreciate the handful of you that contributed useful answers, but I do not have the time to clean up after the rest of you, so the FAQ is now read-only.
|Table of ContentsBackground Information
Getting Started with BitTorrent
Configuring Your Network for BitTorrent
Opening/Viewing/Using Files You’ve Downloaded
Troubleshooting Errors and Problems
Getting Help and Support
Links to Popular BitTorrent Sites
|If you wish to contact me for any reason, please use this link to send me a message. –Brian
|[New Answer in “Brian’s BitTorrent FAQ and Guide”]|
|What is BitTorrent?
How does BitTorrent compare to other forms of file transfer?
|[New Answer in “Background Information”]||BitTorrent is a protocol designed for transferring files. It is peer-to-peer in nature, as users connect to each other directly to send and receive portions of the file. However, there is a central server (called a tracker) which coordinates the action of all such peers. The tracker only manages connections, it does not have any knowledge of the contents of the files being distributed, and therefore a large number of users can be supported with relatively limited tracker bandwidth. The key philosophy of BitTorrent is that users should upload (transmit outbound) at the same time they are downloading (receiving inbound.) In this manner, network bandwidth is utilized as efficiently as possible. BitTorrent is designed to work better as the number of people interested in a certain file increases, in contrast to other file transfer protocols.
One analogy to describe this process might be to visualize a group of people sitting at a table. Each person at the table can both talk and listen to any other person at the table. These people are each trying to get a complete copy of a book. Person A announces that he has pages 1-10, 23, 42-50, and 75. Persons C, D, and E are each missing some of those pages that A has, and so they coordinate such that A gives them each copies of the pages he has that they are missing. Person B then announces that she has pages 11-22, 31-37, and 63-70. Persons A, D, and E tell B they would like some of her pages, so she gives them copies of the pages that she has. The process continues around the table until everyone has announced what they have (and hence what they are missing.) The people at the table coordinate to swap parts of this book until everyone has everything. There is also another person at the table, who we’ll call ‘S’. This person has a complete copy of the book, and so doesn’t need anything sent to him. He responds with pages that no one else in the group has. At first, when everyone has just arrived, they all must talk to him to get their first set of pages. However, the people are smart enough to not all get the same pages from him. After a short while they all have most of the book amongst themselves, even if no one person has the whole thing. In this manner, this one person can share a book that he has with many other people, without having to give a full copy to everyone that’s interested. He can instead give out different parts to different people, and they will be able to share it amongst themselves. This person who we’ve referred to as ‘S’ is called a seed in the terminology of BitTorrent. There’s more about the various terms in a later section.
|[Append to This Answer]||The most common method by which files are transferred on the Internet is the client-server model. A central server sends the entire file to each client that requests it — this is how both http and ftp work. The clients only speak to the server, and never to each other. The main advantages of this method are that it’s simple to set up, and the files are usually always available since the servers tend to be dedicated to the task of serving, and are always on and connected to the Internet. However, this model has a significant problem with files that are large or very popular, or both. Namely, it takes a great deal of bandwidth and server resources to distribute such a file, since the server must transmit the entire file to each client. Perhaps you may have tried to download a demo of a new game just released, or CD images of a new Linux distribution, and found that all the servers report “too many users,” or there is a long queue that you have to wait through. The concept of mirrors partially addresses this shortcoming by distributing the load across multiple servers. But it requires a lot of coordination and effort to set up an efficient network of mirrors, and it’s usually only feasible for the busiest of sites.Another method of transferring files has become popular recently: the peer-to-peer network, systems such as Kazaa, eDonkey, Gnutella, Direct Connect, etc. In most of these networks, ordinary Internet users trade files by directly connecting one-to-one. The advantage here is that files can be shared without having access to a proper server, and because of this there is little accountability for the contents of the files. Hence, these networks tend to be very popular for illicit files such as music, movies, pirated software, etc. Typically, a downloader receives a file from a single source, however the newest version of some clients allow downloading a single file from multiple sources for higher speeds. The problem discussed above of popular downloads is somewhat mitigated, because there’s a greater chance that a popular file will be offered by a number of peers. The breadth of files available tends to be fairly good, though download speeds for obscure files tend to be low. Another common problem sometimes associated with these systems is the significant protocol overhead for passing search queries amongst the peers, and the number of peers that one can reach is often limited as a result. Partially downloaded files are usually not available to other peers, although some newer clients may offer this functionality. Availability is generally dependent on the goodwill of the users, to the extent that some of these networks have tried to enforce rules or restrictions regarding send/receive ratios.
Use of the Usenet binary newsgroups is yet another method of file distribution, one that is substantially different from the other methods. Files transferred over Usenet are often subject to miniscule windows of opportunity. Typical retention time of binary news servers are often as low as 24 hours, and having a posted file available for a week is considered a long time. However, the Usenet model is relatively efficient, in that the messages are passed around a large web of peers from one news server to another, and finally fanned out to the end user from there. Often the end user connects to a server provided by his or her ISP, resulting in further bandwidth savings. Usenet is also one of the more anonymous forms of file sharing, and it too is often used for illicit files of almost any nature. Due to the nature of NNTP, a file’s popularity has little to do with its availability and hence downloads from Usenet tend to be quite fast regardless of content. The downsides of this method include a baroque set of rules and procedures, and requires a certain amount of effort and understanding from the user. Patience is often required to get a complete file due to the nature of splitting big files into a huge number of smaller posts. Finally, access to Usenet often must be purchased due to the extremely high volume of messages in the binary groups. Get more here: http://ecomsuccessacademy.net
BitTorrent is closest to Usenet, in my opinion. It is best suited to newer files, of which a number of people have interest in. Obscure or older files tend to not be available. Perhaps as the software matures a more suitable means of keeping torrents seeded will emerge, but currently the client is quite resource-intensive, making it cumbersome to share a number of files. BitTorrent also deals well with files that are in high demand, especially compared to the other methods.
|[Append to This Answer]||There are a multitude of clients available for the BitTorrent, because unlike some peer to peer applications (such as Kazaa), the BitTorrent implementation is open source. This means that programmers are free to take the source code to the program and modify it, if they feel there is something they’d like to change.
Of course, this means that some of the clients are fully-tested and polished while others are rough or lacking features. Please keep this in mind when experimenting with an unknown BitTorrent program.
Below you will find information on BitTorrent clients and other related utilities, organized by operating system.
|BitTorrent clients for:
Mac OS X
Mac OS 9
Java Clients (platform independent)Uninstallation notes:
Mac OS X UninstallSee also:
What other BitTorrent-related utilities are out there?
|[New Answer in “Installing BitTorrent”]||
|The link for the souce for the Shadow’s Experimental client is wrong.. The link should be http://bt.degreez.net/ which is the site for the Windows compiled code as well. And if for some reason it’s not working, you can go to http://beatles.serveftp.com:1412 and find the linkt o e-mail me about it and I can put up both the code and the Windows compiled there.
|[http://www.turbobt.com/] TurboBT is Cool GUI and low system resource used BitTorrent Client. Build by PyQt Python23.||[Append to This Answer]||
||[Append to This Answer]||There is no official support for Mac OS 9. Further, wxPython does not seem to be ported to Mac OS 9, which means you cannot run the GUI versions. However, there is hope: you can still use BitTorrent, although it will take a little bit of extra work.
Above is stated : >>Then click Set unix-like command line interpreter, and enter "--url http://server/file.torrent", except substitute the actual URL of the .torrent file In fact, the exact syntax is : --url "http://server/file.torrent" This is important, as it is not necessarily easy to figure out, and one char misplaced makes it so that nothing works, and the error messages are not always the most clearest to tell what went wrong. The same procedure, but for a local torrent (on your HD) is --responsefile “HD:Desktop Folder:THE.GREAT.DIVX.MOVIE.torrent” , where “HD:Desktop Folder:” is the complete path to your torrent file, the “HD” needs to be the name of your hard disk, here it’s just an example, and “THE.GREAT.DIVX.MOVIE.torrent” needs to be, duh, the name of your .torrent file. The delimiter is " : ", not slash (/) or other things. Just as a fictious example, here’s one of mine : --responsefile “disque dur:Desktop Folder:BitTorrent-3.2.1b:Equilibrium.torrent” (12/07/2003) Sebastian.
|I like to append two additionnal flags when using BitTorrent in Mac OS 9.
–display_interval 15 This will reduce the refreshing rate of the raw display of BitTorrent in console mode.
–saveas “yourshortfilenamehere” Because MacPython in Mac OS 9 doesn’t support long filenames, you sometimes have to give your local file a short filename (lesser than 32 characters). Not doing so when the source file has a long filename results in an error.
|[Append to This Answer]||Running the official (and derived) clients – The official 3.2.1 (source tarball) and the experimental (source tarball) clients should both work fine under any Unix flavor that has Python support. If you wish to use the GUI version, you will also need wxPython.
For Debian systems there is a package called bittorrent, which requires the python 2.2 package. You should also install the packages libwxgtk2.4-python and mime-support, if you plan to use the GUI version of the client.
If you are using Mandrake with Cooker, you might want to try the RPMs listed here.
Below are some general instructions for installing on a Unix/Linux system.
Install Python, preferably version 2.2. You can run “python -V” to see what version you currently have installed, if any. Also, you may have multiple versions of Python installed, so you might check /usr/bin for commands like python2.2 if plain python says it’s version 1.x. If your distribution uses packages, use the search tool to find prepackaged versions before trying to manually install. Try here and here for Python RPMs.
Install wxPython if you want to use the GUI version. Note that this will require the GLib and GTK+ libraries, which are probably already on your system if you have GNOME installed. (Start here or search your distribution’s package manager if you need GTK+.) You’ll want to find the wxPython package corresponding to the version of Python which you have installed. For RPM systems such as RedHat and Mandrake, you might try the following wxPython RPMs corresponding to version 2.1, version 2.2, and version 2.3 of Python. More RPMs are available at the Sourceforge site, and you can also consult the wxPython download page. Please be aware that the RPMs linked above assume that Python is installed under /usr and that the Python libs are in /usr/lib/python2.x/. If this is not the case, you will probably need to tell the installer this information.
Finally, install the source tarball for the BT client to a directory of your choice. To integrate the client with your web browser, it will be necessary to associate files of type “application/x-bittorrent” with the BitTorrent client. You will need to add a line such as the following to your /etc/mailcap file:
application/x-bittorrent; /usr/local/bin/btdownloadgui.py --responsefile %s; test=test -n "$DISPLAY"
Note that you should substitute the correct path for the location in which you installed the source tarball. If don’t have wxPython or would prefer to use one of the text-mode clients you can replace btdownloadgui.py with btdownloadcurses.py or btdownloadheadless.py. Also note there’s an error in the INSTALL.unix.txt file, which is missing the --responsefile argument.
Goto /usr/ports/net/py-bittorrent, type make install clean, start with BitTorrent torrentfile.
|[Append to This Answer]||
|[Append to This Answer]||To remove BitTorrent, go to Add/Remove Programs in the Control Panel as usual. There should exist an entry for BitTorrent. If it’s not there, suspect an incorrect install. You can always reinstall the latest version and then uninstall it.
If you know what you are doing, you can manually remove BitTorrent by deleting the directory C:Program FilesBitTorrent (substituting the actual location of your Program Files dir) and removing the following registry keys:
|[Append to This Answer]||To remove BitTorrent from Mac OS X, simply drag the application to the trash. If you also wish to delete the preferences, trash the file ~/Library/Preferences/BitTorrent.plist as well.
|[Append to This Answer]||
|[Append to This Answer]||I’ve installed BitTorrent, now what? There’s no program to run!
I just installed BitTorrent but whenever I click on a link I just get a small file and nothing happens?
What is this Mandrake thing I’m invited to download after BitTorrent?
What do all these words mean? (seeding, uploading, share rating, etc.)
BitTorrent says I’m uploading, what files am I sharing? What’s being sent?
What happens if I cancel a download? How can I resume?
Why is my downloaded file huge even though I only downloaded a small bit?
Why does my hard drive go crazy at the beginning of a resumed download?
What is seeding? How do I do it? Why should I leave the client open after it finishes downloading?
|[New Answer in “Getting Started with BitTorrent”]||BitTorrent is not like other peer-to-peer applications (such as Winmx, Kazaa, Gnutella, etc.) in that it does not have its own “universe.” Put another way, BT lives on top of the Web, which means that all of the searching/listing of available files is done on the web. When you find a file you want to download, you click on it and the BitTorrent client program will run and ask you where to put it, and then start downloading.
See the section Links to Popular BitTorrent Sites for some starting points on the web if you’re new.
|[Append to This Answer]||Try closing and restarting your web browser. When BitTorrent installs, it registers a new MIME-Type (application/x-bittorrent) and this change will not take effect until the next time the web browser is opened.||[Append to This Answer]||You don’t need it. Mandrake is a full Linux distribution, a replacement Operating System. It is an example of the kind of thing that BitTorrent was designed to distribute — large programs which, upon release, cause a flood of eager downloaders. In other words, it’s not related to BitTorrent in any way, it’s just something a lot of people might be interested in.
|[Append to This Answer]||
|[Append to This Answer]||Don’t worry. When you are downloading a particular torrent, you are also uploading that torrent at the same time. The parts of the file(s) that you have already downloaded are uploaded to other peers. This is normal, and it’s how the protocol works. There is no “shared directory” setting as with other peer-to-peer applications. If you have a certain file (or files) that you want to make available to others, you must first create a .torrent file and upload it to a server, and then seed the file. See the section How do I create a new torrent (share a file I have with others)? for the detailed procedure.
|[Append to This Answer]||BitTorrent fully supports stopping and later resuming a partial download. You don’t have to do anything special. If you cancel a download before it’s finished, the partial download remains on your hard drive. To resume the transfer, just click on the same torrent link again and when asked where to save the file, select the same location as last time. BitTorrent will see that the file exists and check it to see how much has already been downloaded. It will then pick up where it left off the last time. See also the section Why is my downloaded file huge even though I only downloaded a small bit? regarding file size.
Note: To resume properly, you must make the same selection when prompted as you made the first time. For torrents consisting of a single file, this is rather straight-forward: simply select the file. However, torrents that consist of a folder of multiple files can be a bit more confusing. To resume, you must select the folder that contains the BitTorrent folder.
Here’s an example of resuming a folder-type torrent. Let’s suppose that you downloaded a torrent called SomeCoolBand, and selected to put it in the folder Downloads. So your directory structure resembles something like DownloadsSomeCoolBandfile1, DownloadsSomeCoolBandfile2, and so on. The important part of this example is that should you resume this transfer, when asked to select a destination folder you must select the Downloads folder and NOT DownloadsSomeCoolBand. It may seem a bit counter-intuitive, but just remember to always make the same selection as the original choice. When you first started the transfer there was no SomeCoolBand folder; you instead selected Downloads and BT created the SomeCoolBand folder.
|[Append to This Answer]||When BitTorrent starts, it allocates space for the entire file(s). That is what you see at startup as the progress bar moves across the screen and the disk drive goes crazy. The reason it does this is because it downloads the file in pieces, and those pieces arrive in an arbitrary order. Unlike http or ftp, which download the file from start to finish, BT downloads it in random order.
Note that newer versions of the client can allocate the space as the transfer progresses, and skip the initial “preallocation” step.
|[Append to This Answer]||When you open a torrent and give BitTorrent a filename/directory that already exists, it must check the file to see how much of it is useful data and how much is junk. (Recall that BT allocates space for the entire file when you first start a torrent.) To do this it must read the entire contents of the file, and generate what’s known as a hash for each piece of the file. A hash is a cryptographic function that creates a small summary or digest of a large amount of data. BitTorrent uses the SHA hash function to determine which parts of the file are good and which are bad.
|[Append to This Answer]||First, you may want to review the answers in the section What do all these words mean? (seeding, uploading, share rating, etc.). A seed is a client which has a complete file. Seeding is the process of connecting to a torrent when you have a complete file. There are two ways to do this:
It’s generally considered a good idea to leave your client open as long as possible, since it helps other users. Some communities have guidelines on when it’s permissible to disconnect, typically after the ratio of bytes received to bytes sent reaches 1:1, or 24 hours after the download completes. Please be nice, and do what you can to contribute to other users.
|[Append to This Answer]||What ports does BitTorrent use? Will it work with a firewall/NAT?
Can I use BitTorrent with a proxy server?
What if I need to use SOCKS to access the Internet?
|[New Answer in “Configuring Your Network for BitTorrent”]||Prior to version 3.2, BitTorrent by default uses ports in the range of 6881-6889. As of 3.2 and later, the range has been extended to 6881-6999. (These are all TCP ports, BitTorrent does not use UDP.) The client starts with the lowest port in the range and sequentially tries higher ports until it can find one to which it can bind. This means that the first client you open will bind to 6881, the next to 6882, etc. Therefore, you only really need to open as many ports as simultaneous BitTorrent clients you would ever have open. For most people it’s sufficient to open 6881-6889.
The port range that BitTorrent uses is configurable, see the section What are the command line parameters for the BitTorrent client?, specifically the --minport and --maxport parameters.
The trackers to which BitTorrent must connect usually are on port 6969, so the client must have outbound access on this port. Some trackers are on other ports, however.
BitTorrent will usually work fine in a NAT (network address translation) environment, since it can function with only outbound connections. Such environments generally include all situations where multiple computers share one publicly-visible IP address, most commonly: computers on a home network sharing a cable or xDSL connection.
However, you will get better speeds if you allow incoming connections as well. To do this you must use the “port forwarding” feature of whatever is performing the NAT/gateway task. For example, if you have a cable or DSL connection and a router/switch/gateway/firewall, you will need to go into the configuration of this device and forward ports 6881-6889 to the local machine that will be using BitTorrent. If your device makes it hard to enter a range of ports (if you must enter each one separately), then you can just do the first 10 or so ports, or however many simultaneous clients you plan to ever have open. If more than one person behind such a gateway wishes to use BitTorrent, then each machine should use a different port range, and the gateway should be configured to forward each port range to the corresponding local machine.
If you have one of these broadband router/NAT devices (such as the Linksys BEFSR41, D-Link DI-701/704, Netgear RT311, SMC Barricade, 3Com Home Ethernet Gateway, etc.) you will usually need to enter the web configuration of the device. If you’re not sure, try http://192.168.1.1 or sometimes http://192.168.0.1. If you can’t figure it out, try the manual for the device — they are often on the manufacturer’s web site in PDF form. You can also try the forums at places like Broadband Reports or Practically Networked. To see an example of what you’re looking for, this is a link to the Linksys BEFSR41 manual. Look at page 55, under the section “Port Range Forwarding.”
|If you are using Microsoft’s ICS (Internet Connection Sharing), this article on mapping ports might be useful.
If you are using a software firewall, then you must also enable incoming connections to be answered by the BitTorrent client program. Note that Windows XP includes a primitive firewall (“Internet Connection Firewall” or ICF) which you may have to configure for BitTorrent. Here are the directions for opening ports in the Windows XP firewall:
|If you are running another type of software firewall (such as Zone Alarm Pro, Norton Firewall, McAfee Firewall, BlackICE Defender, etc.), you may have to do something similar to allow inbound access on ports 688x to the BitTorrent client (usually btdownloadgui.exe.)
For example, in Zone Alarm Pro, in the Program Listings, click on the program’s name (btdownloadgui.exe) and then click the Options button and then enter the ports to use. If you’re having trouble connecting, you might try giving BitTorrent access to all ports.
|To open ports in the Mac OS X firewall, do the following:
|If you are using a linux box as your firewall machine, and are using iptables as your NAT/firewall, here’s how you can enable portforwarding to a specific machine for BitTorrent. Either append to your iptable configuration script or put this in a file of its own. This was written in bash, but should work for ash, zsh or plain old bourne shell too (not csh however).
—- start shellscript —-
#!/bin/bash #bittracker portforwarding BTFORWARDADDR=192.168.1.3 BTPORTS="6890 6891 6892 6893 6894 6895 6896 6897 6898 6899" for pt in $BTPORTS; do /sbin/iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport $pt -j DNAT --to-destination $BTFORWARDADDR:$pt /sbin/iptables -A FORWARD -s $BTFORWARDADDR -p tcp --dport $pt -j ACCEPT done
|—- end shellscript —-
What this does is for each port in the BTPORTS string, establish a prerouting forward to send it directly to the machine listed in BTFORWARDADDR instead of mangling it through NAT. Also, in the event you have a default setting of DENY or REJECT for your forwarding rules, it allows forwarding from the BTFORWARDADDR machine on each of the BTPORTS out to the net.
|In addition to the syntax illustrated here, iptables supports the specification of a range of ports using the syntax –dport $START:$END so the whole 6881-6999 range used in BT 3.2+ can be NAT’ed. For example…
=== start script === #!/bin/bash BTFORWARDADDR=192.168.2.20 PORTSTART=6881 PORTEND=6999
/sbin/iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport $PORTSTART:$PORTEND -j DNAT --to-destination $BTFORWARDADDR /sbin/iptables -A FORWARD -s $BTFORWARDADDR -p tcp --dport $PORTSTART:$PORTEND -j ACCEPT
=== end script ===
|[Append to This Answer]||First, note that there are two types of connections that the BitTorrent program must make:
A web proxy can only be used for the first type of connection, since the second type is not HTTP. Theoretically, you could use the HTTP CONNECT command to tunnel them through an HTTP proxy, but this would require additional code support in the client. There is a possible workaround for this scenario, however; see the final point below.
That having been said, here is how to configure an HTTP proxy for the tracker connections:
|[Append to This Answer]||Look into a program called SocksCap. It can be used to socksify any normal program. The complication here is that you have to give SocksCap a command line to run, and the btdownloadgui command line will be different for each torrent. One suggestion would be to setup a command line in SocksCap such as ” btdownloadgui.exe --responsefile "c:downloadsfile.torrent"“. (Substitute any suitable directory in the command.) Now, when you want to open a torrent, save it as “file.torrent” in “c:downloads” (or whatever you used) and then run the command in SocksCap.
|[Append to This Answer]||How do I open this file that I’ve just downloaded?
Where can I get help working with this multimedia file?
|[New Answer in “Opening/Viewing/Using Files You’ve Downloaded”]||Below is a list of common file types you will encounter with BitTorrent, and how to handle them. Please be aware that the best way to identify file types is by their extension. For example, a file named ReallyCoolStuff.zip ends in .zip which is a clue that you should open the program in WinZip, or something equivalent.
Please be aware that the default setting in Windows is to hide file extensions. This results in many headaches from new users who have no idea how to open a certain file. Instead of displaying an extension, Windows expects you to identify files based upon the File Type column in the Detail View mode of Explorer. This can be cumbersome, and often the text shown is wrong or doesn’t correspond to the file’s actual type.
For these reasons, I urge you to go into Folder Options and disable the ridiculous Hide file extensions of known file types option.
|Files ending in .RAR, .R00, .R01, .Rnn
Files ending in .CBR, .CBZ
Files ending in .PAR, .P01, .Pnn
Files ending in .NFO
Files ending in .SFV
Files ending in .BIN, .CUE
Files ending in .ISO, .CCD, .MDS, .BWT, .CDI, .NRG
|[New Answer in “How do I open this file that I’ve just downloaded?”]||If you find a directory with a bunch of files ending in .Rnn, it’s a RAR archive split into multiple parts. This is commonly done for posting to Usenet newsgroups. Open the .RAR file and extract the contents with WinRAR (Windows) or UnRarX (OS X.) Either program should automatically see all the parts if they are in the same directory.
|[Append to This Answer]||These are comics in a compressed archive. For Windows, download the free program CDisplay. Or simply rename them (CBR to RAR, CBZ to ZIP) and open with your usual archive program, such as WinRAR or WinZIP. For OS X, try Book Image Viewer after extracting with unrar or unzip.
|[Append to This Answer]||These are parity files, used to reconstruct any missing parts of the archive. Ordinarily you will not have to do anything with them — they are extraneous unless a part is missing or bad, in which case the torrent’s creator should have fixed the archive before distributing the torrent. If WinRAR does give you a message about a missing or corrupt part, then get SmartPAR (Windows) and open the .PAR file. The program will then check all the files and recreate any missing or damaged parts. For OS X, UnRarX should also process the PAR file.
|[Append to This Answer]||Files that end in .NFO are plain text files that often contain very useful information about the files you have just downloaded. Always read the NFO file if you are having a problem! Unfortunately, the .NFO extention also has another meaning to Windows, so sometimes when you try to open these files you will get an error from MS System Information about a corrupt file. If this is the case you will also probably see the file listed with a type of “MSInfo File” or something similar. You should open the NFO file in Notepad, or any plain-text editor. More info here.
|[Append to This Answer]||Simple File Verification file – used to verify the integrity of a set of files, this is a text file containing file names and typically CRC32 checksums. For Windows, try a program such as QuickSFV or fsum to verify the integrity. Mac OS X users should try MacSFV. Normally these files should not be necessary with BitTorrent, since the BT protocol has its own error checking method (on top of TCP’s checksumming.) If you find some file that doesn’t match the checksum in its SFV file, blame the torrent’s creator, since he or she should have fixed it before creating and distributing the torrent.
|[Append to This Answer]||These are images of a CD, usually a Video CD (VCD) or Super Video CD (SVCD). There are several ways to deal with these. For Windows:
For OS X:
|[Append to This Answer]||These are also images of a CD, much like .BIN and .CUE files. However, these extensions tend to be images of Data CDs in most cases as opposed to VideoCDs or SuperVCDs. As with Files ending in .BIN, .CUE either burn them to a CD-R or CD-RW, or use a program that lets you ‘mount’ them on a virtual drive.
|[Append to This Answer]||Modern music and movie files can be very complicated due to a wide variety of software and hardware standards. There are often several ways to skin each cat, for example: converting a DivX movie to SVCD can be done with a number of different tools with varying quality. I guess what I’m saying here is don’t panic if you can’t figure it all out.
Fortunately, there are some sites on the net with comprehensive guides to doing this sort of thing. For software links for almost all kinds of converters, editors, joiners, etc., try this section of www.divx-digest.com. You can also review the many guides and articles on that site. Another very comprehensive site for video/film/audio editing and manipulation is www.doom9.org; they have an extensive collection of FAQs, guides, and software listings. Be sure to also visit their forums for access to some very knowledgeable folks.
| Below are some useful links for codecs and related things:
Codecs and Media Players and how they relate:
The codec is what does the actual encoding and decoding of the data — hence its name. A lot of people ask questions such as “I’ve tried player X, Y, and Z but none work, which player do I need?” That is the wrong way to go about solving the problem as all media players use the same codecs (with some exceptions, below.) Once you have the proper codecs, any media player should work. Likewise, without the required codecs, no media player will work. Do not expect MS Media Player’s automatic codec download to do anything. It’s designed to only know about Microsoft codecs, which are hardly ever used for movies and TV episodes that you’ll encounter with BitTorrent.
Alternatives to “Codec Hell”
There are also some applications that have their entire own set of bundled codecs, which means they play most anything out-of-the box. VLC (Videolan Client) is the best known example of such a player. If you are frustrated with codecs, try installing VLC. It should be able to open just about anything you throw at it. An up and coming alternative is mplayer which was originally developed to play media files under Linux and non-windows operating systems. However, it has been ported to Windows, so you can use it in a way similar to VLC. However, it is currently hard to use, so try downloading a GUI front end to go with it. At this point mplayer is still for experts only.
Do not install codec packs!
It’s very tempting to try one of these “all in one” files that claims to have every codec you’ll ever need. That may be correct, but it’s also the problem with them. They typically install a large number of things for the sake of being complete, but this is often counterproductive. I know that it seems like it should be the best idea but it’s not. If you find that you’re in “codec” hell then uninstall every last codec that you can find, and start from the beginning. With a very small number of codecs (for example: XviD, ac3filter, and perhaps ffdshow or the DivX codec) you should be able to play back the vast majority of files that you encounter.
|[Append to This Answer]||I’m getting an error message, what does it mean?
My download speed seems slow, what can I do to increase it?
What can I do if I get a blue screen error, spontaneous reboot, or lockup?
My internet connection drops, often during very fast downloads. What can I do?
How can I get a list of the people to whom I’m connected?
|[New Answer in “Troubleshooting Errors and Problems”]||The best thing to do in general if you’re having connectivity problems is just wait. Often trackers are unavailable or slow to respond, usually due to high load or sometimes DDoS attacks. Some torrents can take a while to get up to speed, so patience is a virtue. That being said, below are some common error messages with explanations and what to do about them.
Note: Often you will get a red error message when there’s a problem connecting to the tracker, but the client will keep on retrying. This is normal. It can result in the download progressing normally and successfully, even with an error message displayed on the screen. Make sure to note the time-stamp on the error, and if it’s more than 5 to 10 minutes old, you can ignore it. The newer versions of the experimental client “age away” the error messages after 5 minutes to deal with this situation.
|[Append to This Answer]||Here are some general guidelines to getting fast connections with BitTorrent.
|[Append to This Answer]||Some network cards and DSL modems have buggy drivers. Common symptoms include a blue screen (with a DRIVER_IRQL_NOT_LESS_OR_EQUAL error) or a spontaneous reboot. Here are some common culprits:
If your network interface card (NIC) or DSL/cable modem were not listed above, then check with the manufacturer’s website and make sure you have the latest drivers.
|Driver version 184.108.40.206 (dated 5/27/2003) from National Semiconductor, manufacturer of DP83815 chipset used in FA311, fixed problems with reboots on WinXP Pro. http://www.national.com/appinfo/networks/0,1804,829,00.html||[Append to This Answer]||This issue is still unresolved, but my guess is that it’s due to buggy firmware in the xDSL/cable modem or router. Reports on the mailing list seem to indicate that transfers complete without issue if the download rates are low. It seems that some people have come up with some very creative workarounds to deal with this, such as stopping the transfer if it gets too fast and restarting.
Limiting the download rate is much harder than limiting the upload rate, because one can only really control the rate at which packets leave the system. The rate at which they arrive is determined by the originating systems and any routers, gateways, or traffic shapers along the path. However, there are several ways that software can achieve the effect of limiting the download rate — they amount to basically dropping some packets if they’re coming in too fast, which will cause the TCP/IP stack of the sender to back off somewhat.
For those having these sorts of problems, here are the methods of which I’m aware to limit the download rate:
Note: Please let me know of any successes or failures at using these methods to cure the disconnect issue. I have no personal experience with the issue so I don’t know what’s worth trying.
|Have you considered that you may be subject to a denial-of-service (DOS) attack? Some groups seem to be running DOS attacks against BitTorrent sites.
Also, limiting download rate is easy, at least for TCP: you just read packets at the rate you want–no need to drop anything. Except for the buffer size, new packets will only be sent when you remove old packets.
|[Append to This Answer]||Try the command “netstat -an” from a command prompt. This should work for Windows, Linux/Unix, and Mac OS X. It will give you a list of all the network connections on your machine. Generally, you are only interested in connections where the state is ESTABLISHED. Also, connections with the local address of “127.0.0.1” are usually not interesting, as they indicate local-only connections.
For Windows, there is a much better tool for this that gives a more informative output with a GUI instead of a command line interface. Download TCPView, a free program. It will show an output similar to the netstat command, but it will also list the program name and PID (process ID) of which program “owns” each connection. Try the Show Unconnected Endpoints button to hide connections that are not in a state of ESTABLISHED. The Resolve Addresses command will perform a reverse-DNS lookup, which will display the hostname of the machines to which you are connected (if available), instead of their numeric IP addresses. TCPView even has an option to close a specific connection, if you right click on the desired row and choose Close Connection.
Using either netstat or TCPView, you can figure out which connections are inbound and which are outbound. Those with a Local Address ending in “:6881” through “:6999” (or any port number in the port range that you have specified) are inbound connections. The rest are probably outbound, especially if it has a Remote Address that ends in “:6881” through “:6999”.
In the latest build of the experimental client (3.2.1b-2), if you click on the Advanced button you will get a screen showing details about each of the machines you are connected to for the current torrent.
|[Append to This Answer]||Answers in this category:
How do I create a new torrent (share a file I have with others)?
How do I change the command line parameters in Windows?
How can I make Internet Explorer ask me if I want to save the torrent link rather than automatically opening the download GUI?
What are the command line parameters for the BitTorrent client?
What are the command line parameters of the BitTorrent Python tracker?
How do I run a tracker?
How do I configure a web server for .torrent files?
Is there a way to download or seed a number of files at once without launching a bunch of copies of the client?
|[New Answer in “Advanced Topics”]||Sharing files that you have with others is relatively easy with BitTorrent, but a little extra work is required compared to marking a directory as “shared” as with some other file sharing applications. There are essentially three elements necessary to sharing a file with BitTorrent:
In earlier periods of BitTorrent, the process was somewhat more difficult because frequently you had to run your own tracker (and possibly web server) in addition to the seeder. Recently, however, torrent communities have sprouted which take care of many of the details of running a tracker and distributing the .torrent metadata file. For most purposes, using one of these communities is the quickest and easiest way to share data.
For the purposes of this part of the FAQ, we will assume you already have a tracker and web server, or access to them. Most of the sites in the links section (Links to Popular BitTorrent Sites) run trackers and web servers that you are welcome to use. The rule of thumb here is to never create a torrent for a tracker which you do not have permission to use. In most cases that simply means that if you intend to use a tracker, you should also post your .torrent file to the website associated with the tracker, so that the whole community can benefit.
If you still desire to run a tracker or web server, see How do I run a tracker? and How do I configure a web server for .torrent files? .
Below are the steps to create and distribute the .torrent file, and begin the seeding.
|[Append to This Answer]||The command line that Windows sends to the BitTorrent program is stored in the registry, with the file-type association for TORRENT files. It can be changed as follows:
Also note that if you are using TorrentSpy to launch BitTorrent, the command line used is contained in the TorrentSpy configuration. Use the System tab in TorrentSpy to modify the command line parameters used in this case.
|[Append to This Answer]||Some people like to save the .TORRENT files to disk, so that it’s easy to restart transfers without finding the original link. It’s possible to make Internet Explorer ask you if you want to save the file or open it in place, rather than automatically running the GUI. To do this, follow steps 1 through 4 under How do I change the command line parameters in Windows? . On the dialog now on your screen you should see a check box labeled Confirm open after download. Put a check in this box and IE will ask you what you want to do when you click on a torrent link. Use this as an alternative if you find yourself always right clicking and choosing Save As….
|[Append to This Answer]||The command line arguments accepted by the Python client (and its derivatives) are as follows:
|[Append to This Answer]||The available arguments for the Python tracker (bttrack.py) are:
|[Append to This Answer]||There are several options for running a tracker, as explained below. However before going to the trouble of installing and running your own tracker, you should first consider whether you actually need to run a tracker in the first place. There are many public BitTorrent trackers out there at the moment, see Links to Popular BitTorrent Sites for a good list. Unless you have some compelling reason why you want to run your own tracker, it’s probably best to use someone else’s. Hosting a tracker on a workstation-type machine with a dynamic IP address is possible but can be very tricky. In short, if you’re not sure whether you need to run a tracker or not, then you don’t need to.
Before starting on your tracker, make sure you’ve read and understand How do I create a new torrent (share a file I have with others)?, especially the part about the need for the --ip parameter for seeding machines on the same side of a NAT gateway as the tracker.
Below are the common ways to run a tracker:
|Using the standard Python tracker
Using PHP / MySQL trackers
|[New Answer in “How do I run a tracker?”]||Here are the general steps you should follow to use the standard (“reference”) Python tracker from Bram Cohen.
|[Append to This Answer]||As an alternative to the Python tracker, you can try BNBT which is a tracker written in C++. It is slightly easier to install since it comes with precompiled binaries for Windows, and is relatively easy to build with g++ under Linux/OS X. BNBT has more advanced stats-pages, but its configuration is very similar to the Python tracker. Refer to the home page for downloads and manuals.
|[Append to This Answer]||If you have a web server capable of PHP and MySQL, there are a couple of free (GPL) tracker implementations. One is PHPBTTracker, another is bytemonsoon.com. Both of these solutions run integrate the tracker with the web server, and offer quite extensive stats. Refer to the PHP source for installation details.
Note: this section is out of date, there are now a handful of PHP trackers.
|[Append to This Answer]||You must associate files ending in .torrent with the Content-Type application/x-bittorrent. For Apache, you should add the line:
AddType application/x-bittorrent .torrent
to your httpd.conf configuration file. If you cannot modify the main httpd.conf file (such as in the case of a shared or virtual hosting scenario), you can also put the above AddType directive in a .htaccess file. This presumes that the server’s administrator has enabled this ability with the AllowOverride FileInfo directive. Also note that settings in a .htaccess file only apply to the directory containing the file, so make sure this is the directory that will contain the .torrent files.
Alternatively, you can add the line:
to your mime.types file, which is used if the TypesConfig directive is present in httpd.conf.
|To add MIME types with Microsoft’s IIS web server:
If you cannot configure the application/x-bittorrent type, you could place the .torrent files in an archive (.zip, .rar, etc.) and serve that instead. Doing so will forfeit the ability to click on a torrent link and automatically launch the BitTorrent client, however. The user must manually unpack the .torrent file and then launch it to start the transfer.
|[Append to This Answer]||You can use the btlaunchmany.py or the btlaunchmanycurses.py version of the client. Both of these are found in the official source distribution. The first parameter on the command line specifies a directory which holds a number of .torrents and their corresponding files/folders; the rest of the command line follws the same form as the normal clients (see What are the command line parameters for the BitTorrent client? )
(more here later)
|[Append to This Answer]||Below are some good resources for BitTorrent information and support. Note: If you are simply looking for places to download files, try this section instead: Links to Popular BitTorrent Sites
|[New Answer in “Getting Help and Support”]||
|[Append to This Answer]||There are a handful of BitTorrent-related mailing lists maintained on Yahoo Groups. To join these lists, either click on the link and use the web interface, or send an email message to firstname.lastname@example.org where group is the name of the group. Please ensure that your post is on-topic and sent to the correct list.
|[Append to This Answer]||If you prefer the forum type of community, here are some links to BitTorrent-related forums: (a more complete list can be found at this page.)
|[Append to This Answer]||
|[Append to This Answer]||
|[Append to This Answer]||Please note: These links change often. This site is not meant as a comprehensive list, so I will just list a few good “links sites”.||Sites with extensive link collections / portals: http://spesb.com/link2u/, http://www.torrentlinks.com/index.php, http://home.quicknet.nl/qn/prive/romeria/bittorrentsites.htm||Torrent search engines: torrent-episodes.cjb.net, watchen.tv, isohunt.com, novasearch.net||Web sites offering legitimate BitTorrent files: BitTorrent Files for Slashdot Effect Victims, TradeFriendly torrents at etree.org, Colorado Tapers community site, Phishhook, Musicfreaks||Bittorrent Search Engine: http://throughput.de/index.php?page=bittorrent&language=en||Full automatic BitTorrent search engine: <a href=”http://www.btbot.com/”>BTbot</a>||[Append to This Answer]|
This document is: /cgi-bin/fom?file=1