-
Notifications
You must be signed in to change notification settings - Fork 27
/
config.json
78 lines (78 loc) · 2.05 KB
/
config.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"checkUpdate": true,
"debug": false,
"interval": 6,
"cleanInterval": 3600,
"banTime": 86400,
"timeout": 6,
"logToFile": true,
"clientType": "",
"clientURL": "",
"clientUsername": "",
"clientPassword": "",
"useBasicAuth": false,
"useShadowBan": true,
"skipCertVerification": false,
"blockList": [],
"blockListFile": [
"blockList.json",
//"blockList-Optional.json"
],
"blockListURL": [
"https://bta.iaalai.cn/qBittorrent-ClientBlocker/blockList.json",
"https://cdn.jsdelivr.net/gh/Simple-Tracker/qBittorrent-ClientBlocker@dev/blockList.json"
],
"portBlockList": [],
"ipBlockList": [],
"ipBlockListFile": [
"ipBlockList.txt"
],
"ipBlockListURL": [
"https://bta.iaalai.cn/BTN-Collected-Rules/combine/all.txt",
"https://cdn.jsdelivr.net/gh/PBH-BTN/BTN-Collected-Rules@main/combine/all.txt",
//"https://bta.iaalai.cn/BTN-Collected-Rules/qBittorrent-ClientBlocker/ipBlockList.txt",
"https://cdn.jsdelivr.net/gh/Simple-Tracker/qBittorrent-ClientBlocker@dev/ipBlockList.txt"
]
/*
"debug_CheckTorrent": false,
"debug_CheckPeer": false,
"updateInterval": 86400,
"restartInterval": 6,
"torrentMapCleanInterval": 60,
"banAllPort": true,
"banIPCIDR": "/32",
"banIP6CIDR": "/128",
"ignoreEmptyPeer": true,
"ignoreNoLeechersTorrent": true,
"ignorePTTorrent": true,
"ignoreAuthFailed": false,
"sleepTime": 20,
"proxy": "Auto",
"longConnection": true,
"logPath": "logs",
"logDebug": false,
"listen": "127.0.0.1:26262",
"fetchFailedThreshold": 0,
"execCommand_FetchFailed": "",
"execCommand_Run": "",
"execCommand_Ban": "",
"execCommand_Unban": "",
"syncServerURL": "",
"syncServerToken": "",
"genIPDat": 0,
"ipUploadedCheck": false,
"ipUpCheckInterval": 300,
"ipUpCheckIncrementMB": 38000,
"ipUpCheckPerTorrentRatio": 3.0,
"maxIPPortCount": 0,
"banByProgressUploaded": false,
"banByPUStartMB": 20,
"banByPUStartPrecent": 2.0,
"banByPUAntiErrorRatio": 3.0,
"banByRelativeProgressUploaded": false,
"banByRelativePUStartMB": 20,
"banByRelativePUStartPrecent": 2.0,
"banByRelativePUAntiErrorRatio": 3.0,
"ignoreByDownloaded": 100,
*/
}