Please before reading this thread, read Client file format.
Since BitTorrent clients are updated regularly, i'll post the default file template for rTorrent. And will list any changes for a particular version against this default template.
Default template
Code:
{
"keyGenerator": {
"length": 8,
"type": "hash",
"refreshOn": "TORRENT_PERSISTENT",
"case": "lower"
},
"peerIdGenerator": {
"pattern": "xxxxxxxxxxxxxxxx",
"refreshOn": "TORRENT_PERSISTENT",
"shouldUrlEncode": true
},
"urlEncoder": {
"encodingExclusionPattern": "[A-Za-z0-9-]",
"encodedHexCase": "upper"
},
"query": "info_hash={infohash}&peer_id={peerid}&key={key}&compact=1&port={port}&uploaded={uploaded}&downloaded={downloaded}&left={left}&event={event}",
"numwant": 50,
"numwantOnStop": 0,
"requestHeaders": [
{ "name": "Host", "value": "xxxxx"},
{ "name": "User-Agent", "value": "xxxxxxxxxxxxxxxx" },
{ "name": "Accept", "value": "*/*" },
{ "name": "Accept-Encoding", "value": "deflate, gzip" }
]
}
0.9.6/0.13.6
peerIdGenerator.pattern: -lt0D60-[\u0001-\u00ff]{12}
requestHeaders.User-Agent: rtorrent/0.9.6/0.13.6
Bookmarks