BitTorrent

来自开放百科 - 灰狐
跳转到: 导航, 搜索
Bittorrent-logo.gif
Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 BitTorrent Thanks, Wikipedia.

BitTorrent(简称BT,俗称BT下载、变态下载)是一个多点下载的源码公开的P2P软件,使用非常方便,就像一个浏览器插件,很适合新发布的热门下载。其特点简单的说就是:下载的人越多,速度越快。 BitTorrent 下载工具软件可以说是一个最新概念 P2P 的下载工具、它采用了多点对多点的原理,一般简称 BT(BitTorrent) 也就是大家所说的变态下载。该软件相当的特殊,一般我们下载档案或软件,大都由 HTTP 站点或FTP 站台下载,若同时间下载人数多时,基于该服务器频宽的因素,速度会减慢许多,而该软件却不同,恰巧相反,同时间下载的人数越多你下载的速度便越快,因为它采用了多点对多点的传输原理。

目录

技术

默认的 BitTorrent端口是从 6881 到 6889

Choose a port from the 49152–65534 range.

Clients

Install

Linux install BT Server

Debian

# apt-get update
# apt-get install bittorrent
$ btmakemetafile openbsd-4.1-i386.iso http://localhost:8099/announce

This produced a torrent file named openbsd-4.1-i386.iso.torrent

AddType application/x-bittorrent .torrent

AddType application/x-bittorrent .torrent

Setting up the tracker

$ bttrack --dfile mydownloadlogfile.txt --port 8099

Setting up the seed

$ btdownloadheadless --saveas /home/allen/test/openbsd-4.1-i386.iso  
openbsd-4.1-i386.iso.torrent

可能的错误

111, 'Connection refused'  // 加入 --allowed_dir ~/mytorrents 

将把文件下载到 test目录下

$ btdownloadheadless --url \
       http://localhost/openbsd-4.1-i386.iso.torrent --saveas \
      ./openbsd-4.1-i386.iso

Stats reporting from the tracker

http://localhost:8099

Using Other People's Trackers

$ btreannounce http://bt.huihoo.com:6969/announce \
       openbsd-4.1-i386.iso.torrent  
$ bttrack --port 8099 --show_names 1 --allowed_dir ~/mytorrents \
	--dfile downloadinfo.txt

参考: http://www.linuxdevcenter.com/pub/a/linux/2005/08/25/bittorrent.html FreeBSD

Goto /usr/ports/net/py-bittorrent, type make install clean, start with BitTorrent torrentfile.

Open Tracker

相关链接

BT资源

Comment-32x32.png

<discussion>characters_max=300</discussion>

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱