Difference between revisions of "BitTorrentFAQ"

From TheoryOrg
Jump to navigation Jump to search
Line 55: Line 55:
A : Yes it is.
A : Yes it is.
===Download stuck at 99.9%===
===Download stuck at ===
A: I've seen this happen several times, different torrents/clients/trackers. I've had luck with walking away from the torrent for a day or so, then try again and/or deleting the file and starting over. Simply waiting does not seem to work, I have a torrent right now that I started at 99% a day ago, and it's already downloaded THREE TIMES the total torrent size, and it thinks all the chunks have been bad.
A: Usually means you want a file the has very few or intermittent seeders and peers. You can end up waiting for hours or days for someone to come back online with the chuncks of the file you need to finish.
- This usually results from buggy NAT routers that are replacing legitimate data in your packets.  When the packet fails the hash check, because the router scrambled it, BitTorrent rejects it, and asks for the data again.  See [http://azureus.aelitis.com/wiki/index.php/NinetyNine] for more details.  And be glad BitTorrent has noticed that your router was corrupting packets -- none of your other software figured it out!
- If your client supports it turn on protocol encryption. This should hide the data from your routers misbehaviour.
===Where are the settings/options?===
===Where are the settings/options?===

Revision as of 15:12, 17 May 2013

We migrated to a new wiki installation in mid-February 2013. Create a new account! The important pages were imported and the spam was left behind.

Where are these questions/answers from?

Originally some of the Q&A was collected from the old BitTorrent mailing list (which died in 2005) and some started here. However, the vast majority of the questions have been posed and answered directly on this wiki. Continue to do so! :)

NOTE: No one is in charge of the wiki content. The BitTorrent community is creating this FAQ. Big thanks to everyone in the community!!

Other FAQs and tutorials to check out: removed because they no longer exist

Wasn't there a list here of free BitTorrent sites?

See the Free BitTorrent sites page, and wiki.etree.org.

Is there a bittorrent for FreeBSD, and how can I use it as a background process?

Yes, the BitTorrent client is available as a port (/usr/ports/net-p2p/py-bittorrent).

How can I use BitTorrent from a console or as a background task in Unix/BSD?

See this convenient BASH script to run bittorrent as a daemon . Also look into using the unix command screen.

If I have started a download with BT 3.2, can I upgrade to 3.3 and finish the file this way or will this corrupt things?

-BT3.3 allocates the diskspace for files as they are downloaded whereas BT3.2 allocated the entire file first and then began the download. I am sure that Bram took this fact into account, and that BT3.3 still works with old BT3.2. Make a backup copy though, it can't hurt.

-My guess? Copy the old file to somewhere safe, and try it!

-I use BT3.3 and although files do grow to full size, they still do so before they are completely done downloading. I have an .ogm download going now with 12 eps. 4 of them are at full size now BUT they have big gaps in the middle of them. I tried to watch ep1 when it was at full size, thinking it was actually DONE, and found that it was, in fact, NOT. Now, 12 hours later, I make another copy and I can actually get some video out of the file. CRC still doesn't match, though.

-For the above problem I would guess the problem is that BT get's a block in the end of the file, and in order to write it at the correct place it have to allocate the whole file even before it is completly finished, that would leave a big gap with none data in the middle of the file.

-I same for me, I have five chapter in ogm media format and BT3.3, the first and second chapters are done but the video is totally broken. I pray for this download finish sucefully. ;-)

-Many of the newer Python clients will grow the downloaded files in a somewhat unique way. When a piece is downloaded that belongs at a location beyond the end of the incomplete file on disk, it is placed at the current end of the file. If later a piece is downloaded that actually belongs in that spot, the data there will be relocated either to the end of the file if it is supposed to go at a place beyond the now current end of the file, or it will displace another piece that isn't where it is supposed to be. Eventually, every piece is displaced by the data that is supposed to fill its space and the file has been completely reconstructed.

How can I create .torrent files using only the programs in the BitTorrent source distribution, without using a GUI?

The command line is "btmakemetafile.py blah.iso http://tracker.abc.xyz:6969/announce". Turns out the "/announce" MUST BE PRESENT in order for the resulting .torrent file to work correctly.

I want to seed a few files but btlaunchmanycurses opens a separate port for each file - is there a client that handles multiple files via just a single port?

A: Bitorrent-4.x uses only a single port. Upgrade to it. It has a much nicer user interface, too.

-There is a modified client version called ABC, you can get it here http://pingpong-abc.sourceforge.net/

-There's also a Win32/C++ client called BitComet which uses a single port.

-Azureus (java & gui) will use a single port as well [[ http://azureus.sourceforge.net/%7CAzureus ]] ([[ http://azureus.jp/%7CAzurues Japan ]]).

I download a file using bittorrent and it grows and grows. Now it is 10% bigger than it should be and it is still downloading. Is this behavior normal?

A : Yes it is.

Download stuck at

A: Usually means you want a file the has very few or intermittent seeders and peers. You can end up waiting for hours or days for someone to come back online with the chuncks of the file you need to finish.

Where are the settings/options?

A: For Windows users: Go to run and type "c:program filesittorrenttdownloadgui" - this will give you a list of commands.

I want to leave running multiple torrents that I've already downloaded so others can download. However, I just want to run one copy of bittorrent so I can use a single --maxuploadrate command to cap the max amount of bandwidth used. Is there a way to do this?

A: [[BitTorrent-4.x]] does this without trouble. It has a slider at the top of the window that controls the total upload rate, too.

- Alternate Windows clients such as Torrentstorm have improved on the interface and give you both a per-torrent and a global upload limit, as well as a single GUI with progress for all torrents you are downloading/seeding. You can run multiple torrents on UNIX by using btlaunchmany/btlaunchmanycurses - unfortunatly the maxuploadrate is still per torrent and not global :(

How could I detect if BitTorrent is running on a host using HTTP headers? what would the HTTP query string look like?

A: The only thing BitTorrent uses HTTP for is the tracker. Use a URL like the "Announce" URL from a .torrent file to see if an HTTP site is running a tracker.

How can I determine my maximum upload bandwidth, so I can set the max to 75% of that?

A: First check the web site of your ISP to find your plan - this will usually show the speed possibilities. If your ISP does not list it, the upload speed will probably be a multiple of 128Kbits/s (16 Kb/s). Examples of plans are 3000k/256k (cable), 4000k/384k (cable), 768k/128k (DSL), 1500k/384k (DSL). Try running BitTorrent with no upload limit and watch the upload rate, it will probably peak at a little below your maximum once it gets going and you have part of the file to share.

Is there any way to cloak your IP address while using the torrent program?

A: No it's impossible, because clients connected to the torrent need to know the IP address of other peer clients to share and download parts of the torrent from.

Since IPs cannot be masked, for the sake of connected up/downloaders, how safe is this model? Are the users who are either uploading to you or downloading from you the only objects that can know your IP?

A: Trackers can report your IP even to people who are not downloading from you. Don't use BitTorrent if you don't want people to be able to see what you're downloading, since it is very public. In short, the tracker knows all peer IPs, and gives out a random subset of those to anyone who asks. Given several subsequent tracker requests, it is thus likely that a spying party may be able to retreive most or all of the active peer IPs.

Is there work going on to help BitTorrent be used for streaming media? I'm assuming it's not useful now because it doesn't try to get the beginning of the file first.

A: There already are several efforts underway in other projects, the most prominent being [1], [2], [[P2P-Radio|Streamerp2p], Skype [3]and Joost [4]. They use a similar idea to BitTorrent in that 'clients' can also become 'servers', but the model is different because the clients generally just help retransmit the feed they are receiving from an upstream server.

- BitTorrent's performance depends strongly on each client requesting 'different parts of the file from the seed. This gives each client something to trade with other clients (that they don't already have), making every client valuable to every other. Unfortunately, streaming has the opposite behavior: everyone wants the first part of the file first, etc. See Bram Cohen's article Bit Torrent Economics.

Is there any way to limit transfer rates/bandwidth

A: Yes, imagine that your connection to internet is like a unusual highway where the traffic travels very fast one way (download) and substantially slower the other way (upload). Every so often the client must tell the sender that it has received a good chunk of the file. If you have your upload speed set to the default of 0 which means unlimited and you are uploading at your max rate it will slow your download speed. Because the response to the sender for downloaded chunch is waiting on an upload chunck to finish. Family or friends sharing the connection will be affected by the client running unlimited up or down. Many clients have options to limit bandwidth.

If a torrent contains more than one file, is there a way to download only selected files?

Yes, most clients have this option, see the help file or author's website.

Is there a way... if the download is a movie... to cut the file... I really don't care to watch the last 2 minutes of the movie (the credits and so on). So the question is; Is there a way to cut the file at 97.6%, and watch it?

A: Note that BitTorrent divides a download into many pieces, and requests those pieces in any order, so the last 2.4% you download probably isn't from the end. Also important is that many types of video files just won't play if the end of the file is missing or truncated - the player sees them as damaged.

Why did all of the big search sites go down around June 1, 2003? Did hackers/virus/worm take down these search sites? Was it Aliens? Slashdot... again?

A: http://www.chillingeffects.org/ http://torrentfreak.com/ provide up to the minute information on the on-going battle between bittorrent users, trackers, and the Motion picture and recording industry.