Closed 5t-RawBeRry closed 2 years ago
奇怪的问题 安装 libsodium-dev
之后 出现了 https://github.com/TyrantLucifer/ssr-command-client/issues/32 里面的问题
2022-03-21 13:14:17,204 - tcprelay.py[line:272] - [_create_encryptor] - ERROR: create encryptor fail at port 1080
贴上系统
_,met$$$$$gg. k@Bot
,g$$$$$$$$$$$$$$$P. ----------------
,g$$P" """Y$$.". OS: Debian GNU/Linux 11 (bullseye) x86_64
,$$P' `$$$. Host: X11DAi-N 123456789
',$$P ,ggs. `$$b: Kernel: 5.10.0-11-amd64
`d$$' ,$P"' . $$$ Uptime: 19 days, 19 hours, 1 min
$$P d$' , $$P Packages: 1030 (dpkg)
$$: $$. - ,d$$' Shell: bash 5.1.4
$$; Y$b._ _,d$P' Resolution: 1680x1050
Y$$. `.`"Y$$$$P"' Terminal: /dev/pts/5
`$$b "-.__ CPU: Intel Xeon Gold 6130 (64) @ 3.700GHz
`Y$$ GPU: 04:00.0 ASPEED Technology, Inc. ASPEED Graphics Family
`Y$$. Memory: 16054MiB / 31801MiB
`$$b.
`Y$$b.
`"Y$b._
`"""
刚刚手动编译过了 结果一样 附上节点配置
{
"method": "chacha20-ietf",
"obfs": "plain",
"protocol": "auth_aes128_md5"
}
出现这个问题的原因就是因为你的库没有被识别到,chachan20方式加解密需要依赖加密库,还是需要排查一下你的编译方式对不对,以及你的库环境变量对不对,如果你按照方式一步一步做好了,那么还是不行,那就是系统问题。
试了一下,把加密库卸载之后又开始报错
2022-03-21 18:11:13,785 - tcprelay.py[line:1095] - [_log_error] - ERROR: [Errno 2] No such file or directory: b'liblibcrypto.a' when handling connection from 127.0.0.1:34170
所以说加密库大概是生效了,就是奇怪的问题归结到 debian11八
试试加个软链接给加密库试试,软链接的名字就是liblibcrypto.a
这个问题在我树莓派系统复现了,使用这个命令找到库所在地址ldconfig -p | grep libcrypto
,在对应目录下建立软链接liblibcrypto.a
,问题解决。
2022-03-21 03:18:29,603 - tcprelay.py[line:1095] - [_log_error] - ERROR: [Errno 2] No such file or directory: b'liblibcrypto.a' when handling connection from 127.0.0.1:34416