mirror of
https://github.com/bjdgyc/anylink.git
synced 2025-08-08 13:09:04 +08:00
增加用户验证防爆功能
This commit is contained in:
@@ -53,8 +53,14 @@ ipv4_end = "192.168.90.200"
|
||||
#是否自动添加nat
|
||||
iptables_nat = true
|
||||
|
||||
#单位时间内最大尝试次数
|
||||
max_ban_score = 5
|
||||
#设置单位时间(秒),超过则重置计数
|
||||
ban_reset_time = 10
|
||||
#超过最大尝试次数后的锁定时长(秒)
|
||||
lock_time = 300
|
||||
#用户状态的保存周期(秒),超过则清空计数
|
||||
user_state_expiration = 900
|
||||
|
||||
#客户端显示详细错误信息(线上环境慎开启)
|
||||
display_error = true
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user