On 25.03.2010, at 15:09, Romain Wartel wrote:
DHT has been enabled on rTorrent, and we can observe some (low) traffic on the DHT server ports, however non-seeding rTorrent nodes get stuck on "No DHT nodes available for peer search.".

After starting a DHT-enabled torrent, check rtorrent's log (press 'l' [lower-case ell] in the main window) after 17 minutes. It should show some DHT related messages and one set of statistics.

I have read http://libtorrent.rakshasa.no/wiki/RTorrentUsingDHT and this clearly looks like a bootstrapping issue, however:
- Our torrent has a valid pointer to a DHT-enabled seeding node

A "nodes" entry you mean? Is the client and the given port publically accessible, i.e. not firewalled? Does this node have a proper DHT routing table already? If not, it can't be used for bootstrapping if it's itself not bootstrapped. You need one node that is already part of the DHT network.

- The same torrent file is successfully shared with the mainline Bittorrent Python client - Using dht_add_node=<initial-seeding-node>.cern.ch:6881 has no effect whatsoever

I suggest using tcpdump or similar to check DHT traffic on the seeding node as well as the client node after you do this. Again, the node you add here must be one that has fully joined the DHT network already.

I am now worried the actual DHT-only torrent file generation is an issue, possibly highlighting an incompatibility between the mainline DHT implementations Bittorrent and rTorrent.

No, the message "No DHT nodes available" indicates a problem with joining the DHT network, not with the torrent. There is just no-one to communicate with about it.

Any advice?
How do people generate DHT-only torrents, in particular using CLI tools? (transmission, etc. support the DHT protocol, but it seems only the mainline Bittorrent client fully supports the creation of DHT-only torrents?)


Most torrent generation facilities can create DHT-only torrents, if they allow adding no trackers. I know Azureus could do it, at least it did years ago before it became Vuze.

Alternatively you can create a "normal" torrent with trackers, and open it in a torrent editor to remove the trackers...

--
Josef Drexler
jo...@ttdpatch.net

_______________________________________________
Libtorrent-devel mailing list
Libtorrent-devel@rakshasa.no
http://rakshasa.no/mailman/listinfo/libtorrent-devel

Reply via email to