Skip to content
Snippets Groups Projects

decode as: Add data dissector to all tables that support Decode As

Merged John Thacker requested to merge johnthacker/wireshark:decode_as_data into master

Register the data dissector to all dissector tables that support Decode As. This provides a way to disable decoding for table entries that have a default dissector registered to a value. It is particularly useful when a dissector is registered by default to several values (e.g. HTTP), to be able to disable decoding for one port without disabling the dissector in general.

It is also useful to prevent payloads from being handed off to heuristic dissectors, and is thus distinguished from the fallback to data when no dissector is set. N.B.: that this has no effect on dissectors that have a "Try heuristic sub-dissectors first" preference set to TRUE.

It does not solve a second issue for table entries with a default dissector - setting the dissector to "none" in order to force payloads to be sent to heuristic dissectors without setting a preference as above. (Note that in some cases one will wish to send dissection on some ports to heuristics without enabling heuristics first for all ports.)

Fix #17518 (closed). Fix #15717 (closed). Related to #12098 (closed), which also needs the last issue mentioned above addressed.

Edited by John Thacker

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading