mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-10-13 01:14:59 +03:00
fix(inbounds): refuse 2022-blake3-chacha20-poly1305 on shadowsocks inbounds
xray-core builds a Shadowsocks-2022 inbound with users only for the AES methods: the multi-user identity header is AES-only, so the config builder and the multi-user server both reject chacha20. Every panel inbound carries clients, so picking 2022-blake3-chacha20-poly1305 in the inbound form kept the whole core from starting; its links also failed on the client with "multi-key is not supported". The inbound form no longer offers the method and AddInbound/UpdateInbound reject it. Startup moves stored inbounds to 2022-blake3-aes-256-gcm, which takes the same 32-byte keys, so every stored key stays valid. Outbounds keep the method, since a single-key outbound to such a server works. The share-link generator drops the single-user branch that only this method reached.
This commit is contained in:
@@ -219,8 +219,9 @@ keys from the panel's VLESS settings.
|
||||
## Shadowsocks ciphers
|
||||
|
||||
Shadowsocks inbounds support both classic ciphers and **Shadowsocks-2022**
|
||||
(method names starting with `2022-blake3-`). Most ciphers are multi-user;
|
||||
`2022-blake3-chacha20-poly1305` is single-user.
|
||||
(method names starting with `2022-blake3-`). `2022-blake3-chacha20-poly1305` is not
|
||||
offered for inbounds: Xray-core supports it only without users, and every panel
|
||||
inbound has clients. Outbounds can still use it.
|
||||
|
||||
<Callout type="info">
|
||||
Transports and security must match on both ends. The client's share link
|
||||
|
||||
@@ -221,8 +221,9 @@ TCP، پنل میتواند پس از آنکه یک کلاینت از جری
|
||||
## رمزهای Shadowsocks
|
||||
|
||||
inboundهای Shadowsocks هم از رمزهای کلاسیک و هم از **Shadowsocks-2022**
|
||||
پشتیبانی میکنند (نام روشهایی که با `2022-blake3-` آغاز میشوند). بیشتر رمزها چندکاربره هستند؛
|
||||
`2022-blake3-chacha20-poly1305` تککاربره است.
|
||||
پشتیبانی میکنند (نام روشهایی که با `2022-blake3-` آغاز میشوند). روش
|
||||
`2022-blake3-chacha20-poly1305` برای inbound ارائه نمیشود: Xray-core آن را فقط بدون کاربر پشتیبانی میکند
|
||||
و هر inbound پنل کلاینت دارد. outboundها همچنان میتوانند از آن استفاده کنند.
|
||||
|
||||
<Callout type="info">
|
||||
انتقالها و امنیت باید در هر دو سر یکسان باشند. لینک اشتراک کلاینت آنها را
|
||||
|
||||
@@ -223,9 +223,10 @@ Vision поверх XHTTP. Сгенерируйте ключи в настрой
|
||||
## Шифры Shadowsocks
|
||||
|
||||
Inbound-соединения Shadowsocks поддерживают как классические шифры, так и
|
||||
**Shadowsocks-2022** (имена методов, начинающиеся с `2022-blake3-`). Большинство
|
||||
шифров рассчитаны на нескольких пользователей; `2022-blake3-chacha20-poly1305`
|
||||
рассчитан на одного пользователя.
|
||||
**Shadowsocks-2022** (имена методов, начинающиеся с `2022-blake3-`). Метод
|
||||
`2022-blake3-chacha20-poly1305` для inbound не предлагается: Xray-core
|
||||
поддерживает его только без пользователей, а у каждого inbound панели есть
|
||||
клиенты. В outbound его по-прежнему можно использовать.
|
||||
|
||||
<Callout type="info">
|
||||
Транспорты и безопасность должны совпадать на обоих концах. Ссылка на
|
||||
|
||||
@@ -199,8 +199,8 @@ VLESS 支持后量子**加密**(ML-KEM / `mlkem768x25519`),它存储在入
|
||||
## Shadowsocks 加密方式
|
||||
|
||||
Shadowsocks 入站同时支持经典加密方式和 **Shadowsocks-2022**(以 `2022-blake3-`
|
||||
开头的方法名)。大多数加密方式支持多用户;`2022-blake3-chacha20-poly1305`
|
||||
为单用户。
|
||||
开头的方法名)。入站不提供
|
||||
`2022-blake3-chacha20-poly1305`:Xray-core 仅在无用户时支持它,而面板的每个入站都有客户端。出站仍可使用。
|
||||
|
||||
<Callout type="info">
|
||||
传输方式和安全层必须在两端一致。客户端的分享链接会对它们进行编码(`type=ws`、
|
||||
|
||||
Reference in New Issue
Block a user