用户端可以添加WAF 黑白名单

This commit is contained in:
GoEdgeLab
2021-01-03 20:18:21 +08:00
parent 3ce5ac7929
commit ecd16cba0e
8 changed files with 367 additions and 28 deletions

View File

@@ -11,8 +11,8 @@ type HTTPFirewallInboundConfig struct {
Region *HTTPFirewallRegionConfig `yaml:"region" json:"region"`
// IP名单
WhiteListRef *ipconfigs.IPListRef `yaml:"whiteListRef" json:"whiteListRef"`
BlackListRef *ipconfigs.IPListRef `yaml:"blackListRef" json:"blackListRef"`
AllowListRef *ipconfigs.IPListRef `yaml:"whiteListRef" json:"whiteListRef"`
DenyListRef *ipconfigs.IPListRef `yaml:"blackListRef" json:"blackListRef"`
GreyListRef *ipconfigs.IPListRef `yaml:"greyListRef" json:"greyListRef"`
}