shadowsocks/go-shadowsocks2

Unable to connect Outline Server

thiras opened this issue · 1 comments

Describe the bug
go-shadowsocks2 fails to connect Outline Server.

To Reproduce

./shadowsocks2-linux -c IP:PORT -password 123456 -socks localhost:1080 -verbose
2021/10/29 18:23:35 tcp.go:18: SOCKS proxy localhost:1080 <-> IP:PORT
2021/10/29 18:23:37 tcp.go:87: proxy 127.0.0.1:35288 <-> IP:PORT <-> google.com:80
2021/10/29 18:24:41 tcp.go:89: relay error: EOF

Same credentials working very well with other clients on both Android and Ubuntu (shadowsocks, Outline Client etc.).

Desktop (please complete the following information):

  • OS: Ubuntu 20.04

Works fine for me with Outline server.
However, Outline uses chacha20-ietf-poly1305 by default, but go-shadowsocks2 seem to support only chacha20-poly1305 (no ietf version). This creates issues using ss:// uri scheme with -c parameter.