DHT support
Opened this issue · 13 comments
Suppoert for BEP5 would be awesome.
Does any one working on DHT?
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.
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?
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.
Can you consider using openchord ?
http://open-chord.sourceforge.net/
@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.
I tried openchord and it is working very well and is very generic. You'll nedd few modifications to bind it to ttorrent.
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.
@icemagno It seems code base of open chord is no longer maintained by anyone for several years...
anyone for https://github.com/the8472/mldht ?
I am working on this now. Will push to my fork for feedback in the coming months and then submit a PR
Any updates?