mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-09-28 01:47:59 +03:00
Sniffing: Add ipsExcluded (supports IP, CIDR, "geoip:", "ext:")
This commit is contained in:
@@ -97,6 +97,7 @@
|
||||
"destOverride": ["http", "tls", "fakedns"],
|
||||
"metadataOnly": false,
|
||||
"domainsExcluded": [],
|
||||
"ipsExcluded": [],
|
||||
"routeOnly": false
|
||||
}
|
||||
```
|
||||
@@ -137,6 +138,10 @@ Xray只会嗅探 `destOverride` 中协议的域名用作路由,如果只想进
|
||||
|
||||
```
|
||||
|
||||
> `ipsExcluded`: [string]
|
||||
|
||||
一个 IP 列表,如果目标地址在这个列表中,将 **不会** 重置目标地址。格式和 [路由配置](./routing.md#ruleobject) 中相同。
|
||||
|
||||
> `routeOnly`: true | false
|
||||
|
||||
将嗅探得到的域名仅用于路由,代理目标地址仍为 IP。默认值为 `false`。
|
||||
|
||||
@@ -96,6 +96,7 @@ Note: Newer browsers may use ECH to encrypt the Client Hello. In this case, Xray
|
||||
"destOverride": ["http", "tls", "fakedns"],
|
||||
"metadataOnly": false,
|
||||
"domainsExcluded": [],
|
||||
"ipsExcluded": [],
|
||||
"routeOnly": false
|
||||
}
|
||||
```
|
||||
@@ -135,6 +136,10 @@ If you need to troubleshoot the cause of certain problems, you can test by disab
|
||||
]
|
||||
```
|
||||
|
||||
> `ipsExcluded`: [string]
|
||||
|
||||
A list of IPs. If the destination address is in this list, the destination address will **not** be reset. The format is the same as in [Routing Configuration](./routing.md#ruleobject).
|
||||
|
||||
> `routeOnly`: true | false
|
||||
|
||||
Use the sniffed domain only for routing; the proxy destination address remains the IP. The default value is `false`.
|
||||
|
||||
@@ -107,6 +107,7 @@
|
||||
"destOverride": ["http", "tls", "fakedns"],
|
||||
"metadataOnly": false,
|
||||
"domainsExcluded": [],
|
||||
"ipsExcluded": [],
|
||||
"routeOnly": false
|
||||
}
|
||||
```
|
||||
@@ -152,6 +153,10 @@ Xray будет использовать доменные имена, обнар
|
||||
|
||||
```
|
||||
|
||||
> `ipsExcluded`: [string]
|
||||
|
||||
Список IP-адресов. Если целевой адрес находится в этом списке, он **не будет** заменён. Формат такой же, как и в [конфигурации маршрутизации](./routing.md#ruleobject).
|
||||
|
||||
> `routeOnly`: true | false
|
||||
|
||||
Использовать обнаруженные доменные имена только для маршрутизации.
|
||||
|
||||
Reference in New Issue
Block a user