Difference between revisions of "BitTorrentFAQ"

From Theory.org Wiki
Jump to: navigation, search
(Where are these questions/answers from?: even better)
(About VPN and other ways to avoid file sharing troubles)
 
(172 intermediate revisions by 50 users not shown)
Line 1: Line 1:
The Wiki requires you log in (use the link in the upper right corner). The change was made in order to slow down the amount of wikispam getting dumped here.
+
''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. ''
  
== A collection of frequently asked questions about [http://bitconjurer.org/BitTorrent/ BitTorrent]. ==
 
 
=== Where are these questions/answers from? ===
 
=== Where are these questions/answers from? ===
  
Line 9: Line 8:
  
 
Other FAQs and tutorials to check out:
 
Other FAQs and tutorials to check out:
* [http://www.dessent.net/btfaq/ Biran Dessent's BitTorrent FAQ]
+
[http://wiki.etree.org/index.php?page=BitTorrentDownloads wiki.etree.org].
* [http://pcpages.com/idolcrash/Tutorial.html IdolCrash's BitTorrent Tutorial].
 
  
== General FAQ: ==
+
[[List_of_BitTorrent_sites]]    === [https://www.google.com/search?q=bittorrent+search+engines Bittorrent search engines] ===
  
===Wasn't there a list here of free [[BitTorrent]] sites?===
+
===Is there a bittorrent for FreeBSD, and how can I use it as a background process?===
  
It.s at the bottom of the page.  See also [http://wiki.etree.org/index.php?page=BitTorrentDownloads wiki.etree.org].
+
Yes, the BitTorrent client is available as a port (/usr/ports/net-p2p/py-bittorrent).
  
===Is there a bittorrent for [[FreeBSD]], and how can I use it as a background process?===
+
===How can I use BitTorrent from a console or as a background task in Unix/BSD?===
 
 
Yes, the [[BitTorrent]] 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 [http://www.guckes.net/screen/ screen].
 
See this convenient [[BASH script to run bittorrent as a daemon ]]. Also look into using the unix command [http://www.guckes.net/screen/ 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? ===
+
===How can I create .torrent files using only the programs in the BitTorrent source distribution, without using a GUI?===
 
 
-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.
 
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?===
+
===Download stuck or very slow for hours ===
  
A: [http://bittorrent.com Bitorrent-4.x] uses only a single port.  Upgrade to it.  It has a much nicer user interface, too.
+
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 chunks of the file you need to finish. Many clients display the number of seeders and peers and availability of the torrent.
 
 
-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 [http://www.bitcomet.com [[BitComet]]] which uses a single port.
 
 
 
-Azureus (java & gui) will use a single port as well [[ http://azureus.sourceforge.net/|Azureus ]] ([[ http://azureus.jp/|Azurues 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 99.9%===
 
 
 
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.
 
 
 
- 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!
 
 
 
===Where are the settings/options?===
 
 
 
A: For Windows users: Go to run and type "c:program files�ittorrent�tdownloadgui" - 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 --max''upload''rate command to cap the max amount of bandwidth used.  Is there a way to do this?===
 
 
 
A: [http://bittorrent.com [[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 [http://www.torrentstorm.com 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 max''upload''rate 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.
 
 
 
===BitTorrent lags the hell out of my computer. I've got cable and a 2.6ghz processor. When I get like 3-4 or more Torrents going, my computer and connection are very laggy. What's wrong?===
 
 
 
A: You're probably maxing out your upload capacity, which affects your download speed because
 
downloads slow down until they see ACKnowledgement packets coming back up.  Cable usually has a very large download capacity, around 2Mbit /sec, but a very limited upload capacity, usually 128 to 256Kbit/sec, and often poorly queued.  Running a bunch of [[BitTorrents]] will rapidly chew up that thin upload capacity causing your network connections to lag (even downloads require your computer to send out some packets).  Limit your upload rate to about 75% your upload capacity to allow for overhead,
 
using a client like [[BitTorrent]]-4.x or [http://pingpong-abc.sourceforge.net/ ABC]) that consolidate multiple torrent downloads into a single program, and have a global upload limit.
 
 
 
A: I've fixed this on my computer by turning off the Indexing Service. Go to Control Panel -> Administrative Tools -> Services, and turn off Indexing Service there.
 
  
 
=== How can I determine my maximum upload bandwidth, so I can set the max to 75% of that? ===
 
=== 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.
+
A. Best method, Isp's have a link somewhere on their website to perform a bandwidth/speed test which takes less than a minute. Other method, search for 'speed test' careful not to download and install unnecessary software some try to trick you. Tests wont be very accurate if anyone else is busily using your connection at the moment.
 
 
=== Cable usage: Is it normal to get upload speeds of 2-20 times download speed;  both overall and per peer? I can't believe that total download speed of 1-5 KB/sec is normal;  I'd be much better off using regular FTP! ===
 
 
 
A: A few possible reasons:
 
* Go ahead and use FTP if you can find someone offering the file for FTP.
 
* upload/download rates vary depending how many people are on the torrent, and how much of the torrent they have downloaded.  If many people are on a torrent it can take some time before bittorrent finds "local" peers with a good transfer rate.
 
* bittorrent can be slow for the following reasons: 1) you start with very little file to offer, and lose out on the "tit for tat" algorithm 2) on torrents with large numbers of downloaders it takes time to find peers with a good connection rate to you 3) only one person has a full copy of the file and they are on a slow connection 4) max''upload''rate is not set and the upload is saturating your modem - 1 and 2 fix themselves if you wait on the torrent for 10-15 mins.
 
* If you're uploading more than you're downloading, be happy for all the other guys who you're providing good download performance to.  Often this happens when a single seed is slow or is swamped, or if the seed is serving up dozens of files and they're all competing.  Your fast upload speed will help everybody else "catch up" with you -- then everyone will slow down to the speed at which the seed can send its unique copy of the data out.
 
''' Recently discovered & verified - Some ISPs are throttling the traffic on the [[BitTorrent]] default ports. Changing the ports from the default range to a different range (in the 50000's) changed downloading from a trickle (1-2 kB/s) to The Way It Should Be (up to 330 kB/s on a 3000/256 connection). This almost seems unethical, but ISPs have probably taken note that [[BitTorrent]] traffic has become over 50% of Internet traffic by some surveys. [[BitTorrent]] also saturates the 'slow' side of asymmetric connections with it's uploading, which upsets the 'surf and download' usage the cable modem providers are expecting from their typical user.  ''Name names here: what ISP did you verify this about?*
 
** ONO in Spain (now Auna) is currently doing this; they even managed, after much pressure, to acknowledge heavy handed [[QoS]] on [[P2P]] traffic.
 
* You can tune [[BitTorrent]] by increasing your upload limit slowly from about 75% of your maximum and finding the point where your download speed begins decreasing instead of increasing (best done on a torrent with many seeders). That peak is the best setting for your upload limit.
 
* Your router may have to foward the ports to a particular IP address. You can determine your IP address under windows using the "ipconfig" command.  However, your computer may be assigned a NEW IP address whenever it reboots.  If your Torrents suddenly slow down, confirm your computers ip address matches the one your router is fowarding too.  (A typical home router IP address will look like "198.168.100.1", "198.168.100.2", etc.)
 
 
 
=== 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.
+
=== About VPN and other ways to avoid file sharing troubles ===
  
=== 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. ===
+
Ipfilter support is built-in to clients such as Utorrent. Anybody that is really after you can change their ip in a flash. Ends up blocking like 10,000 legitimate peers for every boogie man. Bittorrent needs to develop a trust network and client features that log ip that never send any files and share that info with the trackers. They all use the same outdated poorly maintained list of IP's. Another good way to get some sucker to click on an ad or install spyware. Turns out the IPfilter list maintainer charges a yearly subscription for an additional government and anti-p2p section. Window XP SP2 on up have built advanced firewall that could implement the list, but that would put Peerguard Peerblock and whatever out of a job.
  
A: There already are several efforts underway in other projects, the most prominent being [http://p2p-radio.sourceforge.net/], [http://www.peercast.org/|PeerCast], [http://www.streamerp2p.com [[P2P]-Radio|Streamerp2p], Skype [http://www.skype.com]and Joost [http://www.Joost.com]. 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.
+
VPN is a secure but expensive for protection from trouble if you have it configured properly and can really trust a VPN provider. Originally VPN's were used by corporate and government workers, to work remotely and the VPN service was provided at the central company or organization.  
  
- [[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 [http://bitconjurer.org/BitTorrent/bittorrentecon.pdf Bit Torrent Economics].
+
I kind of panicked when a fairly accurate list of files I had downloaded with dates and my ip showed up on a web site. You may to shortly if the bittorrent attackers are active and logging. As you might imagine bittorrent is not as flawless as intended. Now comes link to a technical youtube video by a very knowledgeable geek currently working for Facebook that demonstrates a huge flaw in one aspect of bittorrent technology. I am glad he made the video, it does not mean he disovered the flaw in bittorrent. The other link is to dubious business that may attempt to extort money should attempt to contact them to remove any file listing or they may be motivated by rewards from the motion picture and recording henchmen. Any savvy programmer with networking knowledge is capable of the same feats. Many clients have a feature to disable DHT completely. DHT is not the only way but is obviously the easiest way without cooperation of a tracks to obtain this information. Certainly, disabling DHT will affect file share more or less as well as keep these whack-jobs from tracking you the easy way, generating increased bandwidth on the trackers sadly, but most of all put pressure on the bittorrent authors to implement some kind of fix if possible.
 +
[http://www.youtube.com/watch?v=v4Q_F4XmNEc DHT flaw pt 1] [http://www.youtube.com/watch?feature=endscreen&NR=1&v=mO3DfLtKPGs. DHT flaw pt 2] If you visit the following site and are not listed when you expect you would they may not be active or you ip may have changed which does not mean you are safe, do you keep track if your ip ever changes and when, anyway. [http://scaneye.net/ Scaneye.net] is likely using this open source program [https://spyundwear.codeplex.com/ Clearview]
  
=== Is there any way to limit the bt download rate.  I have a co-located machine on a 100Mbit connection, but with a contracted rate of 2Mbit (I pay extra for large bursts) when I started downloading Mandrake 10 the download rate jumped to 10Mbit (I had to stop the download before it cost me a fortune !) ===
+
=== 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: [[BitTorrent]] clients play a tit-for-tat game with transfer rates; if you tell your client to limit its maximum upload rate, that will make its peers limit the rate they download to you at. If you start off with a very conservative upload rate and watch your connection's behavior, you should get a feel for a safe upload rate limit.  This will work unless there are a lot of seeds, which download to anyone despite not needing any uploads.
+
A: There already are several efforts underway in other projects, the most prominent being [http://p2p-radio.sourceforge.net/], [http://www.peercast.org/|PeerCast], [http://www.streamerp2p.com [[P2P]-Radio|Streamerp2p], Skype [http://www.skype.com]and Joost [http://www.Joost.com]. 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.
  
A2: [http://www.dessent.net/btfaq/ Brian Dessents' [[BitTorrent] FAQ]] lists ways to limit the download speed. Essentially you need to use a firewall, traffic shaper or some other utility to limit the download speed.
+
- 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 [http://bitconjurer.org/BitTorrent/bittorrentecon.pdf Bit Torrent Economics].
  
===If a .torrent contains more than one file, is there a way to download only selected files?===
+
=== Is there any way to limit transfer rates/bandwidth ===
  
A: Yes, I saw it in [[BitTornado]] (maybe some other clients do it).
+
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 chunck is waiting on an upload chunk 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.
Start your download and go to "details". Right click a file and select "download never" to exclude it.
 
Tested with Linux but I hope [[BitTornado]] works the same way on any OS.
 
  
A: Azureus (java/gui client: http://azureus.sourceforge.net/) has the exact same feature.  When first importing a .torrent file, you'll be given a list of files within that torrent.  Simply uncheck the ones you do not wish to download.
+
===If a torrent contains more than one file, is there a way to download only selected files?===
  
A: [[BitComet]] also has this feature, just uncheck the box next to the files you don't want to download when the "Properties" box shows up when starting the torrent.
+
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?===
 
===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.
+
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?===
 
===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: Aliens.
+
A: [http://www.chillingeffects.org/ Chilling Effects] 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.
 
 
== Torrent Sites ==
 
 
 
A Few Sites:
 
* English/International:
 
** [http://www.digital-update.com Digital-Update]
 
** [http://www.peerit.com PeerIt]
 
** [http://www.yatorrent.com.ar yaTorrent]
 
** [http://torrentchannel.com/ The TorrentChannel]
 
** [http://www.substy.com Substy - Torrent Meta Search Engine]
 
** [http://www.gameupdates.org Game Updates]
 
** [http://www.secret-cinema.com Secret Cinema]
 
** [http://throughput.de/torrent-search_en.html throughput.de]
 
** [http://www.mybittorrent.com/ MyBitTorrent]
 
** [http://www.yotoshitorrent.com/ YotoshiTorrent]
 
** [http://www.tracktrap.com/ TrackTrap]
 
** [http://www.yotoshi.com/ Yotoshi]
 
** [http://www.convinitorrent.com/ ConviniTorrent]
 
** [http://www.torrentz.com/ Torrentz]
 
** [http://www.torrentreactor.com/ TorrentReactor]
 
** [http://hardcoretorrents.com/ HardCore Torrents]
 
 
 
* Swedish:
 
** [http://www.yatorrent.com.ar yaTorrent]
 
** [http://www.thepiratesofbay.org The Pirates of eBay] - Used to be in swedish, not it's in English and more internationally oriented
 
* German:
 
** [http://www.yatorrent.com.ar yaTorrent]
 
** [http://throughput.de/torrent-search_de.html throughput.de/german]
 
** [http://www.Burningboard.net/ Burningboard]
 
** [http://www.Zentrale-der-portale.com/ Zentrale-der-portale]
 
** [http://www.Speedtorrent.com/ Speedtorrent]
 
** [http://bittorrent-help.tk/ BitTorrent-Help]
 
* Hebrew:
 
** [http://www.yatorrent.com.ar yaTorrent]
 
** [http://www.lionetwork.net/ Lionetwork]
 
** [http://www.shitufit.com/ Shitufit]
 
** [http://www.shift.co.il/ Shift]
 
* French:
 
** [http://www.yatorrent.com.ar yaTorrent]
 
** [http://www.Futurama.firstream.net/ Futurama]
 
** [http://www.Emutorrent.com/bittorent-divx/ Emutorrent]
 
** [http://www.Bittorent.biz/ Bittorent]
 
* Arabic:
 
** [http://www.yatorrent.com.ar yaTorrent]
 
** [http://www.Al-aflam.com/forum/ Al-aflam]
 
* Japanese:
 
** [http://www.yatorrent.com.ar yaTorrent]
 
** [http://www.yotoshitorrent.com/ YotoshiTorrent]
 
** [http://www.yotoshi.com/ Yotoshi]
 
* Spanish:
 
** [http://www.yatorrent.com.ar yaTorrent]
 
 
 
See also [http://wiki.etree.org/index.php?page=BitTorrentDownloads wiki.etree.org].
 
 
 
There are also [[BitTorrentSearchEngines]].
 
 
 
For [[BitTorrent]] News
 
* English:
 
** [http://www.yatorrent.com.ar yaTorrent]
 
** [http://www.yotoshi.com/ Yotoshi]
 
** [http://www.torrent-news.com/ [[BitTorrent] News]]
 
* Japanese:
 
** [http://www.yatorrent.com.ar yaTorrent]
 
** [http://www.yotoshi.com/ Yotoshi]
 
** [http://www.bittorrent.jp/ [[BitTorrent] Japan]]
 
 
 
[[Category:FAQ]]
 

Latest revision as of 16:42, 22 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: wiki.etree.org.

List_of_BitTorrent_sites === Bittorrent search engines ===

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.

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.

Download stuck or very slow for hours

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 chunks of the file you need to finish. Many clients display the number of seeders and peers and availability of the torrent.

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

A. Best method, Isp's have a link somewhere on their website to perform a bandwidth/speed test which takes less than a minute. Other method, search for 'speed test' careful not to download and install unnecessary software some try to trick you. Tests wont be very accurate if anyone else is busily using your connection at the moment.

About VPN and other ways to avoid file sharing troubles

Ipfilter support is built-in to clients such as Utorrent. Anybody that is really after you can change their ip in a flash. Ends up blocking like 10,000 legitimate peers for every boogie man. Bittorrent needs to develop a trust network and client features that log ip that never send any files and share that info with the trackers. They all use the same outdated poorly maintained list of IP's. Another good way to get some sucker to click on an ad or install spyware. Turns out the IPfilter list maintainer charges a yearly subscription for an additional government and anti-p2p section. Window XP SP2 on up have built advanced firewall that could implement the list, but that would put Peerguard Peerblock and whatever out of a job.

VPN is a secure but expensive for protection from trouble if you have it configured properly and can really trust a VPN provider. Originally VPN's were used by corporate and government workers, to work remotely and the VPN service was provided at the central company or organization.

I kind of panicked when a fairly accurate list of files I had downloaded with dates and my ip showed up on a web site. You may to shortly if the bittorrent attackers are active and logging. As you might imagine bittorrent is not as flawless as intended. Now comes link to a technical youtube video by a very knowledgeable geek currently working for Facebook that demonstrates a huge flaw in one aspect of bittorrent technology. I am glad he made the video, it does not mean he disovered the flaw in bittorrent. The other link is to dubious business that may attempt to extort money should attempt to contact them to remove any file listing or they may be motivated by rewards from the motion picture and recording henchmen. Any savvy programmer with networking knowledge is capable of the same feats. Many clients have a feature to disable DHT completely. DHT is not the only way but is obviously the easiest way without cooperation of a tracks to obtain this information. Certainly, disabling DHT will affect file share more or less as well as keep these whack-jobs from tracking you the easy way, generating increased bandwidth on the trackers sadly, but most of all put pressure on the bittorrent authors to implement some kind of fix if possible. DHT flaw pt 1 DHT flaw pt 2 If you visit the following site and are not listed when you expect you would they may not be active or you ip may have changed which does not mean you are safe, do you keep track if your ip ever changes and when, anyway. Scaneye.net is likely using this open source program Clearview

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 chunck is waiting on an upload chunk 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: Chilling Effects 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.