From f35ded79ad3312eaa9054074e9f5448bae555664 Mon Sep 17 00:00:00 2001 From: yuhan6665 <1588741+yuhan6665@users.noreply.github.com> Date: Mon, 12 Dec 2022 21:20:01 -0500 Subject: [PATCH] Vision only reject TCP command for VLESS-TCP-TLS UDP and MUX command currently has no flow value. Also the character is the same with or without XTLS --- proxy/vless/inbound/inbound.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/vless/inbound/inbound.go b/proxy/vless/inbound/inbound.go index c092ebef..8aa337c3 100644 --- a/proxy/vless/inbound/inbound.go +++ b/proxy/vless/inbound/inbound.go @@ -492,7 +492,7 @@ func (h *Handler) Process(ctx context.Context, network net.Network, connection s return newError(account.ID.String() + " is not able to use " + requestAddons.Flow).AtWarning() } case "", "none": - if accountFlow == vless.XRV && !allowNoneFlow { + if accountFlow == vless.XRV && !allowNoneFlow && request.Command == protocol.RequestCommandTCP { return newError(account.ID.String() + " is not able to use " + vless.XRV + ". Note the pure tls proxy has certain tls in tls characters. Append \",none\" in flow to suppress").AtWarning() }