mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-25 04:10:55 +08:00
支持规则集忽略局域网IP
This commit is contained in:
@@ -21,6 +21,7 @@ type HTTPFirewallRuleSet struct {
|
|||||||
Connector string `yaml:"connector" json:"connector"`
|
Connector string `yaml:"connector" json:"connector"`
|
||||||
RuleRefs []*HTTPFirewallRuleRef `yaml:"ruleRefs" json:"ruleRefs"`
|
RuleRefs []*HTTPFirewallRuleRef `yaml:"ruleRefs" json:"ruleRefs"`
|
||||||
Rules []*HTTPFirewallRule `yaml:"rules" json:"rules"`
|
Rules []*HTTPFirewallRule `yaml:"rules" json:"rules"`
|
||||||
|
IgnoreLocal bool `yaml:"ignoreLocal" json:"ignoreLocal"`
|
||||||
|
|
||||||
Actions []*HTTPFirewallActionConfig `yaml:"actions" json:"actions"`
|
Actions []*HTTPFirewallActionConfig `yaml:"actions" json:"actions"`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user