documentation: Update rule match logic description

This commit is contained in:
世界 2023-12-11 19:16:02 +08:00
parent ee37fece77
commit 5aad0b5c82
No known key found for this signature in database
GPG Key ID: CD109927C34A63C4
4 changed files with 14 additions and 6 deletions

View File

@ -134,10 +134,12 @@ icon: material/alert-decagram
The default rule uses the following matching logic: The default rule uses the following matching logic:
(`domain` || `domain_suffix` || `domain_keyword` || `domain_regex` || `geosite`) && (`domain` || `domain_suffix` || `domain_keyword` || `domain_regex` || `geosite`) &&
(`port` || `port_range`) && (`port` || `port_range`) &&
(`source_geoip` || `source_ip_cidr`) && (`source_geoip` || `source_ip_cidr` `source_ip_is_private`) &&
(`source_port` || `source_port_range`) && (`source_port` || `source_port_range`) &&
`other fields` `other fields`
Additionally, included rule sets can be considered merged rather than as a single rule sub-item.
#### inbound #### inbound
Tags of [Inbound](/configuration/inbound). Tags of [Inbound](/configuration/inbound).

View File

@ -131,10 +131,12 @@ icon: material/alert-decagram
默认规则使用以下匹配逻辑: 默认规则使用以下匹配逻辑:
(`domain` || `domain_suffix` || `domain_keyword` || `domain_regex` || `geosite`) && (`domain` || `domain_suffix` || `domain_keyword` || `domain_regex` || `geosite`) &&
(`port` || `port_range`) && (`port` || `port_range`) &&
(`source_geoip` || `source_ip_cidr`) && (`source_geoip` || `source_ip_cidr` || `source_ip_is_private`) &&
(`source_port` || `source_port_range`) && (`source_port` || `source_port_range`) &&
`other fields` `other fields`
另外,引用的规则集可视为被合并,而不是作为一个单独的规则子项。
#### inbound #### inbound
[入站](/zh/configuration/inbound) 标签. [入站](/zh/configuration/inbound) 标签.

View File

@ -134,12 +134,14 @@ icon: material/alert-decagram
!!! note "" !!! note ""
The default rule uses the following matching logic: The default rule uses the following matching logic:
(`domain` || `domain_suffix` || `domain_keyword` || `domain_regex` || `geosite` || `geoip` || `ip_cidr`) && (`domain` || `domain_suffix` || `domain_keyword` || `domain_regex` || `geosite` || `geoip` || `ip_cidr` || `ip_is_private`) &&
(`port` || `port_range`) && (`port` || `port_range`) &&
(`source_geoip` || `source_ip_cidr`) && (`source_geoip` || `source_ip_cidr` || `source_ip_is_private`) &&
(`source_port` || `source_port_range`) && (`source_port` || `source_port_range`) &&
`other fields` `other fields`
Additionally, included rule sets can be considered merged rather than as a single rule sub-item.
#### inbound #### inbound
Tags of [Inbound](/configuration/inbound). Tags of [Inbound](/configuration/inbound).

View File

@ -132,12 +132,14 @@ icon: material/alert-decagram
!!! note "" !!! note ""
默认规则使用以下匹配逻辑: 默认规则使用以下匹配逻辑:
(`domain` || `domain_suffix` || `domain_keyword` || `domain_regex` || `geosite` || `geoip` || `ip_cidr`) && (`domain` || `domain_suffix` || `domain_keyword` || `domain_regex` || `geosite` || `geoip` || `ip_cidr` || `ip_is_private`) &&
(`port` || `port_range`) && (`port` || `port_range`) &&
(`source_geoip` || `source_ip_cidr`) && (`source_geoip` || `source_ip_cidr` || `source_ip_is_private`) &&
(`source_port` || `source_port_range`) && (`source_port` || `source_port_range`) &&
`other fields` `other fields`
另外,引用的规则集可视为被合并,而不是作为一个单独的规则子项。
#### inbound #### inbound
[入站](/zh/configuration/inbound) 标签。 [入站](/zh/configuration/inbound) 标签。