webtorrent / bittorrent-tracker

🌊 Simple, robust, BitTorrent tracker (client & server) implementation
https://webtorrent.io
MIT License
1.72k stars 314 forks source link

Bittorrent v2 support #480

Open XfedeX opened 12 months ago

XfedeX commented 12 months ago

It looks like bittorrent-tracker server does not support v2 torrents.

github-actions[bot] commented 10 months ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

resession commented 9 months ago

still relevant

kovalensky commented 9 months ago

What do you mean by BT_v2 support, there is no need for a tracker to support it, since only difference here would be a longer v2 info hash, but due to specification even it is being truncated from 40 bytes to 20.

Power2All commented 8 months ago

What do you mean by BT_v2 support, there is no need for a tracker to support it, since only difference here would be a longer v2 info hash, but due to specification even it is being truncated from 40 bytes to 20.

Not true. Bittorrent v2 uses a different structure of the torrent array. https://www.bittorrent.org/beps/bep_0052.html

It also uses an different hashing method then the original Bittorrent.

kovalensky commented 8 months ago

@Power2All I meant tracker communication, since the question was about the server (announcer) software, yes hashing algorithm did change for meta files, additions to the client software for calculating their info-hash could be made + file tree info if necessary, I've read the BEP a couple of times.

Power2All commented 8 months ago

@kovalensky Not only meta files, also the main hashing is not done with SHA1 anymore. Tracker communication is still just a IP and port list, and can be retrieved with HTTP/HTTPS announce request as well. File tree structure is not exchanged with the announcements, so I do not see the point still.

kovalensky commented 8 months ago

Not only meta files, also the main hashing is not done with SHA1 anymore.

That's what I said, I also meant that client side of bittorrent-tracker could be improved to read v2 files (if there's such function), I didn't say that file list is being exchanged with the tracker, probably some misconception happened.

github-actions[bot] commented 6 months ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

resession commented 6 months ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

still relevant

github-actions[bot] commented 4 months ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

kovalensky commented 4 months ago

@github-actions Still relevant

github-actions[bot] commented 2 months ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

kovalensky commented 2 months ago

Is this still relevant?

Relevant lil g, no worries