Closed dev4u closed 3 years ago
cc @zonyitoo
Strange. It shouldn't happen.
Strange. It shouldn't happen.
回去后,我把那几个buffer size参数去掉试试
Please rerun with RUST_BACKTRACE=full
I suspect that it happened because decrypt_payload_aead
didn't check the received packet before calling decrypt_packet
. Some clients sent invalid UDP packets to your server.
I suspect that it is happened because
decrypt_payload_aead
didn't check the received packet before callingdecrypt_packet
. Some clients send invalid UDP packets to your server.
好的,回去我编译试试。
最近ss-rust版本做了一次大升级,性能得到提高的同时,有个问题一直困扰着我。 编译系统:fedora 32 rust tool-chain:nightly-x86_64-unknown-linux-gnu (12-30) rust编译的版本:https://github.com/shadowsocks/shadowsocks-rust/commit/e048bc2f343bbed36ed6dea0151d34ceecfce8ca 启动命令:
运行一段时间,会导致ss服务奔溃。时间周期未测试出来,不过应该跟时间关系不大。 奔溃的日志如下:
打开上述的ring.rs文件,定位到116行,代码如下:
从逻辑来看没什么毛病,不知如何入手解决,麻烦替我看看怎么处理。