Remove `fakedns+others` (#690)
* Update fakedns.md * Update inbound.md * Update fakedns.md * Update inbound.md * Update inbound.md * Update fakedns.mdpull/705/head
parent
a4bd32fa24
commit
b70438e9b4
|
@ -122,7 +122,7 @@ FakeDNS 本质上是一个 [DNS 服务器](./dns.md#serverobject),能够与任
|
|||
```json
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": ["fakedns"], // 使用 "fakedns",或与其它 sniffer 搭配使用,或直接使用 "fakedns+others"
|
||||
"destOverride": ["fakedns"], // 使用 "fakedns",或与其它 sniffer 搭配使用
|
||||
"metadataOnly": false // 此项为 true 时 destOverride 仅可使用 fakedns
|
||||
},
|
||||
```
|
||||
|
|
|
@ -110,11 +110,10 @@
|
|||
|
||||
是否开启流量探测。
|
||||
|
||||
> `destOverride`: \["http" | "tls" | "quic" | "fakedns" | "fakedns+others" \]
|
||||
> `destOverride`: \["http" | "tls" | "quic" | "fakedns"\]
|
||||
|
||||
当流量为指定类型时,按其中包括的目标地址重置当前连接的目标。
|
||||
|
||||
其中 `["fakedns+others"]` 相当于 `["http", "tls", "quic", "fakedns"]`,当 IP 地址处于 FakeIP 区间内但没有命中域名记录时会使用 `http`、`tls` 和 `quic` 进行匹配。此项仅在 `metadataOnly` 为 `false` 时有效。
|
||||
|
||||
::: tip
|
||||
Xray只会嗅探 `destOverride` 中协议的域名用作路由,如果只想进行嗅探用作路由而不想重置目标地址(如使用Tor浏览器时,重置目标地址会导致无法连接),请在这里添加对应的协议并启用 `routeOnly` 。
|
||||
|
@ -122,7 +121,7 @@ Xray只会嗅探 `destOverride` 中协议的域名用作路由,如果只想进
|
|||
|
||||
> `metadataOnly`: true | false
|
||||
|
||||
当启用时,将仅使用连接的元数据嗅探目标地址。此时,除 `fakedns` 以外的 sniffer 将不能激活(包括 `fakedns+others`)。
|
||||
当启用时,将仅使用连接的元数据嗅探目标地址。此时,除 `fakedns` 以外的 sniffer 将不能激活。
|
||||
|
||||
如果关闭仅使用元数据推断目标地址,此时客户端必须先发送数据,代理服务器才会实际建立连接。此行为与需要服务器首先发起第一个消息的协议不兼容,如 SMTP 协议。
|
||||
|
||||
|
|
|
@ -122,7 +122,7 @@ In addition, you need to enable `Sniffing` in the **client** for incoming traffi
|
|||
```json
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": ["fakedns"], // Use "fakedns", or use it with other sniffer, or directly use "fakedns+others".
|
||||
"destOverride": ["fakedns"], // Use "fakedns", or use it with other sniffer.
|
||||
"metadataOnly": false // When this item is true, destOverride can only use fakedns.
|
||||
},
|
||||
```
|
||||
|
|
|
@ -94,7 +94,7 @@ Specifies the specific settings for port allocation when multiple ports are set
|
|||
```json
|
||||
{
|
||||
"enabled": true,
|
||||
"destOverride": ["http", "tls", "quic", "fakedns", "fakedns+others"],
|
||||
"destOverride": ["http", "tls", "quic", "fakedns"],
|
||||
"metadataOnly": false,
|
||||
"domainsExcluded": [],
|
||||
"routeOnly": false
|
||||
|
@ -105,15 +105,14 @@ Specifies the specific settings for port allocation when multiple ports are set
|
|||
|
||||
Whether to enable traffic sniffing.
|
||||
|
||||
> `destOverride`: ["http" | "tls" | "quic" | "fakedns" | "fakedns+others" ]
|
||||
> `destOverride`: ["http" | "tls" | "quic" | "fakedns" ]
|
||||
|
||||
When the traffic is of a specified type, reset the destination of the current connection to the target address included in the list.
|
||||
|
||||
`["fakedns+others"]` is equivalent to `["http", "tls", "quic", "fakedns"]`, and when the IP address is in the FakeIP range but no domain records are hit, `http`, `tls`, and `quic` will be used for matching. This option is only effective when `metadataOnly` is set to `false`.
|
||||
|
||||
> `metadataOnly`: true | false
|
||||
|
||||
When enabled, only use the connection's metadata to sniff the target address. In this case, sniffer other than `fakedns` (including `fakedns+others`) cannot be activated.
|
||||
When enabled, only use the connection's metadata to sniff the target address. In this case, sniffer other than `fakedns` cannot be activated.
|
||||
|
||||
If metadata-only is disabled, the client must send data before the proxy server actually establishes the connection. This behavior is incompatible with protocols that require the server to initiate the first message, such as the SMTP protocol.
|
||||
|
||||
|
|
|
@ -125,7 +125,7 @@ FakeDNS будет использовать этот блок IP-адресов
|
|||
```json
|
||||
"sniffing": {
|
||||
"enabled": true,
|
||||
"destOverride": ["fakedns"], // Используйте "fakedns" или в сочетании с другими снифферами, или используйте "fakedns+others".
|
||||
"destOverride": ["fakedns"], // Используйте "fakedns" или в сочетании с другими снифферами.
|
||||
"metadataOnly": false // Если этот параметр равен true, то в destOverride можно использовать только fakedns.
|
||||
},
|
||||
```
|
||||
|
|
|
@ -121,13 +121,10 @@
|
|||
|
||||
Включить обнаружение трафика.
|
||||
|
||||
> `destOverride`: \["http" | "tls" | "quic" | "fakedns" | "fakedns+others" \]
|
||||
> `destOverride`: \["http" | "tls" | "quic" | "fakedns"\]
|
||||
|
||||
Заменить целевой адрес текущего подключения на указанные типы, если трафик соответствует им.
|
||||
|
||||
`["fakedns+others"]` эквивалентно `["http", "tls", "quic", "fakedns"]`.
|
||||
Если IP-адрес находится в диапазоне FakeIP, но не найдено соответствие доменному имени, будут использованы `http`, `tls` и `quic`.
|
||||
Этот параметр действителен только при `metadataOnly` = `false`.
|
||||
|
||||
::: tip
|
||||
Xray будет использовать доменные имена, обнаруженные с помощью sniffing, только для маршрутизации.
|
||||
|
@ -137,7 +134,7 @@ Xray будет использовать доменные имена, обнар
|
|||
> `metadataOnly`: true | false
|
||||
|
||||
Если этот параметр включен, для обнаружения целевого адреса будут использоваться только метаданные подключения.
|
||||
В этом случае все снифферы, кроме `fakedns`, будут отключены (включая `fakedns+others`).
|
||||
В этом случае все снифферы, кроме `fakedns`, будут отключены.
|
||||
|
||||
Если этот параметр отключен, для определения целевого адреса будут использоваться не только метаданные, но и данные.
|
||||
В этом случае клиенту необходимо сначала отправить данные, чтобы прокси-сервер установил соединение.
|
||||
|
|
Loading…
Reference in New Issue