Archive

Posts Tagged ‘Shadowsocks’

将SS的加密算法改为chacha20

August 15th, 2016 No comments

Shadowsocks更换加密算法后可以提高密钥加密和解密速度,同时可以规避GFW利用OpenSSL特性进行特征包跟踪的问题。

环境确认,安装编译工具

# Debian/Ubuntu
apt-get install build-essential
# CentOS
yum groupinstall "Development Tools"

下载、编译和安装libsodium1.0.11,支持chacha20

# 下载libsodium
 
wget https://github.com/jedisct1/libsodium/releases/download/1.0.11/libsodium-1.0.11.tar.gz
tar xvf libsodium-1.0.11.tar.gz
 
# 编译&安装
cd libsodium-1.0.11
./configure && make && make install
 
# 更新动态库
ldconfig

Read more…

Categories: 零敲碎打 Tags: ,