update stream ciphers
Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
parent
1bb207709c
commit
6e31282c79
|
|
@ -79,9 +79,11 @@ aes-128-cfb
|
||||||
camellia-128-cfb
|
camellia-128-cfb
|
||||||
camellia-192-cfb
|
camellia-192-cfb
|
||||||
camellia-256-cfb
|
camellia-256-cfb
|
||||||
|
xchacha20-ietf-poly1305
|
||||||
chacha20-ietf-poly1305
|
chacha20-ietf-poly1305
|
||||||
chacha20-ietf
|
chacha20-ietf
|
||||||
chacha20
|
chacha20
|
||||||
|
salsa20
|
||||||
rc4-md5
|
rc4-md5
|
||||||
)
|
)
|
||||||
go_ciphers=(
|
go_ciphers=(
|
||||||
|
|
@ -93,6 +95,7 @@ aes-192-ctr
|
||||||
aes-128-ctr
|
aes-128-ctr
|
||||||
chacha20-ietf
|
chacha20-ietf
|
||||||
chacha20
|
chacha20
|
||||||
|
salsa20
|
||||||
rc4-md5
|
rc4-md5
|
||||||
)
|
)
|
||||||
r_ciphers=(
|
r_ciphers=(
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ echo "# Github: https://github.com/shadowsocks/shadowsocks-go #"
|
||||||
echo "#############################################################"
|
echo "#############################################################"
|
||||||
echo
|
echo
|
||||||
|
|
||||||
#Current folder
|
# Current folder
|
||||||
cur_dir=`pwd`
|
cur_dir=`pwd`
|
||||||
# Stream Ciphers
|
# Stream Ciphers
|
||||||
ciphers=(
|
ciphers=(
|
||||||
|
|
@ -31,6 +31,7 @@ aes-192-ctr
|
||||||
aes-128-ctr
|
aes-128-ctr
|
||||||
chacha20-ietf
|
chacha20-ietf
|
||||||
chacha20
|
chacha20
|
||||||
|
salsa20
|
||||||
rc4-md5
|
rc4-md5
|
||||||
)
|
)
|
||||||
# Color
|
# Color
|
||||||
|
|
|
||||||
|
|
@ -32,9 +32,11 @@ aes-128-cfb
|
||||||
camellia-128-cfb
|
camellia-128-cfb
|
||||||
camellia-192-cfb
|
camellia-192-cfb
|
||||||
camellia-256-cfb
|
camellia-256-cfb
|
||||||
|
xchacha20-ietf-poly1305
|
||||||
chacha20-ietf-poly1305
|
chacha20-ietf-poly1305
|
||||||
chacha20-ietf
|
chacha20-ietf
|
||||||
chacha20
|
chacha20
|
||||||
|
salsa20
|
||||||
rc4-md5
|
rc4-md5
|
||||||
)
|
)
|
||||||
# Color
|
# Color
|
||||||
|
|
|
||||||
|
|
@ -32,9 +32,11 @@ aes-128-cfb
|
||||||
camellia-128-cfb
|
camellia-128-cfb
|
||||||
camellia-192-cfb
|
camellia-192-cfb
|
||||||
camellia-256-cfb
|
camellia-256-cfb
|
||||||
|
xchacha20-ietf-poly1305
|
||||||
chacha20-ietf-poly1305
|
chacha20-ietf-poly1305
|
||||||
chacha20-ietf
|
chacha20-ietf
|
||||||
chacha20
|
chacha20
|
||||||
|
salsa20
|
||||||
rc4-md5
|
rc4-md5
|
||||||
)
|
)
|
||||||
# Color
|
# Color
|
||||||
|
|
@ -194,6 +196,24 @@ centosversion(){
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
version_ge(){
|
||||||
|
test "$(echo "$@" | tr " " "\n" | sort -rV | head -n 1)" == "$1"
|
||||||
|
}
|
||||||
|
|
||||||
|
# autoconf version
|
||||||
|
autoconfversion(){
|
||||||
|
if [ "$(command -v "autoconf")" ]; then
|
||||||
|
local version=$(autoconf --version | grep autoconf | awk '{print $4}')
|
||||||
|
if version_ge ${version} 2.67; then
|
||||||
|
return 0
|
||||||
|
else
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# Pre-installation settings
|
# Pre-installation settings
|
||||||
pre_install(){
|
pre_install(){
|
||||||
# Check OS system
|
# Check OS system
|
||||||
|
|
@ -295,7 +315,7 @@ pre_install(){
|
||||||
char=`get_char`
|
char=`get_char`
|
||||||
#Install necessary dependencies
|
#Install necessary dependencies
|
||||||
yum install -y epel-release && yum makecache
|
yum install -y epel-release && yum makecache
|
||||||
yum install -y unzip openssl openssl-devel gettext gcc autoconf libtool automake make asciidoc xmlto udns-devel libev-devel pcre pcre-devel
|
yum install -y unzip openssl openssl-devel gettext gcc autoconf libtool automake make asciidoc xmlto udns-devel libev-devel pcre pcre-devel git
|
||||||
}
|
}
|
||||||
|
|
||||||
download() {
|
download() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user