Jump to content

A seed isn't "marked" as such


mcaspi

Recommended Posts

A remote uT peer is connected via TCP to a local seed, becomes a seed and disconnects. One of it's "Auto Shutdown" is set. The local seed tries to make a connection with the remote seed after more than 30 seconds from disconnection but it won't work because the remote client's Auto Shutdown was activated. With a uTP connection this "seed check" is working because it is done immediately after disconnection. In my opinion, the first connection attempt in such case (TCP disconnection) should be made in less than 30 seconds.

Link to comment
Share on other sites

Okay, explain what you mean by 'marking'.

But if you mean it does not increment the count inside the paranthesis, again that is to be expected because that number is made up from the tracker reports and the client's cached peers counts. So if the 'new' seed has not as yet 'announced' itself to any trackers and your client obviously does not have it cached as a 'seed', the count will not change.

Alternatively, the new seed may have simply "hit and run", or has announced but the tracker update interval may be anywhere between a few minutes to an hour or more depending on the tracker.

So your 'bug' is more likely to be something that the [local] client has absolutely no control over.

Link to comment
Share on other sites

marking=setting a peer as seed.

ciaobaby, trackers are not involved here. In order to see this issue you have to watch the Logger tab when a peer becomes a seed. If you do this you'll see that peers that were uTP connected usually become seeds and peers that were TCP connected usually won't become seeds, in my opinion, if their Auto Shutdown feature is set, due to this timing issue.

Link to comment
Share on other sites

But trackers ARE involved along with DHT and PEx as that how any BitTorrent client 'knows' how many peers and seeds there are in the swarm for any particular job.

if their Auto Shutdown feature is set, due to this timing issue.
But you do not know if the other client even HAS an "auto shutdown" feature, not every client has. It could be ANYTHING.

But the simple fact remains that uTorrent WILL drop the connection, no matter what the transport protocol is as soon as a peer becomes a seed. That is the ONLY thing you are seeing happen and the rest is purely supposition. If that particular peer is no longer sending piece requests WHY would seeding peers care about it?

If you do this you'll see that peers that were uTP connected usually become seeds and peers that were TCP connected usually won't become seeds,

What version and build are you using?

Added

And what parameters are you logging?

Link to comment
Share on other sites

ciaobaby, assume that this seed now, has it's Auto Shutdown feature set. Will my uT be able to "mark" it as seed (clue: no)? If it was a uTP disconnection the answer is yes because uTP disconnection is different. So why should these two cases give different results?

Link to comment
Share on other sites

The log entries simply show that the a peer using port 55170 disconnected and a peer on the same IP using a DIFFERENT port was/is offline a minute or so later. Not sure how you deduced that is a client timing issue or a seed not announcing it's new status.

Have you done a WhoIs lookup to see if that IP is from a proxy or a VPN provider?

Link to comment
Share on other sites

Seed disconnected at 11:00:45 so around 11:01:15 it won't response to incoming connections due to the Auto Shutdown. My client attempts to connect starting from 11:01:32 according to the log so it will not be able to "mark" that client as seed.

This issue might have been already considered by the developers and there might be a reason for this long delay after disconnection but again, it won't work in this case but if it was a uTP connection, it will usually work.

Link to comment
Share on other sites

But it may not even BE the same peer, simply sharing an IP does not mean the same client, and to change ports in ~47 seconds and report it to a tracker so your client can try connecting, is stretching probability a bit far.

Your logs show coincidental occurrences of two [possibly different] clients possibly on a proxy or a VPN, one WAS connected to your client, while the other may have been peering a job that your client is requesting pieces for.

Where is your evidence that these log entries are even for the same job?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...