From 956f9aaa6116e0dec7fca7a7c0f08de848b4e1af Mon Sep 17 00:00:00 2001 From: 233boy <31657650+233boy@users.noreply.github.com> Date: Tue, 4 Jan 2022 20:44:23 +0800 Subject: [PATCH] fix bug --- config/server/dynamic/http.json | 6 ++---- config/server/dynamic/kcp.json | 6 ++---- config/server/dynamic/quic.json | 6 ++---- config/server/dynamic/tcp.json | 6 ++---- config/server/dynamic/ws.json | 6 ++---- config/server/h2.json | 6 ++---- config/server/http.json | 6 ++---- config/server/kcp.json | 6 ++---- config/server/quic.json | 6 ++---- config/server/tcp.json | 6 ++---- config/server/vless_ws.json | 6 ++---- config/server/ws.json | 6 ++---- src/download-v2ray.sh | 1 + v2ray.sh | 2 +- 14 files changed, 26 insertions(+), 49 deletions(-) diff --git a/config/server/dynamic/http.json b/config/server/dynamic/http.json index bf5f85d..f06a667 100644 --- a/config/server/dynamic/http.json +++ b/config/server/dynamic/http.json @@ -117,11 +117,9 @@ ], "dns": { "servers": [ - "https+local://1.1.1.1/dns-query", - "1.1.1.1", - "1.0.0.1", + "https+local://8.8.8.8/dns-query", "8.8.8.8", - "8.8.4.4", + "1.1.1.1", "localhost" ] }, diff --git a/config/server/dynamic/kcp.json b/config/server/dynamic/kcp.json index 5e8fb16..d72f86c 100644 --- a/config/server/dynamic/kcp.json +++ b/config/server/dynamic/kcp.json @@ -89,11 +89,9 @@ ], "dns": { "servers": [ - "https+local://1.1.1.1/dns-query", - "1.1.1.1", - "1.0.0.1", + "https+local://8.8.8.8/dns-query", "8.8.8.8", - "8.8.4.4", + "1.1.1.1", "localhost" ] }, diff --git a/config/server/dynamic/quic.json b/config/server/dynamic/quic.json index 73dda58..83e98f3 100644 --- a/config/server/dynamic/quic.json +++ b/config/server/dynamic/quic.json @@ -91,11 +91,9 @@ ], "dns": { "servers": [ - "https+local://1.1.1.1/dns-query", - "1.1.1.1", - "1.0.0.1", + "https+local://8.8.8.8/dns-query", "8.8.8.8", - "8.8.4.4", + "1.1.1.1", "localhost" ] }, diff --git a/config/server/dynamic/tcp.json b/config/server/dynamic/tcp.json index 9a8e049..d1eeca3 100644 --- a/config/server/dynamic/tcp.json +++ b/config/server/dynamic/tcp.json @@ -76,11 +76,9 @@ ], "dns": { "servers": [ - "https+local://1.1.1.1/dns-query", - "1.1.1.1", - "1.0.0.1", + "https+local://8.8.8.8/dns-query", "8.8.8.8", - "8.8.4.4", + "1.1.1.1", "localhost" ] }, diff --git a/config/server/dynamic/ws.json b/config/server/dynamic/ws.json index 31ecee3..bd99b35 100644 --- a/config/server/dynamic/ws.json +++ b/config/server/dynamic/ws.json @@ -79,11 +79,9 @@ ], "dns": { "servers": [ - "https+local://1.1.1.1/dns-query", - "1.1.1.1", - "1.0.0.1", + "https+local://8.8.8.8/dns-query", "8.8.8.8", - "8.8.4.4", + "1.1.1.1", "localhost" ] }, diff --git a/config/server/h2.json b/config/server/h2.json index fc52a20..ddadb9f 100644 --- a/config/server/h2.json +++ b/config/server/h2.json @@ -72,11 +72,9 @@ ], "dns": { "servers": [ - "https+local://1.1.1.1/dns-query", - "1.1.1.1", - "1.0.0.1", + "https+local://8.8.8.8/dns-query", "8.8.8.8", - "8.8.4.4", + "1.1.1.1", "localhost" ] }, diff --git a/config/server/http.json b/config/server/http.json index 666d313..fa4b5c4 100644 --- a/config/server/http.json +++ b/config/server/http.json @@ -90,11 +90,9 @@ ], "dns": { "servers": [ - "https+local://1.1.1.1/dns-query", - "1.1.1.1", - "1.0.0.1", + "https+local://8.8.8.8/dns-query", "8.8.8.8", - "8.8.4.4", + "1.1.1.1", "localhost" ] }, diff --git a/config/server/kcp.json b/config/server/kcp.json index e282d95..45cd3e9 100644 --- a/config/server/kcp.json +++ b/config/server/kcp.json @@ -62,11 +62,9 @@ ], "dns": { "servers": [ - "https+local://1.1.1.1/dns-query", - "1.1.1.1", - "1.0.0.1", + "https+local://8.8.8.8/dns-query", "8.8.8.8", - "8.8.4.4", + "1.1.1.1", "localhost" ] }, diff --git a/config/server/quic.json b/config/server/quic.json index 61cb30b..e0344f4 100644 --- a/config/server/quic.json +++ b/config/server/quic.json @@ -63,11 +63,9 @@ ], "dns": { "servers": [ - "https+local://1.1.1.1/dns-query", - "1.1.1.1", - "1.0.0.1", + "https+local://8.8.8.8/dns-query", "8.8.8.8", - "8.8.4.4", + "1.1.1.1", "localhost" ] }, diff --git a/config/server/tcp.json b/config/server/tcp.json index bfff340..1e36266 100644 --- a/config/server/tcp.json +++ b/config/server/tcp.json @@ -57,11 +57,9 @@ ], "dns": { "servers": [ - "https+local://1.1.1.1/dns-query", - "1.1.1.1", - "1.0.0.1", + "https+local://8.8.8.8/dns-query", "8.8.8.8", - "8.8.4.4", + "1.1.1.1", "localhost" ] }, diff --git a/config/server/vless_ws.json b/config/server/vless_ws.json index 32e0263..04da3d4 100644 --- a/config/server/vless_ws.json +++ b/config/server/vless_ws.json @@ -59,11 +59,9 @@ ], "dns": { "servers": [ - "https+local://1.1.1.1/dns-query", - "1.1.1.1", - "1.0.0.1", + "https+local://8.8.8.8/dns-query", "8.8.8.8", - "8.8.4.4", + "1.1.1.1", "localhost" ] }, diff --git a/config/server/ws.json b/config/server/ws.json index 2fc7813..c32190e 100644 --- a/config/server/ws.json +++ b/config/server/ws.json @@ -57,11 +57,9 @@ ], "dns": { "servers": [ - "https+local://1.1.1.1/dns-query", - "1.1.1.1", - "1.0.0.1", + "https+local://8.8.8.8/dns-query", "8.8.8.8", - "8.8.4.4", + "1.1.1.1", "localhost" ] }, diff --git a/src/download-v2ray.sh b/src/download-v2ray.sh index 770ccb7..1d5f58a 100644 --- a/src/download-v2ray.sh +++ b/src/download-v2ray.sh @@ -50,6 +50,7 @@ Type=simple # More discussion at https://github.com/v2ray/v2ray-core/issues/1011 User=root #User=nobody +Environment="V2RAY_VMESS_AEAD_FORCED=false" CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE NoNewPrivileges=true diff --git a/v2ray.sh b/v2ray.sh index 32af270..9a1888e 100644 --- a/v2ray.sh +++ b/v2ray.sh @@ -10,7 +10,7 @@ none='\e[0m' # Root [[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1 -_version="v3.45" +_version="v3.46" cmd="apt-get"