Add address filter support for DNS rules

This commit is contained in:
世界
2024-03-16 21:58:22 +08:00
parent 6b8340dd4e
commit e108d95dd4
37 changed files with 429 additions and 254 deletions
+7 -5
View File
@@ -51,11 +51,13 @@ type InboundContext struct {
// rule cache
IPCIDRMatchSource bool
SourceAddressMatch bool
SourcePortMatch bool
DestinationAddressMatch bool
DestinationPortMatch bool
IPCIDRMatchSource bool
SourceAddressMatch bool
SourcePortMatch bool
DestinationAddressMatch bool
DestinationPortMatch bool
DidMatch bool
IgnoreDestinationIPCIDRMatch bool
}
func (c *InboundContext) ResetRuleCache() {