diff --git a/README.md b/README.md index a5dcea2..d7c8be1 100644 --- a/README.md +++ b/README.md @@ -42,31 +42,40 @@ ShadowsocksR : aes-256-gcm aes-192-gcm aes-128-gcm -aes-256-ctr -aes-192-ctr -aes-128-ctr aes-256-cfb aes-192-cfb aes-128-cfb -camellia-128-cfb -camellia-192-cfb +aes-256-ctr +aes-192-ctr +aes-128-ctr camellia-256-cfb +camellia-192-cfb +camellia-128-cfb xchacha20-ietf-poly1305 chacha20-ietf-poly1305 chacha20-ietf +chacha20 +salsa20 +bf-cfb +rc4-md5 **Ciphers(none means unencrypted,ShadowsocksR):** none aes-256-cfb aes-192-cfb aes-128-cfb -aes-256-cfb -aes-192-cfb -aes-128-cfb +aes-256-cfb8 +aes-192-cfb8 +aes-128-cfb8 aes-256-ctr aes-192-ctr aes-128-ctr chacha20-ietf +xchacha20 +xsalsa20 +chacha20 +salsa20 +rc4-md5 **Protocols(Only ShadowsocksR):** origin diff --git a/shadowsocks.sh b/shadowsocks.sh index 0a9a7e3..3b4e0a5 100644 --- a/shadowsocks.sh +++ b/shadowsocks.sh @@ -43,23 +43,26 @@ shadowsocks_r_config="/etc/shadowsocks-r/config.json" shadowsocks_r_centos="https://raw.githubusercontent.com/Yuk1n0/Shadowsocks-Install/master/shadowsocksR-centos" shadowsocks_r_debian="https://raw.githubusercontent.com/Yuk1n0/Shadowsocks-Install/master/shadowsocksR-debian" -# Stream Ciphers common_ciphers=( aes-256-gcm aes-192-gcm aes-128-gcm - aes-256-ctr - aes-192-ctr - aes-128-ctr aes-256-cfb aes-192-cfb aes-128-cfb - camellia-128-cfb - camellia-192-cfb + aes-256-ctr + aes-192-ctr + aes-128-ctr camellia-256-cfb + camellia-192-cfb + camellia-128-cfb xchacha20-ietf-poly1305 chacha20-ietf-poly1305 chacha20-ietf + chacha20 + salsa20 + bf-cfb + rc4-md5 ) r_ciphers=( none @@ -73,6 +76,11 @@ r_ciphers=( aes-192-ctr aes-128-ctr chacha20-ietf + xchacha20 + xsalsa20 + chacha20 + salsa20 + rc4-md5 ) # Reference URL: