Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use AEAD with shadowrocket iOS client #1231

Closed
alexyangjie opened this issue Feb 10, 2017 · 8 comments
Closed

Unable to use AEAD with shadowrocket iOS client #1231

alexyangjie opened this issue Feb 10, 2017 · 8 comments

Comments

@alexyangjie
Copy link

alexyangjie commented Feb 10, 2017

What version of shadowsocks-libev are you using?

3.0.1

What operating system are you using?

CentOS 7

What did you do?

Use shadowrocket on iOS to connect to vps

What did you expect to see?

Connection successful

What did you see instead?

Unable to connect. Logs on server:
2017-02-10 09:29:40 ERROR: failed to handshake with [ip address removed]: authentication error

Nothing additional when running with -v.

ss-local on Windows (cygwin) works fine. The issue only occurred when using shadowrocket on iOS.

What is your config in detail (with all sensitive info masked)?

{
"server": ["[::0]", "0.0.0.0"],
"server_port": **,
"local_port": 8089,
"password": "****",
"timeout": 600,
"method": "aes-128-gcm"
}
/usr/local/bin/ss-server -a root -c /etc/shadowsocks-libev/config.json -u

@madeye
Copy link

madeye commented Feb 10, 2017

To identify if it's a problem of shadowsocks-libev, you may try this port: https://github.com/shadowsocks/go-shadowsocks2

@debiansid
Copy link

It is caused by iOS client

@maddie
Copy link

maddie commented Feb 10, 2017

@debiansid If I understand SIP004 (shadowsocks/shadowsocks-org#30) correctly, aes-128-gcm is considered to be AEAD cipher thus will communicate in a different fashion under 3.0.1 server side.

Shadowrocket seems to be based on 2.x client, so it's not supported.

@debiansid
Copy link

@maddie agreed

@alexyangjie
Copy link
Author

@madeye I've tested with go-shadowsocks2, and it still has issues. Looks like it is an issue with shadowrocket. I will close this issue now. Thanks for help.

@riobard
Copy link

riobard commented Feb 11, 2017

AFAIK no client other than shadowsocks-libev and go-shadowsocks2 support AEAD ciphers (which is still in developing stage; see shadowsocks/shadowsocks-org#42)

Please wait for official announcement.

@SquirrelCoder
Copy link

@riobard AES-*-GCM and ChaCha20-Poly1305 is implemented in Android-Client.
The go version is pretty interesting, though very hard to use.
I have to open the CMD every time I want to connect to server :D. Though works great ;).
It would be great, if there a wiki page, tracing SS clients, that which one has implement the AEAD ciphers.

@riobard
Copy link

riobard commented Mar 14, 2017

@SquirrelCoder https://github.com/shadowsocks/shadowsocks-org/wiki/Implementations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants