mirror of
https://github.com/safing/portmaster
synced 2025-09-02 10:39:22 +00:00
Improve config help text
This commit is contained in:
parent
97a8475364
commit
0e30d70d55
1 changed files with 12 additions and 4 deletions
|
@ -131,7 +131,7 @@ func registerConfiguration() error {
|
||||||
"+": permit
|
"+": permit
|
||||||
"-": block
|
"-": block
|
||||||
Host Matching:
|
Host Matching:
|
||||||
IP, CIDR, Country Code, ASN, "*" for any
|
IP, CIDR, Country Code, ASN, Filterlist, "*" for any
|
||||||
Domains:
|
Domains:
|
||||||
"example.com": exact match
|
"example.com": exact match
|
||||||
".example.com": exact match + subdomains
|
".example.com": exact match + subdomains
|
||||||
|
@ -144,7 +144,11 @@ func registerConfiguration() error {
|
||||||
Examples:
|
Examples:
|
||||||
+ .example.com */HTTP
|
+ .example.com */HTTP
|
||||||
- .example.com
|
- .example.com
|
||||||
+ 192.168.0.1/24`,
|
+ 192.168.0.1/24
|
||||||
|
- L:MAL
|
||||||
|
- AS0
|
||||||
|
+ AT
|
||||||
|
- *`,
|
||||||
Order: cfgOptionEndpointsOrder,
|
Order: cfgOptionEndpointsOrder,
|
||||||
OptType: config.OptTypeStringArray,
|
OptType: config.OptTypeStringArray,
|
||||||
DefaultValue: []string{},
|
DefaultValue: []string{},
|
||||||
|
@ -167,7 +171,7 @@ Examples:
|
||||||
"+": permit
|
"+": permit
|
||||||
"-": block
|
"-": block
|
||||||
Host Matching:
|
Host Matching:
|
||||||
IP, CIDR, Country Code, ASN, "*" for any
|
IP, CIDR, Country Code, ASN, Filterlist, "*" for any
|
||||||
Domains:
|
Domains:
|
||||||
"example.com": exact match
|
"example.com": exact match
|
||||||
".example.com": exact match + subdomains
|
".example.com": exact match + subdomains
|
||||||
|
@ -180,7 +184,11 @@ Examples:
|
||||||
Examples:
|
Examples:
|
||||||
+ .example.com */HTTP
|
+ .example.com */HTTP
|
||||||
- .example.com
|
- .example.com
|
||||||
+ 192.168.0.1/24`,
|
+ 192.168.0.1/24
|
||||||
|
- L:MAL
|
||||||
|
- AS0
|
||||||
|
+ AT
|
||||||
|
- *`,
|
||||||
Order: cfgOptionServiceEndpointsOrder,
|
Order: cfgOptionServiceEndpointsOrder,
|
||||||
OptType: config.OptTypeStringArray,
|
OptType: config.OptTypeStringArray,
|
||||||
DefaultValue: []string{},
|
DefaultValue: []string{},
|
||||||
|
|
Loading…
Add table
Reference in a new issue