Closed MuenYu closed 6 months ago
复现版本: xray 1.5.6-1.5.9
配置文件: 服务端
{ "listen": "0.0.0.0", "port": 1234, "protocol": "shadowsocks", "settings": { "method": "2022-blake3-aes-128-gcm", "password": "{{ PSK }}", "network": "tcp,udp" }, "streamSettings": { "network": "kcp", "kcpSettings": { "mtu": 1350, "tti": 20, "uplinkCapacity": 100, "downlinkCapacity": 100, "congestion": false, "readBufferSize": 2, "writeBufferSize": 2, "header": { "type": "{{ type }}" }, "seed": "{{ seed }}" } } }
客户端
{ "tag": "free", "protocol": "shadowsocks", "settings": { "servers": [ { "address": "{{ ip }}", "port": 1234, "method": "2022-blake3-aes-128-gcm", "password": "{{ PSK }}", "uot": true } ] }, "streamSettings": { "network": "kcp", "kcpSettings": { "mtu": 1350, "tti": 20, "uplinkCapacity": 100, "downlinkCapacity": 100, "congestion": false, "readBufferSize": 2, "writeBufferSize": 2, "header": { "type": "{{ type }}" }, "seed": "{{ seed }}" } } }
错误日志
app/proxyman/inbound: connection ends > shadowsocks: serve UDP from {{ client_ip }}:{{ client_port }}: decrypt packet: cipher: message authentication failed
不使用 kcp 时可以正常使用
@parasomn1a 上一次看到有人用KCP 还是在上次
虽然我没用过kcp,还是建议你用用hy 或tuic https://github.com/HyNetwork/hysteria
复现版本: xray 1.5.6-1.5.9
配置文件: 服务端
客户端
错误日志
不使用 kcp 时可以正常使用