update ss ciphers
This commit is contained in:
10
install.sh
10
install.sh
@@ -114,10 +114,6 @@ transport=(
|
||||
)
|
||||
|
||||
ciphers=(
|
||||
aes-128-cfb
|
||||
aes-256-cfb
|
||||
chacha20
|
||||
chacha20-ietf
|
||||
aes-128-gcm
|
||||
aes-256-gcm
|
||||
chacha20-ietf-poly1305
|
||||
@@ -654,10 +650,10 @@ shadowsocks_ciphers_config() {
|
||||
echo -e "$yellow $i. $none${ciphers_show}"
|
||||
done
|
||||
echo
|
||||
read -p "$(echo -e "(默认加密协议: ${cyan}${ciphers[6]}$none)"):" ssciphers_opt
|
||||
[ -z "$ssciphers_opt" ] && ssciphers_opt=7
|
||||
read -p "$(echo -e "(默认加密协议: ${cyan}${ciphers[1]}$none)"):" ssciphers_opt
|
||||
[ -z "$ssciphers_opt" ] && ssciphers_opt=2
|
||||
case $ssciphers_opt in
|
||||
[1-7])
|
||||
[1-3])
|
||||
ssciphers=${ciphers[$ssciphers_opt - 1]}
|
||||
echo
|
||||
echo
|
||||
|
Reference in New Issue
Block a user