BiglyBT icon indicating copy to clipboard operation
BiglyBT copied to clipboard

Question: The numbers of seeders and leechers in the web interface includes you or not?

Open DumbJoe opened this issue 2 years ago • 6 comments

For example here: image

In the the "Seeders:" part, if there's one, and you're in seeding queue or currently seeding, would that be you or someone else? Same with the "Leechers:" part - if you're currently downloading or just waiting for downloading, that adds one to the tracker or omits you? And if there is more than one tracker, which one do you belong to if you are included in the count?

Speaking of this interface, I notice that it no longer keeps track of downloads, announcements or last scrapes, as that now shows N/A where as before it would show the actual number of downloads, announcement(s) since (and when the next one is) and time of last scrape...

Also, what's the difference between scrape and announcement? Just for my information, that's all.

Thanks!

DumbJoe avatar Aug 23 '22 04:08 DumbJoe

The numbers reported for peers/seeds includes yourself when a download is active (i.e. seeding or downloading). When it is inactive then you won't be included as you are not registered with the tracker. With the DHT this is slightly different as there can be quite a delay between a download becoming active/inactive and the DHT showing this.

Internally BiglyBT tries to figure out whether or not it is being included in the stats reported by the tracker/DHT when applying seeding rules.

Looking at the source it seems that a lot of the tracker stats shown in the webui have never been supported. Check all the TODOs in

https://github.com/BiglySoftware/BiglyBT-plugin-xmwebui/blob/c7a778bf654ad8433533b4657f56ecbd7508838b/com/aelitis/azureus/plugins/xmwebui/TorrentGetMethods.java#L2560

An "announce" is when a download is active and it is registered with the tracker. A "scrape" is when the download is inactive and BiglyBT uses an alternative "scrape" mechanism to ask the tracker for the number of peers/seeds without actually registering with it.

parg avatar Aug 23 '22 08:08 parg

I'll fix up a couple of those TODOs

parg avatar Aug 23 '22 09:08 parg

So using this other example of a torrent's tracker tab (where I've edited the 5 trackers to Tracker 1, 2, 3, 4, and 5 to simplify it slightly) where I am currently seeding: image There should at least be 1 in "Seeders" or 1 added to whatever seeder count was before, in all trackers? And if that's the case, how come Tracker 1 has seeders at N/A? What about LAN which shows 0, the two Plugins which also shows 0, PEX which shows N/A and Incoming showing N/A, trackers?

And also the opposite should be true if I were to download from this torrent, at least 1 in "Leecher" count or 1 added to whatever count the leecher was on before in all trackers? And then when I stop the torrent, the "Seeders" count should be 0 since apparently I'm the only one seeding for all trackers?

So what's Peer cache used =70, DHT, plugin, plugin, PEX and Incoming? I presume the two plugin trackers is I2P and TOR? But which is which if that's the case? Are you able to distinguish between them with the plugin names instead of "Plugin"? LAN should be self explanatory, that's for when if there are other BiglyBT clients also running on the same network (same external IP but different internal IP) whose also happen to be seeding or leeching the same torrent, right?

Whoa, it looks like you got a lot of TODO's on there! So what about the download counts? Or is that on the TODO list to fix/remove since it's no longer supported?

Thanks for explaining the difference between announce and scrape!

DumbJoe avatar Aug 23 '22 11:08 DumbJoe

Tracker 1 is not active.

parg avatar Aug 23 '22 11:08 parg

Can you also answer (or confirm) the other questions too please?

Is there a way to enforce encryption for all connections? I presume the encryption also doubles as a data integrity check per piece?

DumbJoe avatar Aug 26 '22 14:08 DumbJoe

Not at the moment, I'm busy

parg avatar Aug 26 '22 16:08 parg