Feature: process condition for rules

This commit is contained in:
yaling888
2022-01-28 22:52:35 +08:00
parent d633e3d96e
commit 25e115d042
5 changed files with 46 additions and 7 deletions

View File

@ -13,8 +13,9 @@ func ParseRule(tp, payload, target string, params []string) (C.Rule, error) {
)
ruleExtra := &C.RuleExtra{
Network: findNetwork(params),
SourceIPs: findSourceIPs(params),
Network: findNetwork(params),
SourceIPs: findSourceIPs(params),
ProcessNames: findProcessName(params),
}
switch tp {