From af60aac5dd7e45a84685465316c6d5f58989a57e Mon Sep 17 00:00:00 2001 From: 233boy <31657650+233boy@users.noreply.github.com> Date: Thu, 7 Nov 2019 10:38:15 +0800 Subject: [PATCH] enable sniffing --- config/client/h2.json | 4 ++++ config/client/http.json | 4 ++++ config/client/kcp.json | 4 ++++ config/client/quic.json | 4 ++++ config/client/tcp.json | 4 ++++ config/client/ws.json | 4 ++++ config/client/ws_tls.json | 4 ++++ v2ray.sh | 2 +- 8 files changed, 29 insertions(+), 1 deletion(-) diff --git a/config/client/h2.json b/config/client/h2.json index c11edcf..277d286 100644 --- a/config/client/h2.json +++ b/config/client/h2.json @@ -54,6 +54,10 @@ "network": "tcp,udp", "timeout": 0, "followRedirect": true + }, + "sniffing": { + "enabled": true, + "destOverride": ["http", "tls"] } }, { diff --git a/config/client/http.json b/config/client/http.json index 4dd7fcc..f33004a 100644 --- a/config/client/http.json +++ b/config/client/http.json @@ -84,6 +84,10 @@ "network": "tcp,udp", "timeout": 0, "followRedirect": true + }, + "sniffing": { + "enabled": true, + "destOverride": ["http", "tls"] } }, { diff --git a/config/client/kcp.json b/config/client/kcp.json index 4a6f583..04247d0 100644 --- a/config/client/kcp.json +++ b/config/client/kcp.json @@ -55,6 +55,10 @@ "network": "tcp,udp", "timeout": 0, "followRedirect": true + }, + "sniffing": { + "enabled": true, + "destOverride": ["http", "tls"] } }, { diff --git a/config/client/quic.json b/config/client/quic.json index 26eef04..9877e79 100644 --- a/config/client/quic.json +++ b/config/client/quic.json @@ -54,6 +54,10 @@ "network": "tcp,udp", "timeout": 0, "followRedirect": true + }, + "sniffing": { + "enabled": true, + "destOverride": ["http", "tls"] } }, { diff --git a/config/client/tcp.json b/config/client/tcp.json index e2493a9..6e7756a 100644 --- a/config/client/tcp.json +++ b/config/client/tcp.json @@ -44,6 +44,10 @@ "network": "tcp,udp", "timeout": 0, "followRedirect": true + }, + "sniffing": { + "enabled": true, + "destOverride": ["http", "tls"] } }, { diff --git a/config/client/ws.json b/config/client/ws.json index 55d842b..38d2e3c 100644 --- a/config/client/ws.json +++ b/config/client/ws.json @@ -47,6 +47,10 @@ "network": "tcp,udp", "timeout": 0, "followRedirect": true + }, + "sniffing": { + "enabled": true, + "destOverride": ["http", "tls"] } }, { diff --git a/config/client/ws_tls.json b/config/client/ws_tls.json index 1782dfb..f53ab58 100644 --- a/config/client/ws_tls.json +++ b/config/client/ws_tls.json @@ -57,6 +57,10 @@ "network": "tcp,udp", "timeout": 0, "followRedirect": true + }, + "sniffing": { + "enabled": true, + "destOverride": ["http", "tls"] } }, { diff --git a/v2ray.sh b/v2ray.sh index 240b7e7..7a1d26c 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.22" +_version="v3.23" cmd="apt-get"