From fd55a16550f888054e51901528fc350928f207a5 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Fri, 7 Mar 2025 08:05:23 +0000 Subject: [PATCH] Update Shadowsocks to 1.13.0 --- debian9-x86_64.sh | 2 +- shadowsocks-go.server.json | 14 ++++++-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/debian9-x86_64.sh b/debian9-x86_64.sh index 62adc75..631e431 100755 --- a/debian9-x86_64.sh +++ b/debian9-x86_64.sh @@ -95,7 +95,7 @@ EASYRSA_VERSION="3.0.6" #fi IPROUTE2_VERSION="29da83f89f6e1fe528c59131a01f5d43bcd0a000" SHADOWSOCKS_BINARY_VERSION="3.3.5-3" -SHADOWSOCKS_GO_VERSION="1.11.3" +SHADOWSOCKS_GO_VERSION="1.13.0" DEFAULT_USER="openmptcprouter" VPS_DOMAIN=${VPS_DOMAIN:-$(wget -4 -qO- -T 2 http://hostname.openmptcprouter.com)} VPSPATH="server-test" diff --git a/shadowsocks-go.server.json b/shadowsocks-go.server.json index 4055a2f..7d4704a 100644 --- a/shadowsocks-go.server.json +++ b/shadowsocks-go.server.json @@ -26,14 +26,12 @@ "api": { "enabled": true, "debugPprof": false, - "enableTrustedProxyCheck": false, "trustedProxies": [], - "proxyHeader": "X-Forwarded-For", - "listen": "127.0.0.1:65279", - "certFile": "", - "keyFile": "", - "clientCertFile": "", - "secretPath": "", - "fiberConfigPath": "" + "listeners": [ + { + "network": "tcp", + "address": "127.0.0.1:65279" + } + ] } } \ No newline at end of file