Chore: Limit sing* dependencies to shadowsocks_2022 only

https://github.com/XTLS/Xray-core/pull/6286
This commit is contained in:
Meow
2026-06-10 06:13:11 +08:00
parent c562f835d3
commit b280396765
6 changed files with 6 additions and 42 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ Shadowsocks 2022 新协议格式提升了性能并带有完整的重放保护,
服务端端口**监听**的网络类型。默认值为 `"tcp"`
注意,这只是监听,主要影响并控制 shadowsocks 的原生 UDP 传输,设置为 `"tcp"` 不代表入站会拒绝代理 UDP 的请求。UDP 代理请求仍可以被 shadowsocks 出站的 uot 或者 mux.cool 包装到 TCP 报文中发送到服务端,不受此选项控制
注意,这只是监听,主要影响并控制 Shadowsocks 的原生 UDP 传输,设置为 `"tcp"` 不代表入站会拒绝代理 UDP 的请求。因为 UDP 代理请求仍可以被 Mux.Cool 的 XUDP 包装到 TCP 报文中发送到服务端。
> `method`: string
+1 -13
View File
@@ -37,15 +37,13 @@ Shadowsocks 2022 新协议格式提升了性能并带有完整的重放保护,
{
// ...
"protocol": "shadowsocks",
// [!code focus:10]
// [!code focus:8]
"settings": {
"email": "love@xray.com",
"address": "127.0.0.1",
"port": 1234,
"method": "加密方式",
"password": "密码",
"uot": true,
"UoTVersion": 2,
"level": 0
}
}
@@ -73,16 +71,6 @@ Shadowsocks 加密方式,必填。
Shadowsocks 认证密码,必填。
> `uot`: bool
启用`udp over tcp`
> `UoTVersion`: number
`UDP over TCP` 的实现版本。
当前可选值:`1`, `2`
- Shadowsocks 2022
使用与 WireGuard 类似的预共享密钥作为密码。
+1 -1
View File
@@ -60,7 +60,7 @@ Under the "none" encryption method, traffic will be transmitted in plain text. T
The network type that the server port **listens** on. The default value is `"tcp"`.
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.
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.
> `method`: string
+1 -13
View File
@@ -37,15 +37,13 @@ Under the "none" encryption method, traffic will be transmitted in plain text. T
{
// ...
"protocol": "shadowsocks",
// [!code focus:10]
// [!code focus:8]
"settings": {
"email": "love@xray.com",
"address": "127.0.0.1",
"port": 1234,
"method": "Encryption Method",
"password": "Password",
"uot": true,
"UoTVersion": 2,
"level": 0
}
}
@@ -73,16 +71,6 @@ Shadowsocks encryption method. Required.
Shadowsocks authentication password. Required.
> `uot`: bool
Enable `udp over tcp`.
> `UoTVersion`: number
Implementation version of `UDP over TCP`.
Current optional values: `1`, `2`.
- Shadowsocks 2022
Uses a pre-shared key similar to WireGuard as the password.
+1 -1
View File
@@ -60,7 +60,7 @@
Тип сети, которую **прослушивает** серверный порт. Значение по умолчанию: `"tcp"`.
Обратите внимание, что этот параметр относится только к прослушиванию; он в основном влияет на встроенную передачу UDP в Shadowsocks и управляет ею. Значение `"tcp"` не означает, что inbound отклонит UDP-прокси-запросы. Такие запросы все еще могут быть упакованы в TCP средствами Shadowsocks outbound, например через UoT или mux.cool, и отправлены на сервер; этот параметр их не контролирует.
Обратите внимание, что этот параметр относится только к прослушиванию; он в основном влияет на встроенную передачу UDP в Shadowsocks и управляет ею. Значение `"tcp"` не означает, что inbound отклонит UDP-прокси-запросы, потому что такие запросы все еще могут быть упакованы в TCP-пакеты через XUDP в Mux.Cool и отправлены на сервер.
> `method`: string
+1 -13
View File
@@ -37,15 +37,13 @@
{
// ...
"protocol": "shadowsocks",
// [!code focus:10]
// [!code focus:8]
"settings": {
"email": "love@xray.com",
"address": "127.0.0.1",
"port": 1234,
"method": "метод_шифрования",
"password": "пароль",
"uot": true,
"UoTVersion": 2,
"level": 0
}
}
@@ -73,16 +71,6 @@
Пароль аутентификации Shadowsocks. Обязательный параметр.
> `uot`: bool
Включить `udp over tcp`.
> `UoTVersion`: number
Версия реализации `UDP over TCP`.
Допустимые значения: `1`, `2`.
- Shadowsocks 2022
В качестве пароля используется предварительный общий ключ, аналогичный ключам WireGuard.