Community Forums

Home » Vuze Forums » Open Development


Thread: uTorrent 3 generated torrents showing as unregistered


Thread Locked This thread is locked - replies are not allowed.


This question is not answered. Helpful answers available: 3. Correct answers available: 1.

Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 6 - Pages: 1 - Last Post: Feb 29, 2012 7:32 AM Last Post By: kdean
kdean

Posts: 407
Registered: 11/15/07
uTorrent 3 generated torrents showing as unregistered
Posted: Feb 28, 2012 10:09 AM
 
Click to report abuse...
On a private tracker, there's been an issue with uTorrent 3 generated torrents being shown as unregistered in anything except uTorrent clients. Kind of annoying to have to switch to uTorrent for the occassional torrent.

Is there anything that can be done to make Vuze compatible or is it just uTorrent / Tracker stupidity.

Here's what someone there had to say about the problem.

"Lately, torrents made with Āµtorrent 3 seem to include some pretty useless extra fields to torrents (codec info and image widths and blaah). This confuses the already quite broken way the tracker edits the torrents you upload and causes mayhem with most sane torrent clients that expect torrents to actually stick to the standard.

So, basically the tracker makes a hash-string out of the torrent to give an individual name for the swarm of peers (seeders and leechers). Your torrent client also makes a hash-string out of the torrent and then asks the tracker for information on peers to connect to with that.

Now, due to broken non-standard torrents, the clients can't use the proper way to calculate the hash. The problem is, they have different approaches on how to do it for a broken torrent. If a client uses a way the tracker doesn't use, then asks for peers - the tracker just looks baffled at it: "no such hash on my swarm list, unregistered torrent" - because the hash strings just are calculated differently and obviously will not match.

This can sometimes be seen on broken public torrents too, where you get divided swarms for one torrent based on the way clients calculate the hash-identifier. One swarm for the utorrents and one for most of the open source clients.

Afaik judging from the swarms on such broken torrents, utorrent (and anything Āµtorrent based), qbittorrent, btpd work with these. Tixati should work, but also seems to have problems connecting to the tracker most of the time I've tested it.

Transmission, anything libtorrent based (many open source clients), rTorrent, btg, deluge, vuze, azureus, halite, etc.. will not work."
parg

Posts: 2,698
Registered: 11/13/07
Re: uTorrent 3 generated torrents showing as unregistered
Posted: Feb 28, 2012 11:36 AM   in response to: kdean in response to: kdean
 
Click to report abuse...
I guess we'd need examples of a torrent before and after it had been mangled by the tracker, along with the torrent hash that uTorrent manages to derive for the post-mangled torrent such that it is the same as that for the tracker... (and wrong for Vuze)

If you manage to find such an example, please email it over to 'paul AT vuze DOT com'
kdean

Posts: 407
Registered: 11/15/07
Re: uTorrent 3 generated torrents showing as unregistered
Posted: Feb 28, 2012 12:58 PM   in response to: parg in response to: parg
 
Click to report abuse...
Apparently what may be the same issue has been around for a while.

Here's a uTorrent discussion that may prove useful.

http://forum.utorrent.com/viewtopic.php?pid=431743
parg

Posts: 2,698
Registered: 11/13/07
Re: uTorrent 3 generated torrents showing as unregistered
Posted: Feb 28, 2012 1:12 PM   in response to: kdean in response to: kdean
 
Click to report abuse...
Right, the issue is that the torrent has the 'profiles' and 'private' keys in the incorrect order (the spec says that all b-encoded maps must have their keys in ascending order (don't even ask what the collation sequence should be though)). Vuze always sanitises maps which will fix the ordering error - we do our best to load torrents regardless of how badly formatted they may be (believe me, over time there has been a LOT of crap torrents out there). In this case when we calculate the torrent's info-hash we will use the correctly ordered map which results in a different hash from that (incorrectly) derived by uTorrent.

I don't know if the invalid torrent is being generated by uTorrent itself, of this is the result of the tracker modifying the torrent though...

Edited by: parg on Feb 28, 2012 1:12 PM
parg

Posts: 2,698
Registered: 11/13/07
Re: uTorrent 3 generated torrents showing as unregistered
Posted: Feb 29, 2012 6:42 AM   in response to: kdean in response to: kdean
 
Click to report abuse...
Latest snapshot has code to detect this form of broken torrent and offers a way to 'fix' it.
kdean

Posts: 407
Registered: 11/15/07
Re: uTorrent 3 generated torrents showing as unregistered
Posted: Feb 29, 2012 7:30 AM   in response to: parg in response to: parg
 
Click to report abuse...
As I mentioned in an email, the new fix feature partially works but crashes after, but we're making progress.
kdean

Posts: 407
Registered: 11/15/07
Re: uTorrent 3 generated torrents showing as unregistered
Posted: Feb 29, 2012 7:32 AM   in response to: kdean in response to: kdean
 
Click to report abuse...
Not sure nkm12 is not a bot. The message posted is just a copied portion of what I posted.
Legend
Master: 800 - 9999 pts
Expert: 400 - 799 pts
Advanced: 200 - 399 pts
Intermediate: 100 - 199 pts
Beginner: 50 - 99 pts
Newbie: 0 - 49 pts
Vuze Staff Member
Vuze Community Moderator
Helpful Answer (3 pts)
Correct Answer (5 pts)

Point your RSS reader here for a feed of the latest messages in all forums