The current dev (3.7) branch added supported for layers:
dfilter: Add syntax to match specific layers in the protocol stack
See current wireshark-filter(4) man page for syntax:
Depending on how the dissector pulls out the fields, that's probably not the solution you want but similar syntax.
Are you looking for a specific occurrence (instance) of a field or is the nesting syntax important?
Can I limit the display filter to an specific occurrence
And as always, please provide a sample pcap. :-)
Adding a whole pile on the pile, Thrift faces the same issue: no only structs can contain structs but even with a specific dissector, the IDL definition allows for recursive structures (directly or indirectly).
I didn’t check the other protocol generators (Google Protobuf, Apache Etch, for the ones I know are supported by Wireshark) but it might be the case as well in some of them.
All in all, I think there is a real use for some way of filtering sub-structures in more cases than we might think of.
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives: https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe