Hello, from my protocol I call, depending on the data other protocols ... most of it eth or fix. I made dissector handle
and used find_dissector on it.
when I do
everything is fine. The data is decoded as eth. But when I do
wireshark crashes with
It can not be a problem with the handler or other code parts from me because when I change
to tcp or another protocol
it works fine with the data. Is there a problem with the fix protocol? Any Ideas? Thanks asked 26 Nov '13, 10:00 Gatherer |
2 Answers:
You are probably using a version of Wireshark where the fix dissector does not register by name. The fix dissector in trunk has
Does that exist in the version you are buildng with? answered 26 Nov '13, 12:32 Anders ♦ edited 26 Nov '13, 14:24 Guy Harris ♦♦ |
No, there's an inadequacy (for your purposes) in the Wireshark dissector for the FIX protocol. Unless you're developing the dissector for your protocol to work with the version of Wireshark on the trunk of the SVN repository, or with the current development version of Wireshark, you will NOT be able to call the FIX dissector. Only on the trunk does it register itself by name, in the fashion mentioned by Anders; it does not do so in 1.10.x or in any earlier versions. answered 26 Nov '13, 14:24 Guy Harris ♦♦ |
Not unless he's building against the trunk or, possibly, one of the development builds, as per my answer.
I will build against different versions ... from 1.2.x to latest stable ... depends on linux version it will run on ...
So I will try to get fix running by adding the line or some more (now I know the way)
another small question ... why is it so? Why not register the dissector? Is there a special reason?
No other reason than no one needed it before I suspect.
thanks to all ... it is possible to add
in older versions and register fix so it can be found