update comments
1)add cipher: none 2)add obfs: tls1.2_ticket_fastauth tls1.2_ticket_fastauth_compatible Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
parent
91f0dc0dd2
commit
31c1c8c1b2
|
|
@ -23,6 +23,7 @@ echo
|
||||||
cur_dir=`pwd`
|
cur_dir=`pwd`
|
||||||
# Stream Ciphers
|
# Stream Ciphers
|
||||||
ciphers=(
|
ciphers=(
|
||||||
|
none
|
||||||
aes-256-cfb
|
aes-256-cfb
|
||||||
aes-192-cfb
|
aes-192-cfb
|
||||||
aes-128-cfb
|
aes-128-cfb
|
||||||
|
|
@ -59,6 +60,8 @@ http_post
|
||||||
http_post_compatible
|
http_post_compatible
|
||||||
tls1.2_ticket_auth
|
tls1.2_ticket_auth
|
||||||
tls1.2_ticket_auth_compatible
|
tls1.2_ticket_auth_compatible
|
||||||
|
tls1.2_ticket_fastauth
|
||||||
|
tls1.2_ticket_fastauth_compatible
|
||||||
)
|
)
|
||||||
# Color
|
# Color
|
||||||
red='\033[0;31m'
|
red='\033[0;31m'
|
||||||
|
|
@ -218,8 +221,8 @@ pre_install(){
|
||||||
hint="${ciphers[$i-1]}"
|
hint="${ciphers[$i-1]}"
|
||||||
echo -e "${green}${i}${plain}) ${hint}"
|
echo -e "${green}${i}${plain}) ${hint}"
|
||||||
done
|
done
|
||||||
read -p "Which cipher you'd select(Default: ${ciphers[0]}):" pick
|
read -p "Which cipher you'd select(Default: ${ciphers[1]}):" pick
|
||||||
[ -z "$pick" ] && pick=1
|
[ -z "$pick" ] && pick=2
|
||||||
expr ${pick} + 1 &>/dev/null
|
expr ${pick} + 1 &>/dev/null
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo -e "[${red}Error${plain}] Input error, please input a number"
|
echo -e "[${red}Error${plain}] Input error, please input a number"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user