v2ray-core icon indicating copy to clipboard operation
v2ray-core copied to clipboard

[Enhancement][!!!Urgent!!!] Shadowsocks AEAD support

Open lewisxy opened this issue 9 years ago • 7 comments

My one of my server's IP was banned by gfw recently, and it is highly suspected they detected Shadowsocks data using AES-256-CFB (there is a paper published recently about this ).

Paper link

AEAD cipher offers authentication and is harder to detect, please consider adding support for AEAD cipher (AES-GCM, chacha20-ietf-poly1305).

Thanks

lewisxy avatar Oct 14 '17 03:10 lewisxy

I'm also changing my SS configurations to provide legacy access, and found that none of the AEAD Ciphers are currently supported in v2ray SS protocol.

The ciphers SS provided are listed here: https://shadowsocks.org/en/spec/AEAD-Ciphers

aflyhorse avatar Oct 14 '17 03:10 aflyhorse

Both use VMESS and SS in V2ray server, the port of VMESS and ss are both banned. if only use VMESS, it won't be banned.

10330384 avatar Oct 14 '17 03:10 10330384

@10330384 Sometimes SS is necessary since it's better supported on various devices than VMESS.

lewisxy avatar Oct 14 '17 03:10 lewisxy

Sometimes SS is necessary since it's better supported on various devices than VMESS.

I agree with that. So I hope V2ray support AEAD.

10330384 avatar Oct 14 '17 03:10 10330384

As a workaround, you can run a shadowsocks client and set the outbound of v2ray to the client's socks5 port.

IbarakiKasen avatar Oct 14 '17 05:10 IbarakiKasen

@10330384 On my case, only the SS port is banned. Vmess port (via mkcp, none header) remains OK. @IbarakiKasen I've already disabled the SS module in the v2ray and started an ss-libev at the same port with gcm cipher.

aflyhorse avatar Oct 14 '17 09:10 aflyhorse

The development for SS AEAD is in progress. However, I wouldn't put much hope on it in terms of blocking. If legacy SS ciphers are blocked, AEAD won't do any better.

DarienRaymond avatar Oct 14 '17 15:10 DarienRaymond