sing-box icon indicating copy to clipboard operation
sing-box copied to clipboard

Feature request: shadowsocks AEAD inbound Single-port Multi-user

Open zakuwaki opened this issue 2 years ago • 4 comments

Hi, sing-box has already implemented single-port multi-user for aead2022. However, many low-end devices can only run shadowsocks-libev which only supports old aead methods like chacha20-ietf-poly1305 and aes-128-gcm. It is worth considering to add multi-user support for these methods. Meanwhile, it's more better if different users can use different aead ciphers in multi-user mode.

Xray supports it by ranging all users https://github.com/XTLS/Xray-core/blob/33755d6e908227f270881e7b859eabedb393c3dc/proxy/shadowsocks/protocol.go#L93-L111

zakuwaki avatar Aug 26 '22 06:08 zakuwaki

This method is ugly and low performance.

nekohasekai avatar Aug 26 '22 06:08 nekohasekai

What device can't run shadowsocks-rust?

nekohasekai avatar Aug 26 '22 06:08 nekohasekai

This method is ugly and low performance.

Yes, I agree...

What device can't run shadowsocks-rust?

Like lots of old routers(k2/k2p) with padavan or openwrt. Also ShadowsocksX-NG does not support aead2022 either. But they really work stably.

In this case a client sing-box serves as a relay in GFW or rather in CERNET, and connects to the remote sing-box server using trojan.

zakuwaki avatar Aug 26 '22 06:08 zakuwaki

Various proxy frontend projects are usually of lower quality and there is no reason to give in for them.

nekohasekai avatar Aug 26 '22 08:08 nekohasekai

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Oct 26 '22 03:10 github-actions[bot]