mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-09-18 01:17:14 +08:00
防爆增加全局黑名单功能
增加防爆测试用例 优化防爆检查逻辑
This commit is contained in:
@@ -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"`
|
||||
|
Reference in New Issue
Block a user