SS EVP_CIPHER_CTX_cleanup 错误

原文: https://www.cnblogs.com/jailman/p/10194049.html
SS报错
AttributeError: /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1: undefined symbol:
解决方案:
EVP_CIPHER_CTX_cleanup
修改/usr/local/lib/python2.7/dist-packages/shadowsocks/crypto/openssl.py

libcrypto.EVP_CIPHER_CTX_cleanup.argtypes = (c_void_p,)
替换成
libcrypto.EVP_CIPHER_CTX_reset.argtypes = (c_void_p,)

libcrypto.EVP_CIPHER_CTX_cleanup
替换成
libcrypto.EVP_CIPHER_CTX_reset

安装 SS:
# pip install sxxxxxs
# 编辑配置文件 /etc/ss.json

{
“server”:”172.31.18.88″,
“port_password”: {
“2018”: “password”,
},
“timeout”:300,
“method”:”aes-256-cfb”,
“fast_open”:true,
“workers”: 1
}

启动: /etc/init.d/ss
!/bin/sh
case “$1” in
start)
echo “Start up “
/usr/local/bin/ssserver -c /etc/ss.json &
;;
stop|restart|force-reload|status)
;;
*)
echo “Usage: $0 start” >&2
exit 3
;;
esac





作者: 甬洁网络

--移动互联网&物联网技术提供商