forked from Simple-Tracker/qBittorrent-ClientBlocker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
72 lines (72 loc) · 1.95 KB
/
config.toml
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
checkUpdate = true
debug = false
interval = 6
cleanInterval = 3_600
banTime = 86_400
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 = 86_400
# 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 = 38_000
# ipUpCheckPerTorrentRatio = 3
# maxIPPortCount = 0
# banByProgressUploaded = false
# banByPUStartMB = 20
# banByPUStartPrecent = 2
# banByPUAntiErrorRatio = 3
# banByRelativeProgressUploaded = false
# banByRelativePUStartMB = 20
# banByRelativePUStartPrecent = 2
# banByRelativePUAntiErrorRatio = 3
# ignoreByDownloaded = 100