PDA

View Full Version : BitTorrent



anthony-joal
10.08.17, 19:12
Please before reading this thread, read Client file format (https://www.sb-innovation.de/f275/announce-parameters-url-headers-33455/).

Since BitTorrent clients are updated regularly, i'll post the default file template for Deluge. And will list any changes for a particular version against this default template.

Default template


{
"keyGenerator": {
"length": 8,
"type": "hash",
"refreshOn": "TIMED_OR_AFTER_STARTED_ANNOUNCE",
"refreshEvery": 10,
"case": "upper"
},
"peerIdGenerator": {
"pattern": "xxxxxxxxxxxxxxxxxxxxx",
"refreshOn": "NEVER",
"shouldUrlEncode": true
},
"urlEncoder": {
"encodingExclusionPattern": "[A-Za-z0-9-]",
"encodedHexCase": "lower"
},
"query": "info_hash={infohash}&peer_id={peerid}&port={port}&uploaded={uploaded}&downloaded={downloaded}&left={left}&corrupt=0&key={key}&event={event}&numwant={numwant}&compact=1&no_peer_id=1",
"numwant": 200,
"numwantOnStop": 0,
"requestHeaders": [
{ "name": "Host", "value": "xxxxx"},
{ "name": "User-Agent", "value": "xxxxxxxxxxxxxxxxxxx" },
{ "name": "Accept-Encoding", "value": "gzip" },
{ "name": "Connection", "value": "Close" }
]
}



7.10.3_44429
peerIdGenerator.pattern: -BT7a3S-(\u008d)(\u00ad)[\u0001-\u00ff]{10}
requestHeaders.User-Agent: BitTorrent/7103(256355725)(44429)

7.10.3_44359
peerIdGenerator.pattern: -BT7a3S-G(\u00ad)[\u0001-\u00ff]{10}
requestHeaders.User-Agent: BitTorrent/7103(256355655)(44359)

7.10.1_43917
peerIdGenerator.pattern: -BT71000(\u008d\u00ab)[\u0001-\u00ff]{10}
requestHeaders.User-Agent: BitTorrent/7100(255961997)(43917)

anthony-joal
13.08.17, 16:04
Updated file format to a more readable one.

anthony-joal
18.03.18, 01:20
Added BitTorrent 7.10.3

anthony-joal
23.05.18, 23:35
Added 7.10.3 build 44429