mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 04:17:36 +03:00
Add process_path rule item (#51)
* process matching supports full path * Remove strings.ToLower
This commit is contained in:
parent
cd98ea5008
commit
374743d022
7 changed files with 67 additions and 4 deletions
|
@ -96,6 +96,7 @@ type DefaultRule struct {
|
|||
Port Listable[uint16] `json:"port,omitempty"`
|
||||
PortRange Listable[string] `json:"port_range,omitempty"`
|
||||
ProcessName Listable[string] `json:"process_name,omitempty"`
|
||||
ProcessPath Listable[string] `json:"process_path,omitempty"`
|
||||
PackageName Listable[string] `json:"package_name,omitempty"`
|
||||
User Listable[string] `json:"user,omitempty"`
|
||||
UserID Listable[int32] `json:"user_id,omitempty"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue