I was looking into doing some post processing work on some wireshark logs I captured containing VMF packets. I noticed that packets I found that the logs outputted from wireshark have a 255 character limit per column and some packet data is being truncated. The issue is present in the summary as well when I'm doing live data captures. I'm using an older version of wireshark(v1.10.3). Would updating to a newer version of wireshark have a much larger limit? asked 14 Jun '17, 08:32 MartinGD |
One Answer:
From the latest column-info.h:
As far as I can tell, these are the exact same values that were specified in 1.10 though, so if the column data of interest is anything but the Info column, you'll still be limited to To avoid truncation, you could try to:
answered 14 Jun '17, 10:34 cmaynard ♦♦ |
I'm not sure if the _ws.col.Foo format is supported in 1.10.
Right, I think it was originally just
col.Foo
back then. The_ws.
prefix was added with the release of Wireshark 1.12.0.Also keep in mind that any given proto item's string representation is limited to 240 chars--I think that will also apply to tshark's
-e
output.Ah good point. I suppose the idea won't work without increasing that value too.
Thanks for the input! Editing COL_MAX_LEN and recompiling wireshark seems to of done the trick.