shadowsocks / v2ray-plugin

A SIP003 plugin based on v2ray
MIT License
2.63k stars 568 forks source link

connection doesn't allow setting of receive buffer size #254

Open 0neday opened 2 years ago

0neday commented 2 years ago

quic mode

/opt/shadowsocks-libev/ss-server -c /opt/v2ray-plugin/ss.json  --plugin v2ray-plugin_linux_amd64  --plugiopts "host=domain.com;cert=/opt/v2ray-plugin/ecc/my-service.crt;key=/opt/v2ray-plugin/ecc/my-service.key;loglevel=debug;server;mode=quic"

log

 2021-07-29 12:40:57 INFO: plugin "v2ray-plugin_linux_amd64" enabled
 2021-07-29 12:40:57 INFO: UDP relay enabled
 2021-07-29 12:40:57 INFO: initializing ciphers... chacha20
 2021-07-29 12:40:57 INFO: using nameserver: 8.8.8.8
 2021-07-29 12:40:57 INFO: tcp port reuse enabled
 2021-07-29 12:40:57 INFO: tcp server listening at 127.0.0.1:26291
 2021-07-29 12:40:57 INFO: udp port reuse enabled
 2021-07-29 12:40:57 INFO: udp server listening at 0.0.0.0:8443
 2021-07-29 12:40:57 INFO: running from root user
2021/07/29 12:40:57 V2Ray 4.38.3 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.16.6 linux/amd64)
2021/07/29 12:40:57 A unified platform for anti-censorship.
2021/07/29 12:40:57 [Debug] app/log: Logger started
2021/07/29 12:40:57 [Debug] app/proxyman/inbound: creating stream worker on 0.0.0.0:8443
2021/07/29 12:40:57 connection doesn't allow setting of receive buffer size. Not a *net.UDPConn?. See https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size for details.
2021/07/29 12:40:57 [Warning] V2Ray 4.38.3 started
 2021-07-29 12:40:57 ERROR: [udp] invalid header with addr type 203
 2021-07-29 12:40:59 ERROR: [udp] invalid header with addr type 75
 2021-07-29 12:41:00 ERROR: [udp] sendto_remote: Network is unreachable
 2021-07-29 12:41:02 ERROR: [udp] sendto_remote: Network is unreachable
0neday commented 2 years ago
[root@xx v2ray-plugin]# sysctl  -p | grep net.core.rmem_max
net.core.rmem_max = 67108864
avilabss commented 3 months ago

@0neday did you manage to fix this issue? TSL works fine but quic results in this error and nothing connects