From 82febee8b87a1e54413a05efc84963baf8126db5 Mon Sep 17 00:00:00 2001 From: KANIKIG Date: Fri, 29 Jan 2021 17:30:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=BD=AC=E5=8F=91CDN?= =?UTF-8?q?=E8=87=AA=E9=80=89ip=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gost.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gost.sh b/gost.sh index 49f822f..a5e21d0 100755 --- a/gost.sh +++ b/gost.sh @@ -2,7 +2,7 @@ Green_font_prefix="\033[32m" && Red_font_prefix="\033[31m" && Green_background_prefix="\033[42;37m" && Font_color_suffix="\033[0m" Info="${Green_font_prefix}[信息]${Font_color_suffix}" Error="${Red_font_prefix}[错误]${Font_color_suffix}" -shell_version="1.0.3" +shell_version="1.0.4" gost_conf_path="/etc/gost/config.json" raw_conf_path="/etc/gost/rawconf" function checknew() { @@ -694,6 +694,14 @@ function show_all_conf() { str=" ss " elif [ "$is_encrypt" == "socks" ]; then str=" socks5 " + elif [ "$is_encrypt" == "cdnno" ]; then + str="不加密转发CDN" + elif [ "$is_encrypt" == "cdnws" ]; then + str="ws隧道转发CDN" + elif [ "$is_encrypt" == "cdnwss" ]; then + str="wss隧道转发CDN" + else + str="" fi echo -e " $i |$str |$s_port\t|$d_ip:$d_port"