This commit is contained in:
bol-van
2026-03-01 09:48:18 +03:00
parent 038f64ddad
commit 69e8bb3c7f
4 changed files with 6 additions and 11 deletions
+1 -1
View File
@@ -1210,8 +1210,8 @@ function udplen(ctx, desync)
else
desync.dis.payload = string.sub(desync.dis.payload,1,len+inc)
DLOG("udplen: "..len.." => "..#desync.dis.payload)
return VERDICT_MODIFY
end
return VERDICT_MODIFY
end
end
end
+1
View File
@@ -780,6 +780,7 @@ function test_csum()
print( raw==udpb and "UDP RECONSTRUCT OK" or "UDP RECONSTRUCT FAILED" )
test_assert(raw==udpb)
ip.ip_p = IPPROTO_UDP
raw = reconstruct_dissect({ip=ip, udp=udp, payload=payload})
dis1 = dissect(raw)
ip.ip_p = IPPROTO_UDP