From 31c1c8c1b236d3f145bd4f5eb57557dd57af4bd7 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Sat, 22 Jul 2017 17:04:50 +0900 Subject: [PATCH] update comments 1)add cipher: none 2)add obfs: tls1.2_ticket_fastauth tls1.2_ticket_fastauth_compatible Signed-off-by: Teddysun --- shadowsocksR.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/shadowsocksR.sh b/shadowsocksR.sh index f746e74..a595e24 100644 --- a/shadowsocksR.sh +++ b/shadowsocksR.sh @@ -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"