Question

What does the 'v' key value correspond to in Bittorrent Mainline DHT (MDHT) responses?

Here's an example buncoded response:

{'y': b'r', 
 'r': {'id': b'\x9d\x97\xb5\x8cJ\x8c#\xf4PF\xe3|\xf3\t\xbb#\xdaj\\\xdc'},
 't': b'7/',
 'v': b'UT[\xf9'}

I can't find this key documented anywhere.

Here are my current sources on the protocol:

Was it helpful?

Solution

'v' indicates the client name and version (according to this)

UT: uTorrent
LT: libtorrent
MO: Mono Torrent
...etc

A more complete list of client identifiers can be found here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top