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:
Teddysun 2017-07-22 17:04:50 +09:00
parent 91f0dc0dd2
commit 31c1c8c1b2
No known key found for this signature in database
GPG Key ID: 09BD4C080AD6C46D

View File

@ -23,6 +23,7 @@ echo
cur_dir=`pwd`
# Stream Ciphers
ciphers=(
none
aes-256-cfb
aes-192-cfb
aes-128-cfb
@ -59,6 +60,8 @@ http_post
http_post_compatible
tls1.2_ticket_auth
tls1.2_ticket_auth_compatible
tls1.2_ticket_fastauth
tls1.2_ticket_fastauth_compatible
)
# Color
red='\033[0;31m'
@ -218,8 +221,8 @@ pre_install(){
hint="${ciphers[$i-1]}"
echo -e "${green}${i}${plain}) ${hint}"
done
read -p "Which cipher you'd select(Default: ${ciphers[0]}):" pick
[ -z "$pick" ] && pick=1
read -p "Which cipher you'd select(Default: ${ciphers[1]}):" pick
[ -z "$pick" ] && pick=2
expr ${pick} + 1 &>/dev/null
if [ $? -ne 0 ]; then
echo -e "[${red}Error${plain}] Input error, please input a number"