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

incomplete peer list from trackers

Tags: None
(comma "," separated)
Digger78
Registered Member
Posts
16
Karma
0

incomplete peer list from trackers

Fri Mar 19, 2010 2:13 pm
Version 3.2.4
Using KDE 4.3.5 (KDE 4.3.5)

Kubuntu 9.10

notice today that ktorrent reported only 1 seed on a torrent I downloaded from a private tracker last night, checked the web site and it was reporting 5 seeders.

added a kubuntu dvd torrent and noted the seeds and leeches

added same torrent to deluge and got a different set of numbers

screenshots : Image Image

Any ideas?
Digger78
Registered Member
Posts
16
Karma
0
No interest? shame, thought that was something you would have at least been curious about :(
George
Moderator
Posts
5421
Karma
1
Just because the tracker reports there are 5 peers, it doesn't mean mean you can connect to all of them. It's actually quite rare to get connected to all the peers a tracker reports.
agforsyth
Registered Member
Posts
133
Karma
0
He's not complaining about the connected numbers, but the swarm numbers reported by KTorrent & Deluge. They do appear to be pretty different.

Edit: I also think that I generally do observe higher numbers of connections using uTorrent on Windows than KTorrent on Kubuntu, but that wasn't the issue. This appears to be true even on vanilla private torrents where there are no local peers, only a single tracker, no dht / peer exchange, no web seeds, etc.

Last edited by agforsyth on Mon Mar 22, 2010 5:57 pm, edited 2 times in total.
Digger78
Registered Member
Posts
16
Karma
0
Did you even look at the screenshots? (maybe shouldn't have made them clickable?)

I didn't even mention connecting to peers but I will this time......too see if it makes any difference


Ktorrent screenshot = 120 seeds 10 leeches | (connected to 0 seeds 2 leeches)

deluge screenshot = 173 seeds 18 leeches | (connected to 0 seeds 8 leeches)

see what im getting at yet?

edit: sorry, didn't mean to sound like an ****......i had just woke up :p
George
Moderator
Posts
5421
Karma
1
That version of KT doesn't announce to all trackers simultaneously, deluge is probably announcing to all trackers and showing the sum of all trackers.
Digger78
Registered Member
Posts
16
Karma
0
single tracker torrent so......nope

pre-emptive: no DHT PEX
George
Moderator
Posts
5421
Karma
1
If it is a single tracker, and no other peer sources are used by both clients, then the numbers returned by the tracker should be shown, and they should be the same (could be some difference due do different announce times)
Digger78
Registered Member
Posts
16
Karma
0
George wrote:If it is a single tracker, and no other peer sources are used by both clients, then the numbers returned by the tracker should be shown, and they should be the same (could be some difference due do different announce times)


My point exactly. the numbers should be the same but their not........ktorrent seems to be dropping peers

announce time difference was less than a minute - the time it takes to switch windows and start the torrent.

Could it be that ktorrent is dropping multiple instance of the same IP address?

e.g : tracker sends a peer list of 6 peers
(random IP port numbers pulled from my head)
75.45.240.5 :20000
75.45.240.5 :36873
75.45.240.5 :29521
89.12.89.21 :6881
212.159.4.76 :6881
212.180.75.65 :6885

Could ktorrent be ignoring the different port numbers and dropping the 2nd & 3rd peers?
George
Moderator
Posts
5421
Karma
1
Internally duplicate entries are dropped, however this has nothing to do with what is shown in the GUI.

The numbers shown in the GUI are directly from the tracker

You could take a wireshark trace of the tracker communication and see what is actually returned.
Digger78
Registered Member
Posts
16
Karma
0
This lot doesnt seem too bad since the numbers are closer.....I will try again later

at the time of capture ktorrent reported 223 seeds + 33 leeches
GET /announce?peer_id=-KT3240-21MHm135pvHX&port=28910&uploaded=0&downloaded=0&left=0&compact=1&numwant=200&key=1684770632&event=started&info_hash=%d8%d9TeG%f0%c9%85%89M%5c%0dc7%13%e0%24o%c8%83 HTTP/1.1

Host: torrent.ubuntu.com:6969

Connection: Keep-Alive

User-Agent: KTorrent/3.2.4

Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2

Accept-Encoding: x-gzip, x-deflate, gzip, deflate



HTTP/1.0 200 OK

Content-Length: 361

Content-Type: text/plain

Pragma: no-cache



d8:completei241e10:incompletei19e8:intervali1800e5:peers300:Myy.W.....\._.
a,..?....._.D.B[.....=W5I.G^).H.1R...IQ^.....\.v..UY.RB2..5...g.t.+..[.Z.........S.\)u7m.....^.#..aP.N4..X.R...z..k.RmV....\%*.+._..9.p_....".w.7.p..k}..X.^..@......_N.E.m\e..D.Pb.`....6..0......Pc...OZ...7.^..uX.X..1........_.>..._.4.z.Y.....NH..N.[M...c.....\N6F...OoL#3.M3k&.L^G.&_.e


captured deluge within minutes of ktorrent

at the time of capture deluge reported 238 seeds + 20 leeches

GET /announce?info_hash=%d8%d9TeG%f0%c9%85%89M%5c%0dc7%13%e0%24o%c8%83&peer_id=-DE1190-htkgxP!2NVgW&port=28920&uploaded=1172661&downloaded=0&left=0&corrupt=0&key=3186641d&compact=1&numwant=200&supportcrypto=1&no_peer_id=1 HTTP/1.0

Host: torrent.ubuntu.com:6969

User-Agent: Deluge 1.1.9

Connection: close

Accept-Encoding: gzip



HTTP/1.0 200 OK

Content-Length: 140

Content-Type: text/plain

Pragma: no-cache



d8:completei238e12:crypto_flags9:.........10:incompletei20e8:intervali1800e5:peers54:U..=.}R....._4...k_.....N6F...z..k.RY.....z.....^G.&_.e
George
Moderator
Posts
5421
Karma
1
You also need to take into account that KT does a scrape after the announce, the most recent numbers are always used, so in the GUI you will most likely always see what is returned by the scrape.
Digger78
Registered Member
Posts
16
Karma
0
alrighty forget about the differences between ktorrent and deluge (or any other client)

I decided to compile and install ktorrent 4.0beta1

A private torrent (private tracker -not gonna give specifics..tracker name or torrent name)

the website/tracker reports 10 seeds 0 leeches

ktorrent reports 12 seeds 2 leeches

how can that be explained?

and just in case you say ktorrent is displaying the latest data in the GUI...

I added the same torrrent to deluge.... 10 seeds 0 leeches

are you really gonna tell me there is no problem with this?
Digger78
Registered Member
Posts
16
Karma
0
KTorrent
Version 4.0beta1
Using KDE Development Platform 4.4.1 (KDE 4.4.1)

starting a torrent(s) to seed > tracker = OK no seeds or leeches listed in GUI

screenshots: Image Image

doing a manual update of the tracker sorts it out. I'm gonna leave it to see if it corrects itself at the next announce and will post back.

update: numbers appeared in gui after the next announce
Digger78
Registered Member
Posts
16
Karma
0
I'll take the lack of response as "STFU and go away"


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]