1
0
Fork 0
forked from wry/wry

config: add exe client criteria

This commit is contained in:
Julian Orth 2025-05-03 13:09:13 +02:00
parent cc734a135c
commit a6257910bb
13 changed files with 85 additions and 2 deletions

View file

@ -579,6 +579,14 @@
"comm-regex": {
"type": "string",
"description": "Matches the `/proc/pid/comm` of the client with a regular expression."
},
"exe": {
"type": "string",
"description": "Matches the `/proc/pid/exe` of the client verbatim."
},
"exe-regex": {
"type": "string",
"description": "Matches the `/proc/pid/exe` of the client with a regular expression."
}
},
"required": []

View file

@ -905,6 +905,18 @@ The table has the following fields:
The value of this field should be a string.
- `exe` (optional):
Matches the `/proc/pid/exe` of the client verbatim.
The value of this field should be a string.
- `exe-regex` (optional):
Matches the `/proc/pid/exe` of the client with a regular expression.
The value of this field should be a string.
<a name="types-ClientMatchExactly"></a>
### `ClientMatchExactly`

View file

@ -3259,6 +3259,14 @@ ClientMatch:
kind: string
required: false
description: Matches the `/proc/pid/comm` of the client with a regular expression.
exe:
kind: string
required: false
description: Matches the `/proc/pid/exe` of the client verbatim.
exe-regex:
kind: string
required: false
description: Matches the `/proc/pid/exe` of the client with a regular expression.
ClientMatchExactly: