This forum has been archived. All content is frozen. Please use KDE Discuss instead.

selected files of a torrent completed != snatched?

Tags: None
(comma "," separated)
santiago
Registered Member
Posts
11
Karma
0
I downloaded a .torrent file from a private tracker, and selected with ktorrent which files I wanted to download. When the download was complete, ktorrent correctly displayed a message saying that the download has finished and moved the torrent to the upload tab. But I think it sent some information to the tracker annonouncing that I completed the torrent, because now I'm a seeder. I think this is not desirable because I haven't really snatched that torrent, and if someone asks for a reseed, I will be one of the possible seeds, when I'm not.

In another tracker also, when I import a finished torrent to seed, Ktorrent says that the download was completed at some unbelieavable speed and the tracker computes me another download of that torrent.
Is this a problem of the tracker?

Thanks, and sorry if this problem was posted somewhere in the forum, I couldn't find it.

I'm using version 2.0.2
stoeptegel
Registered Member
Posts
1075
Karma
0
santiago wrote:I downloaded a .torrent file from a private tracker, and selected with ktorrent which files I wanted to download. When the download was complete, ktorrent correctly displayed a message saying that the download has finished and moved the torrent to the upload tab. But I think it sent some information to the tracker annonouncing that I completed the torrent, because now I'm a seeder. I think this is not desirable because I haven't really snatched that torrent, and if someone asks for a reseed, I will be one of the possible seeds, when I'm not.


Hmm, you're right, i asked on freenode and they confirmed this.

In another tracker also, when I import a finished torrent to seed, Ktorrent says that the download was completed at some unbelieavable speed and the tracker computes me another download of that torrent.
Is this a problem of the tracker?


This is only happening when you open the torrent on the correct location and it would rehash to 100% right? (not with the import plugin) Then i already reported this this bugs on bugs.kde.org.
The import plugin does it this correct way though, so you might want to use that instead for the time being.
George
Moderator
Posts
5421
Karma
1

Sat Sep 16, 2006 8:30 am
Yeah I need to get around to fixing those bugs.
George
Moderator
Posts
5421
Karma
1

Sat Sep 16, 2006 10:51 am
OK, I fixed both issues.
santiago
Registered Member
Posts
11
Karma
0

Sat Sep 16, 2006 4:36 pm
George wrote:OK, I fixed both issues.


Wow, great. Thanks!
:D
santiago
Registered Member
Posts
11
Karma
0

Mon Sep 18, 2006 8:01 am
Well, I compiled the last svn version with the gentoo ebuild I found here and started downloading a torrent selecting files.
It is a torrent of 3.4gb, from which I choose to download about 1,19 according to ktorrent. That is 35% of the total.
When I start downloading, I check the stats of the torrent in the tracker webpage. It is a new torrent so, there is only one seed, and many leechers, they are all by 5% downloaded by now.
But I appear first in the leechers list with 65% downloaded, but with 1mb downloaded.
I suppose that when I finish downloading my 1,19gb. I will be with 100% downloaded. Maybe with the corrections you did, when I reach that "100%" i will still be leecher, and not seeder. But anyway I think this is also bad, because someone watching this behaviour in the tracker may cosider it cheating.
What other clients will do in this case is to start downloading with 0% and 0mb, and complete all the files with 1,19mb downloaded 100% displayed in the client, but 35% in the tracker, and stay as a leecher.
In this moment I have 23mb downloaded, ktorrent says I downloaded 1,31%, but the tracker says 65,39%.

I don't want to bother you with this problems, I just want to help ktorrent development.
Thanks.
George
Moderator
Posts
5421
Karma
1

Mon Sep 18, 2006 5:00 pm
santiago wrote:Well, I compiled the last svn version with the gentoo ebuild I found here and started downloading a torrent selecting files.
It is a torrent of 3.4gb, from which I choose to download about 1,19 according to ktorrent. That is 35% of the total.
When I start downloading, I check the stats of the torrent in the tracker webpage. It is a new torrent so, there is only one seed, and many leechers, they are all by 5% downloaded by now.
But I appear first in the leechers list with 65% downloaded, but with 1mb downloaded.
I suppose that when I finish downloading my 1,19gb. I will be with 100% downloaded. Maybe with the corrections you did, when I reach that "100%" i will still be leecher, and not seeder. But anyway I think this is also bad, because someone watching this behaviour in the tracker may cosider it cheating.
What other clients will do in this case is to start downloading with 0% and 0mb, and complete all the files with 1,19mb downloaded 100% displayed in the client, but 35% in the tracker, and stay as a leecher.
In this moment I have 23mb downloaded, ktorrent says I downloaded 1,31%, but the tracker says 65,39%.


It probably uses the left field in the announce to calculate your percentage. The left field indicates how many bytes you still have left to download. We do not add the excluded bytes to this number.

The spec says this :

left: The number of bytes this client still has to download, encoded in base ten ASCII.


See http://wiki.theory.org/BitTorrentSpecif ... S_Protocol

So, it's not really against the spec what we are doing, but it all depends on how everybody interprets the spec.

I'm gonna do some research on this, see what the behavior of other clients is, and then do what the majority does.
George
Moderator
Posts
5421
Karma
1

Tue Sep 19, 2006 5:09 pm
OK, left field now includes excluded bytes.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft