fw876 / helloworld

GNU General Public License v3.0
3.62k stars 2.64k forks source link

由于shadowsocks-rust不支持xchacha20-ietf-poly1305导致ssrplus redir tcp error.restart的问题 #964

Closed leochien0102 closed 2 years ago

leochien0102 commented 2 years ago

机场使用了xchacha20-ietf-poly1305加密的ss服务端,当选装了shadowsocks-rust(或同时选装shadowsocks-libev)时,由于shadowsocks-rust不支持xchacha20-ietf-poly1305加密方式, unsupported method, `xchacha20-ietf-poly1305` is not a supported method

而代码优先使用了shadowsocks-rust的sslocal作为主程序, helloworld/luci-app-ssr-plus/root/etc/init.d/shadowsocksr/#L535

最终导致页面显示ShadowsocksR Plus+ 未运行,日志提示ssrplus redir tcp error.restart

去掉shadowsocks-rust选装后一切正常。

目前ssrplus将shadowsocks-rust和shadowsocks-libev统一归为"Shadowsocks New Version",但实际两者还是有些许差别,如果可以区别处理的话,可能更好一些。

1715173329 commented 2 years ago

xchacha20 is not standard, you should avoid using it. It's even not supported by the official windows client.

ylmf56 commented 3 months ago

机场使用了xchacha20-ietf-poly1305加密的ss服务端,当选装了shadowsocks-rust(或同时选装shadowsocks-libev)时,由于shadowsocks-rust不支持xchacha20-ietf-poly1305加密方式, unsupported method, `xchacha20-ietf-poly1305` is not a supported method

而代码优先使用了shadowsocks-rust的sslocal作为主程序, helloworld/luci-app-ssr-plus/root/etc/init.d/shadowsocksr/#L535

最终导致页面显示ShadowsocksR Plus+ 未运行,日志提示ssrplus redir tcp error.restart

去掉shadowsocks-rust选装后一切正常。

目前ssrplus将shadowsocks-rust和shadowsocks-libev统一归为"Shadowsocks New Version",但实际两者还是有些许差别,如果可以区别处理的话,可能更好一些。

确实是这样,使用XRay就能正常运行。