防爆增加全局黑名单功能

增加防爆测试用例
优化防爆检查逻辑
This commit is contained in:
wsczx
2025-08-25 18:05:07 +08:00
parent c435d3e5c5
commit d2a35dcec2
6 changed files with 494 additions and 30 deletions

View File

@@ -97,7 +97,8 @@ type ServerConfig struct {
EncryptionPassword bool `json:"encryption_password"`
AntiBruteForce bool `json:"anti_brute_force"`
IPWhitelist string `json:"ip_whitelist"`
IPWhiteList string `json:"ip_whitelist"`
IPBlackList string `json:"ip_blacklist"`
MaxBanCount int `json:"max_ban_score"`
BanResetTime int `json:"ban_reset_time"`