I have a dissector which does not yet dissect all of the possible
information elements of a protocol.
What should the dissector do when it recognises that an IE cannot be
handled?
- Ignoring the un-dissected octets leaves the user with a false
sense of believing the dissection was complete
- DISSECTOR_ASSERT is much too invasive.
- Expert info, would seem to be the best option, but I recall
that it was intended to be used for providing information about
the captured packets, rather than about dissector deficiencies.
What is the generally accepted solution?
This email has been sent from a virus-free computer protected by Avast.
www.avast.com
|