From d405a94c954ea841e0be1827ca53d2685b8ac2d9 Mon Sep 17 00:00:00 2001 From: Meo597 <197331664+Meo597@users.noreply.github.com> Date: Sun, 8 Jun 2025 19:48:50 +0800 Subject: [PATCH] readme --- README.en.md | 17 ++++++++++++++++- README.md | 16 +++++++++++++++- 2 files changed, 31 insertions(+), 2 deletions(-) diff --git a/README.en.md b/README.en.md index ac4d490..2d79d4b 100644 --- a/README.en.md +++ b/README.en.md @@ -45,7 +45,22 @@ TODO List: TODO "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 "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) + } } } } diff --git a/README.md b/README.md index 907d43a..f8a5aca 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,21 @@ TODO List: TODO "shortIds": [ // 必填,客户端可用的 shortId 列表,可用于区分不同的客户端 "", // 若有此项,客户端 shortId 可为空 "0123456789abcdef" // 0 到 f,长度为 2 的倍数,长度上限为 16 - ] + ], + // 下列两个 limit 为选填,可对回落的 REALITY 连接限速。默认为 0 即不启用 + // 警告:启用限速可能会引入新的特征被 GFW 探测到!如果您是GUI/面板/一键脚本开发者,请务必让这些参数随机化! + "limitFallbackUpload": { + // 限制回落上行 + "afterBytes": 0, // 传输指定字节后开始限速 + "bytesPerSec": 0, // 基准速率 (字节/秒) + "burstBytesPerSec": 0 // 突发速率 (字节/秒) + }, + "limitFallbackDownload": { + // 限制回落下行 + "afterBytes": 0, // 传输指定字节后开始限速 + "bytesPerSec": 0, // 基准速率 (字节/秒) + "burstBytesPerSec": 0 // 突发速率 (字节/秒) + } } } }