Feature: support IPSET rule (#2693)
This commit is contained in:
@ -35,6 +35,9 @@ func ParseRule(tp, payload, target string, params []string) (C.Rule, error) {
|
||||
parsed, parseErr = NewProcess(payload, target, true)
|
||||
case "PROCESS-PATH":
|
||||
parsed, parseErr = NewProcess(payload, target, false)
|
||||
case "IPSET":
|
||||
noResolve := HasNoResolve(params)
|
||||
parsed, parseErr = NewIPSet(payload, target, noResolve)
|
||||
case "MATCH":
|
||||
parsed = NewMatch(target)
|
||||
default:
|
||||
|
Reference in New Issue
Block a user