LUA : How can I change the 'Length' field in Wireshark from my dissector?

Hi,

i am trying to change the value of the length field(see Screenshot below!) in Wireshark from my dissector script. Is there any way to achieve this via pinfo.cols using LUA ?

image description

Cheers, Dev

Dev-ttt's avatar
1
Dev-ttt
asked 2020-07-28 19:09:59 +0000
edit flag offensive 0 remove flag close merge delete

Comments

You've failed to attach your screenshot.

Why do you need to change the length, Wireshark should dissect what is, not modify things?

grahamb's avatar grahamb (2020-07-29 08:38:25 +0000) edit
add a comment see more comments