information about this package can be found in the README. here is a html-version of the README:
in development. don't expect things to work yet.
this package contains a bittorrent peer (for downloading and uploading files), tools for verifying torrents & printing information about torrents, a bittorrent tracker for use with a http server, and a program for creating torrent files.
this package depends on "http", "web" and "util".
to install, bind/symlink/include a mkconfig (e.g. from your inferno install), and:
mk install
when building from within inferno, insert SYSHOST=Inferno and ROOT= in the mk invocations to override the values in the mkconfig.
the latest version can be found at
http://www.ueber.net/code/r/torrent
all files are in the public domain. this code has been written by mechiel lukkien, reachable at mechiel@ueber.net or mechiel@xs4all.nl.
to clone & pull:
hg clone http://www.ueber.net/hgsrv/torrent/
hg clone static-http://www.ueber.net/who/mjl/hg/torrent/
download a snapshot of the latest version: torrent-123.tgz.
the files in the latest revision can be found at /hg/torrent/files/tip/. a specific revision can be access by replacing "tip" with the revision number, (partial) nodeid or tag name. a few direct links to useful files in the latest revision:
| rev | nodeid | when | diff | why |
|---|---|---|---|---|
| 123 | 80b69344641a | 10 months | diff | make an error message more readable. prevent two rare crashes, on... |
| 122 | 4d8f68eeca53 | 10 months | diff | fix bug caused by separate prog for verifying piece. we now tempo... |
| 121 | c51adca9e6ff | 10 months | diff | unbreak bit arrays. hadn't tested and forgot the Bits adt swapped... |
| 120 | 28997c2090e5 | 10 months | diff | manual pages for wm/torrent and torrent/peer. |
| 119 | cb891df34315 | 10 months | diff | rename Bits' .n field to .total. to prevent confusion with field ... |
| 118 | d2b95cf7f4ea | 10 months | diff | better tracker handling. ... |
| 117 | 4ceb8efa04e4 | 11 months | diff | show age of peers in wm/torrent's peer view. fix updating per-fil... |
| 116 | 8f9c5036acbd | 11 months | diff | implement bep 12, multi tracker support. ... |
| 115 | 40852358d6c3 | 11 months | diff | improve keeping track of known peers. this helps us stay connecte... |
| 114 | 0a40dec09081 | 11 months | diff | schedule up to 4 reads from disk, and fix buffer size calculation ... |
| 113 | e3f43246407c | 11 months | diff | better reading from disk, do hash verification in separate thread. ... |
| 112 | cd4ece3e0927 | 11 months | diff | various fixes. ... |
| 111 | 5a8becdd249d | 11 months | diff | some small fixes & improvements. ... |
| 110 | c2a4451fc857 | 11 months | diff | various. ... |
| 109 | 9d98ceaac480 | 11 months | diff | various improvements. the most obvious ones are a faster end-game... |
| 108 | e9cfb75f44cf | 11 months | diff | implement an end-game. and many other small changes. this also a... |
| 107 | e043bb609d67 | 11 months | diff | minor improvements, e.g. peerid in badpeer view in wm/torrent, and... |
| 106 | f57412a709b4 | 11 months | diff | lots of improvements, big ones in swarm management. ... |
| 105 | c7c3e69f94f1 | 11 months | diff | big changes. mostly simplifications. ... |
| 104 | 3390b5404d4f | 12 months | diff | various things before starting on some simplification. ... |
| 103 | d846db5fbb3f | 12 months | diff | better piece accounting, and various other improvements. ... |