I want to add the dissector iwarp-mpa to the decode as list of tcp using lua script. iwarp-mpa is not a registered dissector, so I can't just use local dis = Dissector.get("iwarp_mpa") and add it to tcp dissector table.
Is there any other way to add it to the decode as list of tcp using lua script?
asked 18 Apr '16, 04:36
The iwarp_mpa dissector isn't register by name so it's not going to show up in that list (I don't think). It's a heuristic dissector, though, so it should automatically be called--assuming it's over TCP and no other dissector claims the traffic.
Are you trying to do this because you've got iwarp-mpa over something other than TCP? I don't know if there's a way try calling a heuristic dissector from Lua but even if there was I don't think you could call a specific one.
Typically in this situation people open an enhancement request to have the dissector register itself by name.
answered 19 Apr '16, 14:07