美文网首页编程基础
[转]ss服务端安装libsodium支持chacha20

[转]ss服务端安装libsodium支持chacha20

作者: KomalZheng | 来源:发表于2017-06-01 02:59 被阅读589次

    ss如果要使用 salsa20 或 chacha20 或 chacha20-ietf 算法,需要安装 libsodium ,否则就算在 config.json 里面设置成 chacha20 也会提示 method not supported.


    centos

    yum -y groupinstall "Development Tools"
    wget https://github.com/jedisct1/libsodium/releases/download/1.0.11/libsodium-1.0.11.tar.gz
    tar xf libsodium-1.0.11.tar.gz && cd libsodium-1.0.11
    ./configure && make -j2 && make install
    echo /usr/local/lib > /etc/ld.so.conf.d/usr_local_lib.conf
    ldconfig
    

    ubuntu/debian

    apt-get install build-essential
    wget https://github.com/jedisct1/libsodium/releases/download/1.0.11/libsodium-1.0.11.tar.gz
    tar xf libsodium-1.0.11.tar.gz && cd libsodium-1.0.11
    ./configure && make -j2 && make install
    ldconfig
    

    https://github.com/breakwa11/shadowsocks-rss/wiki/libsodium

    相关文章

      网友评论

        本文标题:[转]ss服务端安装libsodium支持chacha20

        本文链接:https://www.haomeiwen.com/subject/stjsfxtx.html