Ticket #7: transmission-dht.README

File transmission-dht.README, 1.5 KB (added by charles, 13 years ago)
Line 
1The file transmission-dht-20090612.patch in this directory contains a patch
2to make the ``transmission'' Bittorrent client participate in the
3``mainline'' distribute hash table (DHT).
4
5This is a very first and incomplete attempt.
6
7
8Building
9********
10
111. Apply the patch to the transmission-1.60 sources.
12
132. Get the archive
14
15    http://www.pps.jussieu.fr/~jch/software/files/dht-0.1.tar.gz
16
17untar it, and rename the directory into transmission-1.60/thirdparty/dht .
18
193. sh ./autogen.sh
20
214. make
22
23
24Usage
25*****
26
27My patch cannot yet bootstrap by itself, so you need to give it a bunch of
28nodes to bootstrap from.  Create a file ~/.config/transmission/dht-bootstrap
29and put a bunch of socket addresses of DHT nodes, one per line.
30
31For example, if you have another DHT-aware client running on the local
32machine on port 1234, you could put
33
34  127.0.0.1:1234
35
36Firewall yourself away from all trackers, and run transmission.  After
37a while, you should see nodes ``learned from DHT'' appearing in the peers
38list.
39
40
41Limitations
42***********
43
44The integration of my DHT code with transmission is a gross hack.  The DHT
45is running in a separate thread, and the communication between the DHT and
46the rest of transmission is pretty minimal.
47
48We should be saving our DHT id and at least part of our routing table at
49shutdown, and restoring it when we come back up.  We should also advertise
50and parse the PORT Bittorrent protocol message, and parse torrent files for
51the nodes key.
52
53
54                                        Juliusz Chroboczek