Skip to content

Commit b280396

Browse files
committed
Chore: Limit sing* dependencies to shadowsocks_2022 only
XTLS/Xray-core#6286
1 parent c562f83 commit b280396

6 files changed

Lines changed: 6 additions & 42 deletions

File tree

docs/config/inbounds/shadowsocks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Shadowsocks 2022 新协议格式提升了性能并带有完整的重放保护,
6060
6161
服务端端口**监听**的网络类型。默认值为 `"tcp"`
6262

63-
注意,这只是监听,主要影响并控制 shadowsocks 的原生 UDP 传输,设置为 `"tcp"` 不代表入站会拒绝代理 UDP 的请求。UDP 代理请求仍可以被 shadowsocks 出站的 uot 或者 mux.cool 等包装到 TCP 报文中发送到服务端,不受此选项控制
63+
注意,这只是监听,主要影响并控制 Shadowsocks 的原生 UDP 传输,设置为 `"tcp"` 不代表入站会拒绝代理 UDP 的请求。因为 UDP 代理请求仍可以被 Mux.Cool 的 XUDP 包装到 TCP 报文中发送到服务端。
6464

6565
> `method`: string
6666

docs/config/outbounds/shadowsocks.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,13 @@ Shadowsocks 2022 新协议格式提升了性能并带有完整的重放保护,
3737
{
3838
// ...
3939
"protocol": "shadowsocks",
40-
// [!code focus:10]
40+
// [!code focus:8]
4141
"settings": {
4242
"email": "love@xray.com",
4343
"address": "127.0.0.1",
4444
"port": 1234,
4545
"method": "加密方式",
4646
"password": "密码",
47-
"uot": true,
48-
"UoTVersion": 2,
4947
"level": 0
5048
}
5149
}
@@ -73,16 +71,6 @@ Shadowsocks 加密方式,必填。
7371
7472
Shadowsocks 认证密码,必填。
7573

76-
> `uot`: bool
77-
78-
启用`udp over tcp`
79-
80-
> `UoTVersion`: number
81-
82-
`UDP over TCP` 的实现版本。
83-
84-
当前可选值:`1`, `2`
85-
8674
- Shadowsocks 2022
8775

8876
使用与 WireGuard 类似的预共享密钥作为密码。

docs/en/config/inbounds/shadowsocks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Under the "none" encryption method, traffic will be transmitted in plain text. T
6060
6161
The network type that the server port **listens** on. The default value is `"tcp"`.
6262

63-
Note that this is only for listening; it mainly affects and controls the native UDP transmission of Shadowsocks. Setting it to `"tcp"` does not mean the inbound will reject UDP proxy requests. UDP proxy requests can still be wrapped into TCP packets by Shadowsocks outbound features like UoT or mux.cool and sent to the server, and are not controlled by this option.
63+
Note that this is only for listening; it mainly affects and controls the native UDP transmission of Shadowsocks. Setting it to `"tcp"` does not mean the inbound will reject UDP proxy requests, because UDP proxy requests can still be wrapped into TCP packets by XUDP in Mux.Cool and sent to the server.
6464

6565
> `method`: string
6666

docs/en/config/outbounds/shadowsocks.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,13 @@ Under the "none" encryption method, traffic will be transmitted in plain text. T
3737
{
3838
// ...
3939
"protocol": "shadowsocks",
40-
// [!code focus:10]
40+
// [!code focus:8]
4141
"settings": {
4242
"email": "love@xray.com",
4343
"address": "127.0.0.1",
4444
"port": 1234,
4545
"method": "Encryption Method",
4646
"password": "Password",
47-
"uot": true,
48-
"UoTVersion": 2,
4947
"level": 0
5048
}
5149
}
@@ -73,16 +71,6 @@ Shadowsocks encryption method. Required.
7371
7472
Shadowsocks authentication password. Required.
7573

76-
> `uot`: bool
77-
78-
Enable `udp over tcp`.
79-
80-
> `UoTVersion`: number
81-
82-
Implementation version of `UDP over TCP`.
83-
84-
Current optional values: `1`, `2`.
85-
8674
- Shadowsocks 2022
8775

8876
Uses a pre-shared key similar to WireGuard as the password.

docs/ru/config/inbounds/shadowsocks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
6161
Тип сети, которую **прослушивает** серверный порт. Значение по умолчанию: `"tcp"`.
6262

63-
Обратите внимание, что этот параметр относится только к прослушиванию; он в основном влияет на встроенную передачу UDP в Shadowsocks и управляет ею. Значение `"tcp"` не означает, что inbound отклонит UDP-прокси-запросы. Такие запросы все еще могут быть упакованы в TCP средствами Shadowsocks outbound, например через UoT или mux.cool, и отправлены на сервер; этот параметр их не контролирует.
63+
Обратите внимание, что этот параметр относится только к прослушиванию; он в основном влияет на встроенную передачу UDP в Shadowsocks и управляет ею. Значение `"tcp"` не означает, что inbound отклонит UDP-прокси-запросы, потому что такие запросы все еще могут быть упакованы в TCP-пакеты через XUDP в Mux.Cool и отправлены на сервер.
6464

6565
> `method`: string
6666

docs/ru/config/outbounds/shadowsocks.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,13 @@
3737
{
3838
// ...
3939
"protocol": "shadowsocks",
40-
// [!code focus:10]
40+
// [!code focus:8]
4141
"settings": {
4242
"email": "love@xray.com",
4343
"address": "127.0.0.1",
4444
"port": 1234,
4545
"method": "метод_шифрования",
4646
"password": "пароль",
47-
"uot": true,
48-
"UoTVersion": 2,
4947
"level": 0
5048
}
5149
}
@@ -73,16 +71,6 @@
7371
7472
Пароль аутентификации Shadowsocks. Обязательный параметр.
7573

76-
> `uot`: bool
77-
78-
Включить `udp over tcp`.
79-
80-
> `UoTVersion`: number
81-
82-
Версия реализации `UDP over TCP`.
83-
84-
Допустимые значения: `1`, `2`.
85-
8674
- Shadowsocks 2022
8775

8876
В качестве пароля используется предварительный общий ключ, аналогичный ключам WireGuard.

0 commit comments

Comments
 (0)