Improve rule actions

This commit is contained in:
世界 2024-11-06 17:30:40 +08:00
parent 4fe40fcee0
commit 313be3d7a4
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
10 changed files with 434 additions and 150 deletions

View file

@ -25,12 +25,13 @@ const (
)
const (
RuleActionTypeRoute = "route"
RuleActionTypeReturn = "return"
RuleActionTypeReject = "reject"
RuleActionTypeHijackDNS = "hijack-dns"
RuleActionTypeSniff = "sniff"
RuleActionTypeResolve = "resolve"
RuleActionTypeRoute = "route"
RuleActionTypeRouteOptions = "route-options"
RuleActionTypeDirect = "direct"
RuleActionTypeReject = "reject"
RuleActionTypeHijackDNS = "hijack-dns"
RuleActionTypeSniff = "sniff"
RuleActionTypeResolve = "resolve"
)
const (