增加锁定状态记录生命周期配置项,优化清理内存的定时器

This commit is contained in:
wsczx
2024-10-04 11:55:46 +08:00
parent f195ae2d30
commit 59748fe395
4 changed files with 54 additions and 49 deletions

View File

@@ -53,10 +53,10 @@ ipv4_end = "192.168.90.200"
#是否自动添加nat
iptables_nat = true
#防爆全局开关
#防爆全局开关
anti_brute_force = true
#单位时间内最大尝试次数0为全局关闭防爆功能
#单位时间内最大尝试次数0为关闭该功能
max_ban_score = 5
#设置单位时间(秒),超过则重置计数
ban_reset_time = 10
@@ -77,5 +77,8 @@ global_ip_ban_reset_time = 1200
#全局IP锁定时间(秒)
global_ip_lock_time = 300
#全局锁定状态的保存生命周期(秒),超过则删除记录
global_lock_state_expiration_time = 3600
#客户端显示详细错误信息(线上环境慎开启)
display_error = true