From 5dd0aac87bd4afc4959a2a49be406c299847f26c Mon Sep 17 00:00:00 2001 From: 233boy <31657650+233boy@users.noreply.github.com> Date: Sun, 29 Dec 2019 19:06:36 +0800 Subject: [PATCH 1/4] support DOH --- config/server/dynamic/http.json | 1 + config/server/dynamic/kcp.json | 1 + config/server/dynamic/quic.json | 1 + config/server/dynamic/tcp.json | 1 + config/server/dynamic/ws.json | 1 + config/server/h2.json | 1 + config/server/http.json | 1 + config/server/kcp.json | 1 + config/server/quic.json | 1 + config/server/tcp.json | 1 + config/server/ws.json | 1 + v2ray.sh | 2 +- 12 files changed, 12 insertions(+), 1 deletion(-) diff --git a/config/server/dynamic/http.json b/config/server/dynamic/http.json index 4661469..f9ec10c 100644 --- a/config/server/dynamic/http.json +++ b/config/server/dynamic/http.json @@ -119,6 +119,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/dynamic/kcp.json b/config/server/dynamic/kcp.json index 48e3b8b..ec0be0c 100644 --- a/config/server/dynamic/kcp.json +++ b/config/server/dynamic/kcp.json @@ -91,6 +91,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/dynamic/quic.json b/config/server/dynamic/quic.json index dad9718..aa242b7 100644 --- a/config/server/dynamic/quic.json +++ b/config/server/dynamic/quic.json @@ -93,6 +93,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/dynamic/tcp.json b/config/server/dynamic/tcp.json index 7c4d90b..66981a9 100644 --- a/config/server/dynamic/tcp.json +++ b/config/server/dynamic/tcp.json @@ -78,6 +78,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/dynamic/ws.json b/config/server/dynamic/ws.json index 51c889a..a3f3700 100644 --- a/config/server/dynamic/ws.json +++ b/config/server/dynamic/ws.json @@ -81,6 +81,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/h2.json b/config/server/h2.json index 6be2a38..9387ae4 100644 --- a/config/server/h2.json +++ b/config/server/h2.json @@ -74,6 +74,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/http.json b/config/server/http.json index 77e1a8b..595afa9 100644 --- a/config/server/http.json +++ b/config/server/http.json @@ -92,6 +92,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/kcp.json b/config/server/kcp.json index bca8dad..891be95 100644 --- a/config/server/kcp.json +++ b/config/server/kcp.json @@ -64,6 +64,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/quic.json b/config/server/quic.json index 4da010a..8006250 100644 --- a/config/server/quic.json +++ b/config/server/quic.json @@ -65,6 +65,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/tcp.json b/config/server/tcp.json index 01819bf..c7548e0 100644 --- a/config/server/tcp.json +++ b/config/server/tcp.json @@ -59,6 +59,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/config/server/ws.json b/config/server/ws.json index 4a45f22..41c42cb 100644 --- a/config/server/ws.json +++ b/config/server/ws.json @@ -59,6 +59,7 @@ ], "dns": { "server": [ + "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", "8.8.8.8", diff --git a/v2ray.sh b/v2ray.sh index 1420c13..29732d1 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.26" +_version="v3.27" cmd="apt-get" From 35cc43c045e9d19dcf9ca170492876409639b52a Mon Sep 17 00:00:00 2001 From: 233boy <31657650+233boy@users.noreply.github.com> Date: Mon, 30 Dec 2019 19:10:48 +0800 Subject: [PATCH 2/4] fix error --- config/server/dynamic/http.json | 14 ++++++-------- config/server/dynamic/kcp.json | 14 ++++++-------- config/server/dynamic/quic.json | 14 ++++++-------- config/server/dynamic/tcp.json | 14 ++++++-------- config/server/dynamic/ws.json | 14 ++++++-------- config/server/h2.json | 14 ++++++-------- config/server/http.json | 14 ++++++-------- config/server/kcp.json | 12 +++++------- config/server/quic.json | 12 +++++------- config/server/tcp.json | 14 ++++++-------- config/server/ws.json | 14 ++++++-------- v2ray.sh | 2 +- 12 files changed, 65 insertions(+), 87 deletions(-) diff --git a/config/server/dynamic/http.json b/config/server/dynamic/http.json index f9ec10c..56cd516 100644 --- a/config/server/dynamic/http.json +++ b/config/server/dynamic/http.json @@ -97,18 +97,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" - }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, + }, { "protocol": "mtproto", "settings": {}, @@ -118,7 +116,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/dynamic/kcp.json b/config/server/dynamic/kcp.json index ec0be0c..7f869a9 100644 --- a/config/server/dynamic/kcp.json +++ b/config/server/dynamic/kcp.json @@ -69,18 +69,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" - }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, + }, { "protocol": "mtproto", "settings": {}, @@ -90,7 +88,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/dynamic/quic.json b/config/server/dynamic/quic.json index aa242b7..788b94a 100644 --- a/config/server/dynamic/quic.json +++ b/config/server/dynamic/quic.json @@ -71,18 +71,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" - }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, + }, { "protocol": "mtproto", "settings": {}, @@ -92,7 +90,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/dynamic/tcp.json b/config/server/dynamic/tcp.json index 66981a9..a504966 100644 --- a/config/server/dynamic/tcp.json +++ b/config/server/dynamic/tcp.json @@ -56,18 +56,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" - }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, + }, { "protocol": "mtproto", "settings": {}, @@ -77,7 +75,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/dynamic/ws.json b/config/server/dynamic/ws.json index a3f3700..fa5c01e 100644 --- a/config/server/dynamic/ws.json +++ b/config/server/dynamic/ws.json @@ -59,18 +59,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" - }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, + }, { "protocol": "mtproto", "settings": {}, @@ -80,7 +78,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/h2.json b/config/server/h2.json index 9387ae4..0f6dc38 100644 --- a/config/server/h2.json +++ b/config/server/h2.json @@ -52,18 +52,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" - }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, + }, { "protocol": "mtproto", "settings": {}, @@ -73,7 +71,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/http.json b/config/server/http.json index 595afa9..fb04dec 100644 --- a/config/server/http.json +++ b/config/server/http.json @@ -70,18 +70,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" - }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, + }, { "protocol": "mtproto", "settings": {}, @@ -91,7 +89,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/kcp.json b/config/server/kcp.json index 891be95..150c32f 100644 --- a/config/server/kcp.json +++ b/config/server/kcp.json @@ -42,18 +42,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, { "protocol": "mtproto", "settings": {}, @@ -63,7 +61,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/quic.json b/config/server/quic.json index 8006250..a94929a 100644 --- a/config/server/quic.json +++ b/config/server/quic.json @@ -43,18 +43,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, { "protocol": "mtproto", "settings": {}, @@ -64,7 +62,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/tcp.json b/config/server/tcp.json index c7548e0..bb9728a 100644 --- a/config/server/tcp.json +++ b/config/server/tcp.json @@ -37,18 +37,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" - }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, + }, { "protocol": "mtproto", "settings": {}, @@ -58,7 +56,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/config/server/ws.json b/config/server/ws.json index 41c42cb..50bb4c6 100644 --- a/config/server/ws.json +++ b/config/server/ws.json @@ -37,18 +37,16 @@ "outbounds": [ { "protocol": "freedom", - "settings": {} + "settings": { + "domainStrategy": "UseIP" + }, + "tag": "direct" }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" - }, - { - "protocol": "freedom", - "settings": {}, - "tag": "direct" - }, + }, { "protocol": "mtproto", "settings": {}, @@ -58,7 +56,7 @@ // ], "dns": { - "server": [ + "servers": [ "https+local://1.1.1.1/dns-query", "1.1.1.1", "1.0.0.1", diff --git a/v2ray.sh b/v2ray.sh index 29732d1..5b4a40d 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.27" +_version="v3.28" cmd="apt-get" From 1b7042f6f2e067374a6c7f68e94508607fca3f4d Mon Sep 17 00:00:00 2001 From: 233boy <31657650+233boy@users.noreply.github.com> Date: Tue, 31 Dec 2019 11:53:45 +0800 Subject: [PATCH 3/4] update clients dns --- config/client/h2.json | 15 +++++++++++---- config/client/http.json | 15 +++++++++++---- config/client/kcp.json | 15 +++++++++++---- config/client/quic.json | 15 +++++++++++---- config/client/tcp.json | 15 +++++++++++---- config/client/ws.json | 15 +++++++++++---- config/client/ws_tls.json | 15 +++++++++++---- src/download-v2ray.sh | 25 ++++++------------------- v2ray.sh | 2 +- 9 files changed, 84 insertions(+), 48 deletions(-) diff --git a/config/client/h2.json b/config/client/h2.json index 277d286..d7a0d39 100644 --- a/config/client/h2.json +++ b/config/client/h2.json @@ -90,17 +90,24 @@ ], "dns": { "servers": [ - "1.1.1.1", - "1.0.0.1", { "address": "119.29.29.29", "port": 53, "domains": [ - "geosite:cn" + "geosite:cn" + ], + "expectIPs": [ + "geoip:cn" + ] + }, + { + "address": "1.1.1.1", + "port": 53, + "domains": [ + "geosite:geolocation-!cn" ] }, "8.8.8.8", - "8.8.4.4", "localhost" ] }, diff --git a/config/client/http.json b/config/client/http.json index f33004a..ac87af1 100644 --- a/config/client/http.json +++ b/config/client/http.json @@ -120,17 +120,24 @@ ], "dns": { "servers": [ - "1.1.1.1", - "1.0.0.1", { "address": "119.29.29.29", "port": 53, "domains": [ - "geosite:cn" + "geosite:cn" + ], + "expectIPs": [ + "geoip:cn" + ] + }, + { + "address": "1.1.1.1", + "port": 53, + "domains": [ + "geosite:geolocation-!cn" ] }, "8.8.8.8", - "8.8.4.4", "localhost" ] }, diff --git a/config/client/kcp.json b/config/client/kcp.json index 04247d0..dafda17 100644 --- a/config/client/kcp.json +++ b/config/client/kcp.json @@ -91,17 +91,24 @@ ], "dns": { "servers": [ - "1.1.1.1", - "1.0.0.1", { "address": "119.29.29.29", "port": 53, "domains": [ - "geosite:cn" + "geosite:cn" + ], + "expectIPs": [ + "geoip:cn" + ] + }, + { + "address": "1.1.1.1", + "port": 53, + "domains": [ + "geosite:geolocation-!cn" ] }, "8.8.8.8", - "8.8.4.4", "localhost" ] }, diff --git a/config/client/quic.json b/config/client/quic.json index 9877e79..01b2c06 100644 --- a/config/client/quic.json +++ b/config/client/quic.json @@ -90,17 +90,24 @@ ], "dns": { "servers": [ - "1.1.1.1", - "1.0.0.1", { "address": "119.29.29.29", "port": 53, "domains": [ - "geosite:cn" + "geosite:cn" + ], + "expectIPs": [ + "geoip:cn" + ] + }, + { + "address": "1.1.1.1", + "port": 53, + "domains": [ + "geosite:geolocation-!cn" ] }, "8.8.8.8", - "8.8.4.4", "localhost" ] }, diff --git a/config/client/tcp.json b/config/client/tcp.json index 6e7756a..687d80e 100644 --- a/config/client/tcp.json +++ b/config/client/tcp.json @@ -80,17 +80,24 @@ ], "dns": { "servers": [ - "1.1.1.1", - "1.0.0.1", { "address": "119.29.29.29", "port": 53, "domains": [ - "geosite:cn" + "geosite:cn" + ], + "expectIPs": [ + "geoip:cn" + ] + }, + { + "address": "1.1.1.1", + "port": 53, + "domains": [ + "geosite:geolocation-!cn" ] }, "8.8.8.8", - "8.8.4.4", "localhost" ] }, diff --git a/config/client/ws.json b/config/client/ws.json index 38d2e3c..108bc49 100644 --- a/config/client/ws.json +++ b/config/client/ws.json @@ -83,17 +83,24 @@ ], "dns": { "servers": [ - "1.1.1.1", - "1.0.0.1", { "address": "119.29.29.29", "port": 53, "domains": [ - "geosite:cn" + "geosite:cn" + ], + "expectIPs": [ + "geoip:cn" + ] + }, + { + "address": "1.1.1.1", + "port": 53, + "domains": [ + "geosite:geolocation-!cn" ] }, "8.8.8.8", - "8.8.4.4", "localhost" ] }, diff --git a/config/client/ws_tls.json b/config/client/ws_tls.json index f53ab58..85c1625 100644 --- a/config/client/ws_tls.json +++ b/config/client/ws_tls.json @@ -93,17 +93,24 @@ ], "dns": { "servers": [ - "1.1.1.1", - "1.0.0.1", { "address": "119.29.29.29", "port": 53, "domains": [ - "geosite:cn" + "geosite:cn" + ], + "expectIPs": [ + "geoip:cn" + ] + }, + { + "address": "1.1.1.1", + "port": 53, + "domains": [ + "geosite:geolocation-!cn" ] }, "8.8.8.8", - "8.8.4.4", "localhost" ] }, diff --git a/src/download-v2ray.sh b/src/download-v2ray.sh index 4cc285e..5a5ed5a 100644 --- a/src/download-v2ray.sh +++ b/src/download-v2ray.sh @@ -15,9 +15,7 @@ _get_latest_version() { _download_v2ray_file() { _get_latest_version - [[ -d /tmp/v2ray ]] && rm -rf /tmp/v2ray - mkdir -p /tmp/v2ray - v2ray_tmp_file="/tmp/v2ray/v2ray.zip" + v2ray_tmp_file="/tmp/v2ray.zip" v2ray_download_link="https://github.com/v2ray/v2ray-core/releases/download/$v2ray_latest_ver/v2ray-linux-${v2ray_bit}.zip" if ! wget --no-check-certificate -O "$v2ray_tmp_file" $v2ray_download_link; then @@ -26,26 +24,15 @@ _download_v2ray_file() { " && exit 1 fi - unzip $v2ray_tmp_file -d "/tmp/v2ray/" - mkdir -p /usr/bin/v2ray - cp -f "/tmp/v2ray/v2ray" "/usr/bin/v2ray/v2ray" - chmod +x "/usr/bin/v2ray/v2ray" + unzip -o $v2ray_tmp_file -d "/usr/bin/v2ray/" + chmod +x /usr/bin/v2ray/{v2ray,v2ctl} echo "alias v2ray=$_v2ray_sh" >>/root/.bashrc - cp -f "/tmp/v2ray/v2ctl" "/usr/bin/v2ray/v2ctl" - chmod +x "/usr/bin/v2ray/v2ctl" } _install_v2ray_service() { - if [[ $systemd ]]; then - cp -f "/tmp/v2ray/systemd/v2ray.service" "/lib/systemd/system/" - sed -i "s/on-failure/always/" /lib/systemd/system/v2ray.service - systemctl enable v2ray - else - apt-get install -y daemon - cp "/tmp/v2ray/systemv/v2ray" "/etc/init.d/v2ray" - chmod +x "/etc/init.d/v2ray" - update-rc.d -f v2ray defaults - fi + cp -f "/usr/bin/v2ray/systemd/v2ray.service" "/lib/systemd/system/" + sed -i "s/on-failure/always/" /lib/systemd/system/v2ray.service + systemctl enable v2ray } _update_v2ray_version() { diff --git a/v2ray.sh b/v2ray.sh index 5b4a40d..aff40f1 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.28" +_version="v3.29" cmd="apt-get" From 0587560602d66ec3516d7e09c7c1364a0f9ec483 Mon Sep 17 00:00:00 2001 From: 233boy <31657650+233boy@users.noreply.github.com> Date: Sat, 4 Jan 2020 12:21:28 +0800 Subject: [PATCH 4/4] update config --- config/server/dynamic/http.json | 5 +---- config/server/dynamic/kcp.json | 5 +---- config/server/dynamic/quic.json | 5 +---- config/server/dynamic/tcp.json | 5 +---- config/server/dynamic/ws.json | 5 +---- config/server/h2.json | 5 +---- config/server/http.json | 5 +---- config/server/kcp.json | 5 +---- config/server/quic.json | 5 +---- config/server/tcp.json | 5 +---- config/server/ws.json | 5 +---- 11 files changed, 11 insertions(+), 44 deletions(-) diff --git a/config/server/dynamic/http.json b/config/server/dynamic/http.json index 56cd516..bf5f85d 100644 --- a/config/server/dynamic/http.json +++ b/config/server/dynamic/http.json @@ -166,9 +166,6 @@ "uplinkCapacity": 100, "downlinkCapacity": 100, "congestion": true - }, - "sockopt": { - "tcpFastOpen": true - } + } } } \ No newline at end of file diff --git a/config/server/dynamic/kcp.json b/config/server/dynamic/kcp.json index 7f869a9..5e8fb16 100644 --- a/config/server/dynamic/kcp.json +++ b/config/server/dynamic/kcp.json @@ -138,9 +138,6 @@ "uplinkCapacity": 100, "downlinkCapacity": 100, "congestion": true - }, - "sockopt": { - "tcpFastOpen": true - } + } } } \ No newline at end of file diff --git a/config/server/dynamic/quic.json b/config/server/dynamic/quic.json index 788b94a..73dda58 100644 --- a/config/server/dynamic/quic.json +++ b/config/server/dynamic/quic.json @@ -140,9 +140,6 @@ "uplinkCapacity": 100, "downlinkCapacity": 100, "congestion": true - }, - "sockopt": { - "tcpFastOpen": true - } + } } } \ No newline at end of file diff --git a/config/server/dynamic/tcp.json b/config/server/dynamic/tcp.json index a504966..9a8e049 100644 --- a/config/server/dynamic/tcp.json +++ b/config/server/dynamic/tcp.json @@ -125,9 +125,6 @@ "uplinkCapacity": 100, "downlinkCapacity": 100, "congestion": true - }, - "sockopt": { - "tcpFastOpen": true - } + } } } \ No newline at end of file diff --git a/config/server/dynamic/ws.json b/config/server/dynamic/ws.json index fa5c01e..31ecee3 100644 --- a/config/server/dynamic/ws.json +++ b/config/server/dynamic/ws.json @@ -128,9 +128,6 @@ "uplinkCapacity": 100, "downlinkCapacity": 100, "congestion": true - }, - "sockopt": { - "tcpFastOpen": true - } + } } } \ No newline at end of file diff --git a/config/server/h2.json b/config/server/h2.json index 0f6dc38..fc52a20 100644 --- a/config/server/h2.json +++ b/config/server/h2.json @@ -121,9 +121,6 @@ "uplinkCapacity": 100, "downlinkCapacity": 100, "congestion": true - }, - "sockopt": { - "tcpFastOpen": true - } + } } } \ No newline at end of file diff --git a/config/server/http.json b/config/server/http.json index fb04dec..666d313 100644 --- a/config/server/http.json +++ b/config/server/http.json @@ -139,9 +139,6 @@ "uplinkCapacity": 100, "downlinkCapacity": 100, "congestion": true - }, - "sockopt": { - "tcpFastOpen": true - } + } } } \ No newline at end of file diff --git a/config/server/kcp.json b/config/server/kcp.json index 150c32f..e282d95 100644 --- a/config/server/kcp.json +++ b/config/server/kcp.json @@ -111,9 +111,6 @@ "uplinkCapacity": 100, "downlinkCapacity": 100, "congestion": true - }, - "sockopt": { - "tcpFastOpen": true - } + } } } \ No newline at end of file diff --git a/config/server/quic.json b/config/server/quic.json index a94929a..61cb30b 100644 --- a/config/server/quic.json +++ b/config/server/quic.json @@ -112,9 +112,6 @@ "uplinkCapacity": 100, "downlinkCapacity": 100, "congestion": true - }, - "sockopt": { - "tcpFastOpen": true - } + } } } \ No newline at end of file diff --git a/config/server/tcp.json b/config/server/tcp.json index bb9728a..bfff340 100644 --- a/config/server/tcp.json +++ b/config/server/tcp.json @@ -106,9 +106,6 @@ "uplinkCapacity": 100, "downlinkCapacity": 100, "congestion": true - }, - "sockopt": { - "tcpFastOpen": true - } + } } } \ No newline at end of file diff --git a/config/server/ws.json b/config/server/ws.json index 50bb4c6..2fc7813 100644 --- a/config/server/ws.json +++ b/config/server/ws.json @@ -106,9 +106,6 @@ "uplinkCapacity": 100, "downlinkCapacity": 100, "congestion": true - }, - "sockopt": { - "tcpFastOpen": true - } + } } } \ No newline at end of file