Page 1 of 1
BitTorrent DHT

Posted:
06 Feb 2012 02:10
by ailurophobe
Tried it on a torrent without a valid tracker. Download worked fine although I had to start another torrent to get some peers into the host cache. I doubt a casual user would check for that, so a bootstrap system is needed. Also seeding doesn't work.
I am assuming these are both due to the the DHT support being not complete rather than actual bugs, but I thought I'd make a post to show somebody used the DHT support...
Thanks, ryo. It was a big help.
Re: BitTorrent DHT

Posted:
06 Feb 2012 18:22
by old_death
Yeah. Big thanks from me, too!
I have used it for a torrent or two and it seems to work quite well.

Re: BitTorrent DHT

Posted:
07 Feb 2012 18:35
by ailurophobe
More on the seeding issue I had.
It uploaded just fine until the torrent completed and it seems that torrent connections started before completion survived completion. Also Shareaza kept the file seeded and apparently available on the DHT correctly. The problem was that when somebody tried to start a new connection to download the file after it had been completed this always failed. Multiple reasons were given, presumably many of them perfectly legit, so I have no idea of the reason it never worked.
Well, I only tried this with one file since it was the only file I had that has zero valid trackers. If you have a tracker there is no issue AFAICT. (Maybe the code checking if the file is being seeded only checks active trackers, not DHT?) So it could have been just a temporary glitch. I'll post more if I see it again.
Re: BitTorrent DHT

Posted:
10 Feb 2012 14:55
by raspopov
Em... And what is a correct way to boot in DHT swarm?
Re: BitTorrent DHT

Posted:
10 Feb 2012 16:25
by ailurophobe
Re: BitTorrent DHT

Posted:
14 Feb 2012 18:01
by raspopov
I need sample torrent-file with "nodes".
Re: BitTorrent DHT

Posted:
16 Feb 2012 00:38
by ailurophobe
Why? Shareaza already has to take care of ED2K server lists and Gnutella discovery services and it would be fine to deal with BitTorrent DHT the same way those are dealt with: A default list included with the installer. Or a link to download a node list from web.
Re: BitTorrent DHT

Posted:
16 Feb 2012 03:31
by raspopov
Why what?
I need test torrent file with "nodes" section inside.
Re: BitTorrent DHT

Posted:
16 Feb 2012 17:19
by brov
You can use router.bittorrent.com:6881 to bootstrap a trackerless torrent in case no host available in cache.
As for torrent and nodes:
To my understanding: It can have have 'announce' key and/or 'nodes' key in the root dictionary. The value of 'nodes' is a list of 2-element lists of host (string) and port (int).
For example:
5:nodesll21:router.bittorrent.comi6881eee
Re: BitTorrent DHT

Posted:
16 Feb 2012 17:30
by raspopov
I need real torrent files with nodes for tests!
Re: BitTorrent DHT

Posted:
16 Feb 2012 17:43
by brov
Just add that example to any torrent you have

router.bittorrent.com works like any other DHT node... Or find a BT client that can create torrents and make one yourself (you can add any known working BT node to it).
Re: BitTorrent DHT

Posted:
17 Feb 2012 17:30
by raspopov
Re: BitTorrent DHT

Posted:
17 Feb 2012 19:20
by ailurophobe
Thank you.
Re: BitTorrent DHT

Posted:
11 May 2012 13:46
by andhee
can't wait to use DHT
