You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using several BitTorrent clients, and at some point, I had a duplicate peer in the tracker. Actually, It's not a duplicate peer because the peer ID is different, but the peer socket address is the same.
I don't know why the peer ID changed. Maybe KTorrent uses a different peer ID when you restart it.
The question is, should we allow this? I think it makes no sense to return two peers because other clients will connect to the same socket address. I would use the socket address instead of the peer ID as a key for the PeerList. If the peer id changes the tracker would return only the one that has announced the latest.
cc @torrust/maintainers
The text was updated successfully, but these errors were encountered:
I've been doing manual testing. I was adding new torrents to the live demo:
https://index.torrust-demo.com
I was using several BitTorrent clients, and at some point, I had a duplicate peer in the tracker. Actually, It's not a duplicate peer because the peer ID is different, but the peer socket address is the same.
We already knew about this potential issue.
This is the tracker response for the torrent:
I don't know why the peer ID changed. Maybe KTorrent uses a different peer ID when you restart it.
The question is, should we allow this? I think it makes no sense to return two peers because other clients will connect to the same socket address. I would use the socket address instead of the peer ID as a key for the PeerList. If the peer id changes the tracker would return only the one that has announced the latest.
cc @torrust/maintainers
The text was updated successfully, but these errors were encountered: