BitTorrent DHT

Discuss Shareaza development as a user.
Forum rules
Home | Wiki | Rules

BitTorrent DHT

Postby ailurophobe » 06 Feb 2012 02:10

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.
ailurophobe
 
Posts: 709
Joined: 11 Nov 2009 05:25

Re: BitTorrent DHT

Postby old_death » 06 Feb 2012 18:22

Yeah. Big thanks from me, too!

I have used it for a torrent or two and it seems to work quite well. :D
Last edited by old_death on 08 Feb 2012 18:33, edited 1 time in total.
Reason: misspelling fix
User avatar
old_death
 
Posts: 1950
Joined: 13 Jun 2009 16:19

Re: BitTorrent DHT

Postby ailurophobe » 07 Feb 2012 18:35

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.
ailurophobe
 
Posts: 709
Joined: 11 Nov 2009 05:25

Re: BitTorrent DHT

Postby raspopov » 10 Feb 2012 14:55

Em... And what is a correct way to boot in DHT swarm?
User avatar
raspopov
Project Admin
 
Posts: 945
Joined: 13 Jun 2009 12:30

Re: BitTorrent DHT

Postby ailurophobe » 10 Feb 2012 16:25

ailurophobe
 
Posts: 709
Joined: 11 Nov 2009 05:25

Re: BitTorrent DHT

Postby raspopov » 14 Feb 2012 18:01

I need sample torrent-file with "nodes".
User avatar
raspopov
Project Admin
 
Posts: 945
Joined: 13 Jun 2009 12:30

Re: BitTorrent DHT

Postby ailurophobe » 16 Feb 2012 00:38

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.
ailurophobe
 
Posts: 709
Joined: 11 Nov 2009 05:25

Re: BitTorrent DHT

Postby raspopov » 16 Feb 2012 03:31

Why what?

I need test torrent file with "nodes" section inside.
User avatar
raspopov
Project Admin
 
Posts: 945
Joined: 13 Jun 2009 12:30

Re: BitTorrent DHT

Postby brov » 16 Feb 2012 17:19

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
brov
 
Posts: 87
Joined: 05 Jul 2009 12:15

Re: BitTorrent DHT

Postby raspopov » 16 Feb 2012 17:30

I need real torrent files with nodes for tests!
User avatar
raspopov
Project Admin
 
Posts: 945
Joined: 13 Jun 2009 12:30

Re: BitTorrent DHT

Postby brov » 16 Feb 2012 17:43

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).
brov
 
Posts: 87
Joined: 05 Jul 2009 12:15

Re: BitTorrent DHT

Postby raspopov » 17 Feb 2012 17:30

Done. r9084
User avatar
raspopov
Project Admin
 
Posts: 945
Joined: 13 Jun 2009 12:30

Re: BitTorrent DHT

Postby ailurophobe » 17 Feb 2012 19:20

Thank you.
ailurophobe
 
Posts: 709
Joined: 11 Nov 2009 05:25

Re: BitTorrent DHT

Postby andhee » 11 May 2012 13:46

can't wait to use DHT :D
User avatar
andhee
 
Posts: 29
Joined: 22 Aug 2009 07:37
Location: Jakarta, ID


Return to Bugs, Tasks, and Features Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron