Page 1 of 1

Bittorrent DHT Tracker v0.2

PostPosted: 20 Apr 2010 16:56
by ivan386
Git: https://github.com/ivan386/lua-dht (Fork me!)

Lua DHT_19_01_2011.zip
(622.25 KiB) Downloaded 681 times

Lua DHT 29 10 2010 (untested).zip
(427.48 KiB) Downloaded 386 times

Lua DHT 13 10 2010 .zip
(652.36 KiB) Downloaded 394 times



This local tracker emulator.


It use port 6543 for udp/tcp connections. (settigns.lua)

To use for some torrent need add tracker addres "http://127.0.0.1:6543/announce"

To use for single file use "magnet_to_uri_res.cmd" to get url for it.

http://127.0.0.1:6543/map - svg map of nodes
http://127.0.0.1:6543/info - info_hash list
http://127.0.0.1:6543/ - main page

Shareaza settings:
Connection.IgnoreOwnIP = false


Single file search test url: OnlinePlayer.zip (Give this url to Shareaza. Script must be allready run.)

install.cmd - install LuaDHT service and run it
uninstall.cmd - uninstall LuaDHT service

If last edited time is after your last download or "Not downloaded yet" than it new version.
Lua DHT_19_01_2011.zip
(622.25 KiB) Downloaded 681 times

Lua DHT 29 10 2010 (untested).zip
(427.48 KiB) Downloaded 386 times

Lua DHT 13 10 2010 .zip
(652.36 KiB) Downloaded 394 times

Re: Bittorrent DHT Tracker

PostPosted: 21 Apr 2010 07:18
by ivan386
Ping responce fixed

Re: Bittorrent DHT Tracker

PostPosted: 21 Apr 2010 09:38
by old_death
So it searches client IPs within the DHT but looks from outside as if it were a tracker?

Re: Bittorrent DHT Tracker

PostPosted: 21 Apr 2010 11:47
by old_death
BTW, would it be possible to use this to give Shareaza BT DHT support until a permanent solution has been coded? This (pseudo ;) ) tracker could be installed together with Shareaza and be queried if there are either no or not enough (torrent) sources for a BT download...
This shouldn't be too difficult to implement as a temporary solution, should it?

Re: Bittorrent DHT Tracker

PostPosted: 21 Apr 2010 14:10
by ivan386
This is for Shareaza (not only) BT DHT support until a permanent solution has been coded.

Re: Bittorrent DHT Tracker

PostPosted: 21 Apr 2010 14:13
by ivan386

Re: Bittorrent DHT Tracker

PostPosted: 22 Apr 2010 21:15
by ivan386
Other system to find k closest node.

Re: Bittorrent DHT Tracker

PostPosted: 23 Apr 2010 00:06
by old_death
Hmmm... after having started it, how can I see whether it is connected to the BT DHT? And how can I establish connection if it doesn't connect?

Re: Bittorrent DHT Tracker

PostPosted: 23 Apr 2010 10:17
by ivan386

Re: Bittorrent DHT Tracker

PostPosted: 23 Apr 2010 13:16
by old_death

Re: Bittorrent DHT Tracker

PostPosted: 23 Apr 2010 13:39
by ivan386

Re: Bittorrent DHT Tracker

PostPosted: 23 Apr 2010 17:24
by old_death

Re: Bittorrent DHT Tracker

PostPosted: 23 Apr 2010 17:58
by brov
I ran it on win7 w/o admin privs and it seems to connect to the dht... (I'm firewalled right now)

Re: Bittorrent DHT Tracker

PostPosted: 23 Apr 2010 18:19
by ivan386
2old_death: Copy console msgs here pls.

Re: Bittorrent DHT Tracker

PostPosted: 23 Apr 2010 18:25
by brov

Re: Bittorrent DHT Tracker

PostPosted: 24 Apr 2010 18:09
by ailurophobe
It is 'response', I think. Anyway, I think this is a sweet idea and might actually be better than integrating DHT directly to the main executable, not just for Bittorrent DHT but Kad as well. I think ryo made it so that plugins can run as separate processes and that would be pretty much ideal IMHO for the DHT stuff. Just make the plugins work like a virtual BT tracker or a virtual ED2K server and have Shareaza mirror the stuff they send to actual trackers or servers to it if enabled. And yes, I know it wouldn't actually be easy, but it would be doable and probably less mess than directly integrating DHT would be.

Re: Bittorrent DHT Tracker

PostPosted: 24 Apr 2010 22:23
by old_death

Re: Bittorrent DHT Tracker

PostPosted: 24 Apr 2010 22:58
by ivan386
Added:
1 forget peer if no announce 15min
2 /info : list of announced torrents
3 /map : svg map of nodes
Fixed: crush on uncorrect number in packet

Re: Bittorrent DHT Tracker v0.2

PostPosted: 27 Apr 2010 20:24
by ivan386
New version 0.2

Full BT DHT support + Single file search/announce for Gnutella2

Lets get start test of script!

Re: Bittorrent DHT Tracker v0.2

PostPosted: 28 Apr 2010 14:25
by ivan386
For single file sharing now Lua DHT have "Bisy" client emulator.
For ed2k it may be same. Ed2k clients exchanges sources?

Re: Bittorrent DHT Tracker v0.2

PostPosted: 03 May 2010 12:56
by ivan386
Fix: announce_peer
Fixed: infinity packet parsing
Added: Windows service support
Added: local address filtration
Changet: map image

Re: Bittorrent DHT Tracker v0.2

PostPosted: 04 Oct 2010 23:19
by ivan386
New game :) "Torrent hunt"

1 install Tracker
2 Wait some time
3 Then open http://localhost:6543/info
4 Click by top hash (or other if you whish)
5 Wait until Shareaza get torrent info (hash of torrent will be changed by it name)
6 Right click by download and choose properties
7 Check what files in torrent
8 Cancel download if it dont need
9 Check that torrent file is in torrent folder in library

And now you can start download this torrent in any time by dbl click on it.
Share your torrent folder to get access for others.

Re: Bittorrent DHT Tracker v0.2

PostPosted: 12 Feb 2012 03:41
by ailurophobe
This probably does not need to be a sticky since the debug versions now have Bittorrent DHT...

Re: Bittorrent DHT Tracker v0.2

PostPosted: 12 Feb 2012 07:26
by raspopov