mirror of
https://github.com/safing/portmaster
synced 2025-09-02 02:29:12 +00:00
Improve rule doc
This commit is contained in:
parent
0825454db1
commit
83d31e8514
1 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ var (
|
||||||
// SPNRulesHelp defines the help text for SPN related Hub selection rules.
|
// SPNRulesHelp defines the help text for SPN related Hub selection rules.
|
||||||
SPNRulesHelp = strings.ReplaceAll(`Rules are checked from top to bottom, stopping after the first match. They can match the following attributes of SPN Nodes:
|
SPNRulesHelp = strings.ReplaceAll(`Rules are checked from top to bottom, stopping after the first match. They can match the following attributes of SPN Nodes:
|
||||||
|
|
||||||
- Country (based on IPs): "US"
|
- Country (based on IPs): "US" (two-letter country codes according to ISO 3166-1 alpha-2)
|
||||||
- AS number: "AS123456"
|
- AS number: "AS123456"
|
||||||
- Address: "192.168.0.1"
|
- Address: "192.168.0.1"
|
||||||
- Network: "192.168.0.1/24"
|
- Network: "192.168.0.1/24"
|
||||||
|
@ -250,7 +250,7 @@ func registerConfiguration() error { //nolint:maintidx
|
||||||
- Matching with a wildcard prefix: "*xample.com"
|
- Matching with a wildcard prefix: "*xample.com"
|
||||||
- Matching with a wildcard suffix: "example.*"
|
- Matching with a wildcard suffix: "example.*"
|
||||||
- Matching domains containing text: "*example*"
|
- Matching domains containing text: "*example*"
|
||||||
- By country (based on IP): "US"
|
- By country (based on IP): "US" (two-letter country codes according to ISO 3166-1 alpha-2)
|
||||||
- By AS number: "AS123456"
|
- By AS number: "AS123456"
|
||||||
- By filter list - use the filterlist ID prefixed with "L:": "L:MAL"
|
- By filter list - use the filterlist ID prefixed with "L:": "L:MAL"
|
||||||
- Match anything: "*"
|
- Match anything: "*"
|
||||||
|
|
Loading…
Add table
Reference in a new issue