Hi, I'm adding some code to a LUA Wireshark postdissector script and I need to check if "Allow subdissector to reassemble TCP streams" is enabled in Preferences -> Protocols -> TCP I have other areas of code where I create and later read preference values for my subdissector protocol, e.g.
This all works fine. I just can't figure out how to read compiled dissector preferences. How can I read Thanks and regards...Paul asked 06 Sep '14, 02:36 PaulOfford |
One Answer:
There does not appear to be a way to read another dissector's preference from Lua. But why do you want to? No other dissector reads this preference. If you really want it, you could always submit an enhancement request (with a use case). answered 08 Sep '14, 08:16 JeffMorriss ♦ |
Yeah, I also don't think there's a way to read a pre-existing preference currently.
Thanks. That's a shame. The reason I need to read it is because I need different program logic if TCP subdissector reassembly is disabled.
Best regards...Paul
It looks like someone opened a bug report for this. See bug 11479.