Add address filter support for DNS rules

This commit is contained in:
世界
2024-02-10 12:02:08 +08:00
parent 234ea4261e
commit 2838e702d9
14 changed files with 282 additions and 69 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() {