News for hackers. Stuff that matters.
Re:Show HN: Torrenthistory – an open and legal torrent indexer by implying on Friday March 05, 2021 @08:30PM (#26364404)
Torrent seed files only contain hashes for "pieces" (typically 1-4MB each), which can cross file boundaries. There's no way to pull an md5 for a specific file without actually snatching it.
Re:Show HN: Torrenthistory – an open and legal torrent indexer by m-p-3 on Saturday March 06, 2021 @12:25AM (#26365450)
BitTorrent v2 also includes a per file hash tree https://blog.libtorrent.org/2020/09/bittorrent-v2/

so I assume that if you end up with the same file in multiple torrents, you'll be able to grab the files from seeds of these other torrents.

Re:Show HN: Torrenthistory – an open and legal torrent indexer by retonato on Saturday March 06, 2021 @04:05AM (#26366171)
It would be interesting to see if that standard replaces Bittorent v1. For now it is not nearly as popular (everyone just uses v1, I don't know about any site, which has any significant number of v2 torrents).
Re:Show HN: Torrenthistory – an open and legal torrent indexer by toomuchtodo on Friday March 05, 2021 @10:16PM (#26364881)
Pull the files, derive the hashes, and then throw away the files? You only need to retrieve each file once to derive and store the per file hashes.
Re:Show HN: Torrenthistory – an open and legal torrent indexer by retonato on Saturday March 06, 2021 @04:03AM (#26366163)
I though about that, it is technically possible. More than that, it is relatively cheap (incoming traffic on most VPS is free). Still, I decided that searching by file size is much more cost effective. It is almost as good as searching by hash for larger files. It requires little to no code and time to implement. It is available even for torrents without seeds. It doesn't involve downloding files (which, in some people opinion, is illegal as such, even if you don't actually see the downloaded files).