Template
1
0
mirror of https://github.com/bol-van/zapret2.git synced 2026-03-13 22:03:09 +00:00
This commit is contained in:
bol-van
2026-03-06 21:35:42 +03:00
parent 2ec512af17
commit d3b3011000
2 changed files with 7 additions and 2 deletions

View File

@@ -390,7 +390,7 @@ function syndata(ctx, desync)
apply_fooling(desync, dis)
if desync.arg.tls_mod then
local pl = tls_mod_shim(desync, dis.payload, desync.arg.tls_mod, nil)
if pl then desync.payload = pl end
if pl then dis.payload = pl end
end
if b_debug then DLOG("syndata: "..hexdump_dlog(dis.payload)) end
if rawsend_dissect_ipfrag(dis, desync_opts(desync)) then

View File

@@ -175,7 +175,12 @@ end
-- arg : server=[0|1] - override server mode. by default use "--server" nfqws2 parameter
function udp2icmp(ctx, desync)
local dataxor
local bserver = desync.arg.server and (desync.arg.server~="0") or b_server
local bserver
if desync.arg.server then
bserver = desync.arg.server~="0"
else
bserver = b_server
end
local function one_byte_arg(name)
if desync.arg[name] then