From 66464645f2e287848de7768e6128783ea9fa45b3 Mon Sep 17 00:00:00 2001 From: xream Date: Tue, 24 Dec 2024 21:43:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20UDP=20=E5=8D=8F=E8=AE=AE=E8=B7=B3?= =?UTF-8?q?=E8=BF=87=E8=AE=BE=E7=BD=AE=20utls?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/package.json | 2 +- backend/src/core/proxy-utils/producers/sing-box.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/backend/package.json b/backend/package.json index 89c9e92..d514c11 100644 --- a/backend/package.json +++ b/backend/package.json @@ -1,6 +1,6 @@ { "name": "sub-store", - "version": "2.14.450", + "version": "2.14.451", "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", "main": "src/main.js", "scripts": { diff --git a/backend/src/core/proxy-utils/producers/sing-box.js b/backend/src/core/proxy-utils/producers/sing-box.js index ecc5fde..3b4f9a2 100644 --- a/backend/src/core/proxy-utils/producers/sing-box.js +++ b/backend/src/core/proxy-utils/producers/sing-box.js @@ -214,7 +214,11 @@ const tlsParser = (proxy, parsedProxy) => { proxy['reality-opts']['short-id']; parsedProxy.tls.utls = { enabled: true }; } - if (proxy['client-fingerprint'] && proxy['client-fingerprint'] !== '') + if ( + !['hysteria', 'hysteria2', 'tuic'].includes(proxy.type) && + proxy['client-fingerprint'] && + proxy['client-fingerprint'] !== '' + ) parsedProxy.tls.utls = { enabled: true, fingerprint: proxy['client-fingerprint'],