Hi, I have a short SQL/TDS trace and I want to output certain columns into CSV. If I run this command:
I get:
However, I need to run tshark with the -2 (scan twice) option for a LUA I want to use. As a test I run the same command above with the -2 option:
and this gives this output:
So the Info column information is missing. I get a similar problem when I add a column from a field defined by my script. Is this what I should expect? Thanks and regards...Paul asked 26 Jul '15, 08:46 PaulOfford edited 26 Jul '15, 10:30 |
One Answer:
That's a bug. Please submit a bug at bugs.wireshark.org, with the above info. We don't need the capture file or Lua script, because it's a simple bug I can reproduce (and I already know how to fix). Also, the weird text output of the info column in the single-pass case is probably due to Bug 11344, which has been fixed but won't be in a general release version until 1.12.7 is released. (though you can get it now from the automated builds site) If it's not fixed in the automated builds, then it's yet another bug. :) Lastly, if what you're trying to do is use Lua to put some info into the CSV output, you don't need to use the INFO column for that - your Lua script can create a new answered 26 Jul '15, 09:34 Hadriel |
Thanks Hadriel,
I do use ProtoField for almost all LUA script output but I have a particular requirement to modify the Info field in Wireshark and I don't want to have to produce one script for Wireshark and another for tshark.
I'll report the bug.
Best regards...Paul
Created Bug 11401 - https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=11401
Hi Hadriel, Thanks for the rapid work on this. I installed the latest automated build (Wireshark-win64-1.12.7rc0-52-g9d3eb4b.exe) and it works fine.
If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information.