XrayR-project / XrayR

A Xray backend framework that can easily support many panels. 一个基于Xray的后端框架,支持V2ay,Trojan,Shadowsocks协议,极易扩展,支持多面板对接
https://xrayr-project.github.io/XrayR-doc/
Mozilla Public License 2.0
2.02k stars 814 forks source link

feat: ss2022 node type (DO NOT MERGE) #507

Closed AutisticShark closed 10 months ago

AutisticShark commented 10 months ago

This is a draft PR regards the new Shadowsocks2022 node type added in SSPanel-UIM 2023.6, the purpose of this new node type is to re-enable Multi-User functionality, as well as a drop-in replacement for the Shadowsocks-Plugin node type.

However, I ran into the same issue that was supposed to be solved in the https://github.com/XTLS/Xray-core/pull/1401, the handler Shadowsocks2022_0.0.0.0_xxxx has not implemented proxy.UserManager error. Does this mean the current ss2022 implementation in XrayR has never worked? Or do some late patches to the Xray-core break the XrayR yet again?

I think the whole inbound building logic inside XrayR needs to be reworked to better fit with the upstream core, and also to prevent future compatibility issues. In the meantime, I will continue to investigate this problem to see if there is any workaround available, any additional suggestions or hints would be greatly appreciated.

Also CC @thank243