upload_only=3 在扩展的 BitTorrent 握手中意味着什么

What does upload_only=3 mean in extended BitTorrent handshake

我需要帮助来理解 upload_only=3 在扩展的 BitTorrent 握手中的含义。

我知道 http://www.bittorrent.org/beps/bep_0021.html,根据它,扩展握手可能是这样的:

{m: {ut_pex=1, ut_metadata=2}, upload_only=1, metadata_size=31236}

但我看到握手像

{m: {ut_pex=1, ut_metadata=2, upload_only=3}, metadata_size=31236}

更重要的是,我看到握手像

{m: {ut_pex=1, ut_metadata=2, upload_only=3}, upload_only=1, metadata_size=31236}

有人可以解释一下 upload_only=3 在扩展的 BitTorrent 握手中是什么意思吗?

upload_only=3 在扩展握手中的 m 消息字典中。
这意味着 extension message id=3 的扩展消息被定义为 upload_only 消息。

不幸的是,BEP21 并未反映 upload_only 在实践中的实施方式。它应该被弃用并替换为更好的。

来自我对另一个问题的回答here:

Addendum:
uTorrent and most other clients implementation of upload_only differs from the 'out of date' specification explained here; alus = Greg Hazel
It's defined as a extension message in the extension handshake were the 1 byte message data means: 0x00 = false or < anything else> = true. This can be verified by using Wireshark.