mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2026-01-04 14:36:34 +08:00
IP名单优化
* 增加IP灰名单,用于仅记录并观察IP * 优化IP名单同步版本号管理 * WAF记录IP动作优先记录到网站和策略相关的IP名单中
This commit is contained in:
@@ -26,6 +26,12 @@ type WAF struct {
|
||||
UseLocalFirewall bool `yaml:"useLocalFirewall" json:"useLocalFirewall"`
|
||||
SYNFlood *firewallconfigs.SYNFloodConfig `yaml:"synFlood" json:"synFlood"`
|
||||
|
||||
// ip lists
|
||||
|
||||
AllowListId int64 `yaml:"allowListId" json:"allowListId"`
|
||||
DenyListId int64 `yaml:"denyListId" json:"denyListId"`
|
||||
GreyListId int64 `yaml:"greyListId" json:"greyListId"`
|
||||
|
||||
DefaultBlockAction *BlockAction
|
||||
DefaultPageAction *PageAction
|
||||
DefaultCaptchaAction *CaptchaAction
|
||||
|
||||
Reference in New Issue
Block a user