0
0
mirror of https://github.com/XTLS/REALITY.git synced 2025-08-22 14:38:35 +00:00
This commit is contained in:
Meo597 2025-06-08 19:48:50 +08:00
parent fad0d8da96
commit d405a94c95
2 changed files with 31 additions and 2 deletions

View File

@ -45,7 +45,22 @@ TODO List: TODO
"shortIds": [ // Required, the acceptable shortId list, which can be used to distinguish different clients "shortIds": [ // Required, the acceptable shortId list, which can be used to distinguish different clients
"", // If there is this item, the client shortId can be empty "", // If there is this item, the client shortId can be empty
"0123456789abcdef" // 0 to f, the length is a multiple of 2, the maximum length is 16 "0123456789abcdef" // 0 to f, the length is a multiple of 2, the maximum length is 16
] ],
// The two limit below are optional for rate limiting falling REALITY connections. Default are 0 means disabled
// WARNING: Enabling rate limiting may create detectable patterns for Great-Firewall!
// If you're a GUI/panel/one-click script developer, RANDOMIZE these parameters!
"limitFallbackUpload": {
// Limit upload for falling REALITY connections
"afterBytes": 0, // Start throttling after (bytes)
"bytesPerSec": 0, // Base speed (bytes/s)
"burstBytesPerSec": 0 // Burst capacity (bytes)
},
"limitFallbackDownload": {
// Limit download for falling REALITY connections
"afterBytes": 0, // Start throttling after (bytes)
"bytesPerSec": 0, // Base speed (bytes/s)
"burstBytesPerSec": 0 // Burst capacity (bytes)
}
} }
} }
} }

View File

@ -45,7 +45,21 @@ TODO List: TODO
"shortIds": [ // 必填,客户端可用的 shortId 列表,可用于区分不同的客户端 "shortIds": [ // 必填,客户端可用的 shortId 列表,可用于区分不同的客户端
"", // 若有此项,客户端 shortId 可为空 "", // 若有此项,客户端 shortId 可为空
"0123456789abcdef" // 0 到 f长度为 2 的倍数,长度上限为 16 "0123456789abcdef" // 0 到 f长度为 2 的倍数,长度上限为 16
] ],
// 下列两个 limit 为选填,可对回落的 REALITY 连接限速。默认为 0 即不启用
// 警告:启用限速可能会引入新的特征被 GFW 探测到如果您是GUI/面板/一键脚本开发者,请务必让这些参数随机化!
"limitFallbackUpload": {
// 限制回落上行
"afterBytes": 0, // 传输指定字节后开始限速
"bytesPerSec": 0, // 基准速率 (字节/秒)
"burstBytesPerSec": 0 // 突发速率 (字节/秒)
},
"limitFallbackDownload": {
// 限制回落下行
"afterBytes": 0, // 传输指定字节后开始限速
"bytesPerSec": 0, // 基准速率 (字节/秒)
"burstBytesPerSec": 0 // 突发速率 (字节/秒)
}
} }
} }
} }