mpetazzoni / ttorrent

BitTorrent Java library with tracker and download client
http://mpetazzoni.github.com/ttorrent/
Apache License 2.0
1.38k stars 502 forks source link

DHT support #83

Open christf opened 10 years ago

christf commented 10 years ago

Suppoert for BEP5 would be awesome.

100apps commented 10 years ago

Does any one working on DHT?

c-riddell commented 10 years ago

I could be willing to help work on this, preferably with someone who knows NIO.

The only open source DHT implementation in Java that currently exists are Azureus forks (Vuze etc) so DHT does present a bit of a challenge, and even opportunity to be the only clean BitTorrent DHT code that would exist in Java.

TBoehm commented 9 years ago

I too would like to see DHT support. I have seen that a fork has implemented DHT https://github.com/AnDyXX/ttorrent but I don't know if those changes are easily mergable into the main project. Maybe someone with more insight of the code base could take a look?

cjmalloy commented 9 years ago

I just merged it in and it's pretty messy. That project was forked way back in 2011. It still might be easier than writing DHT from scratch though.

https://github.com/cjmalloy/ttorrent/tree/dht

icemagno commented 9 years ago

Can you consider using openchord ? http://open-chord.sourceforge.net/

Jotschi commented 9 years ago

@cjmalloy Can you recall the state of your merge? Is DHT functional?

cjmalloy commented 9 years ago

@Jotschi I highly doubt it. I mostly did the merge to try and isolate the dht code for inspection. Who knows it the branch AnDyXX was working on was finished.

icemagno commented 9 years ago

I tried openchord and it is working very well and is very generic. You'll nedd few modifications to bind it to ttorrent.

dessalines commented 9 years ago

I've also used tomp2p, which I'm a fan of. It would make sense to label this a feature request. I'd love DHT and PEX features in this.

enigma-yang commented 9 years ago

@icemagno It seems code base of open chord is no longer maintained by anyone for several years...

cinterloper commented 9 years ago

anyone for https://github.com/the8472/mldht ?

c-riddell commented 8 years ago

I am working on this now. Will push to my fork for feedback in the coming months and then submit a PR

vikulin commented 5 years ago

Any updates?