-
-
Notifications
You must be signed in to change notification settings - Fork 11.5k
Closed
shadowsocks/crypto2
#20Labels
Description
Describe the bug
使用下面这个密码会导致服务端报错,详细报错见ScreenShots部分。
罪魁祸首:
"Imakethis_LongPassPhraseFor_safety_2019_0928@_@!"
To Reproduce
使用v2fly server:
{
"log": {
"loglevel": "debug",
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log"
},
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "block"
}
]
},
"inbounds": [
{
"listen": "0.0.0.0",
"port": 1234,
"protocol": "shadowsocks",
"settings": {
"method": "chacha20-ietf-poly1305",
"password": "Imakethis_LongPassPhraseFor_safety_2019_0928@_@!"
},
"streamSettings": {
"network": "tcp"
}
}
],
"outbounds": [
{
"protocol": "freedom",
"tag": "direct"
},
{
"protocol": "blackhole",
"tag": "block"
}
]
}
Screenshots
服务端报错:
2021/04/14 04:05:44 192.168.1.23:42844 rejected github.com/v2fly/v2ray-core/v4/proxy/shadowsocks: failed to read address > chacha20poly1305: message authentication failed
2021/04/14 04:05:44 192.168.1.23:42846 rejected github.com/v2fly/v2ray-core/v4/proxy/shadowsocks: failed to read address > chacha20poly1305: message authentication failed
客户端行为:
只有发送流量没有接受流量。过段时间后会报错cp.cloudflare没法正常resolve的字样
Smartphone (please complete the following information):
- Android/Chrome OS version: LineageOS
- Device: Redmi Note5
- Version: v5.2.2
- Last version that did not exhibit the issue: [not applicable]
Additional context
去掉感叹号后就没问题了。
因为同样的密码,使用ss windows和旧版ss Android 5.1.7连接即使带感叹号也正常。所以怀疑是ss安卓这边的原因,就到这里提issue了
第一次在本地机子测试的时候使用的"test@_@!"做密码却也正常连通。