I'm wondering how to get the fields declared in a Lua dissector searchable in the filter bar. When trying to declare fields the same way as in various tutorials/samples, despite the fact that the dissector works fine, packets are recognized and decoded, the fields are unavailable to search. Example :
Are custom fields supposed to be searchable? |
You get the error message "myproto.f_data is neither a field nor a protocol name" because you have used a different string for your field's filter string. Try In the line
Hi, Thanks for answering this. I tried to rename the field but still get the error. Below code for the sake of example :
(09 Dec '13, 03:08)
lepolac
In this code, you haven't added the
(09 Dec '13, 10:35)
multipleinte...
Hi, Sorry, didn't catch that one.. This is not my actual dissector, was just trying to quickly give an example. myproto.command doesn't work either, I still get myproto.command isn't a valid display filter. By the way, I tested dozens of various dissectors I found, including the simplest wiki examples, and none of them allow me to access field in the filter. Maybe I'm doing something the wrong way...
(11 Dec '13, 02:02)
lepolac
|