简体   繁体   English

bitorrent查询中的'key'字段是什么意思?

[英]What does the 'key' field in a bitorrent query mean?

I used utorrent 2.04(build 22450) and I curious about the key part in the HTTP GET query utorrent generated.I have read the specification for bitorrent protocol and still can't found the meaning for 'key' part in a bitorrent get query. 我使用了utorrent 2.04(build 22450),我对HTTP GET查询utorrent生成的key部分感到好奇。我已经阅读了bitorrent协议的规范,但仍然无法在bitorrent get查询中找到'key'部分的含义。 After parse the query, it's kind of like that: 解析查询后,它有点像:

{
info_hash:'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
peer_id: '-UT2210-*b�A�\u000b7�\u001d\u0004�I',
port: '18584',
uploaded: '0',
downloaded: '0',
left: '0',
corrupt: '0',
key: '79E7F5D0',
event: 'started',
numwant: '200',
compact: '1',
no_peer_id: '1',
ipv6: '2004:150:20xx:xxxx:xxxx:xxxx:xxxx' }

The meaning of other entry is quite obvious, but I totally got no idea of what the key part mean. 其他条目的含义非常明显,但我完全不知道key部分是什么意思。 Can someone explain about the purpose of the key part? 有人可以解释key部分的目的吗? Thank you ~ 谢谢〜

To quote from the unofficial bittorrent spec : 引用非官方的bittorrent规范

key: Optional. key:可选。 An additional client identification mechanism that is not shared with any peers. 不与任何对等方共享的其他客户端标识机制。 It is intended to allow a client to prove their identity should their IP address change. 它旨在允许客户端在其IP地址更改时证明其身份。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM