0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-15 04:47:16 +03:00

REALITY: Add rate limiting to fallback handling via token bucket (#4553)

https://github.com/XTLS/REALITY/pull/12
This commit is contained in:
Meow
2025-06-08 21:43:55 +08:00
committed by GitHub
parent e011b746dc
commit 18ab291e0c
6 changed files with 180 additions and 39 deletions

View File

@ -25,4 +25,13 @@ message Config {
string spider_x = 25;
repeated int64 spider_y = 26;
string master_key_log = 27;
LimitFallback limit_fallback_upload = 28;
LimitFallback limit_fallback_download = 29;
}
message LimitFallback {
uint64 after_bytes = 1;
uint64 bytes_per_sec = 2;
uint64 burst_bytes_per_sec = 3;
}