BitTorrent 跟踪器请求

发布于 2024-07-24 23:14:07 字数 545 浏览 1 评论 0原文

使用我的 torrent 文件

http://torrent.ubuntu.com:6969/

计算其哈希值,该哈希值与页面上的哈希值相匹配。

然后我向跟踪器发出请求。 喜欢

http://torrent.ubuntu.com:6969/announce?info_hash=9a81333c1b16e4a83c10f3052c1590aadf5e2e20

但我明白

d14:失败原因63:请求的下载未获授权与此跟踪器一起使用。e

根据规范,这应该有效吗?

跟踪器规范 一般规范

Using a torrent file from

http://torrent.ubuntu.com:6969/

I am calculating its hash which matches with the hash on the page.

Then i make a request to the tracker. Like

http://torrent.ubuntu.com:6969/announce?info_hash=9a81333c1b16e4a83c10f3052c1590aadf5e2e20

But i get

d14:failure reason63:Requested download is not authorized for use with this tracker.e

According to the spec this should work?

Tracker Spec
General Spec

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

冷夜 2024-07-31 23:14:07

您以十六进制形式指定了 info_hash,而不是 URL 编码。 SHA-1 哈希的字节应直接编码,如下所示:

http://torrent.ubuntu.com:6969/file?info_hash=%9A%813%3C%1B%16%E4%A8%3C%10%F3%05%2C%15%90%AA%DF%5E.%20

此外,对于 announce URL,通常需要一些附加参数,例如 peer_id

You specified the info_hash in hex, rather than URL-encoding. The bytes of the SHA-1 hash should be encoded directly, like this:

http://torrent.ubuntu.com:6969/file?info_hash=%9A%813%3C%1B%16%E4%A8%3C%10%F3%05%2C%15%90%AA%DF%5E.%20

Also, for the announce URL, some additional parameters like peer_id are usually required.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文