From af7a6f6c104fbc4c29d9ad13d9b93fc7ada80389 Mon Sep 17 00:00:00 2001 From: bol-van Date: Mon, 29 Dec 2025 13:10:35 +0300 Subject: [PATCH] zapret-antidpi: fix sniext add case --- lua/zapret-antidpi.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/zapret-antidpi.lua b/lua/zapret-antidpi.lua index 06c4372..a6219ec 100644 --- a/lua/zapret-antidpi.lua +++ b/lua/zapret-antidpi.lua @@ -320,6 +320,7 @@ function tls_client_hello_clone(ctx, desync) if not idx_sni then DLOG("tls_client_hello_clone: no SNI extension. adding") table.insert(tdis.handshake[TLS_HANDSHAKE_TYPE_CLIENT].dis.ext, 1, { type = TLS_EXT_SERVER_NAME, dis = { list = {} } } ) + idx_sni = 1 end end if desync.arg.sni_del_ext then