Ethereal-dev: [Ethereal-dev] Protocol dissector conflict

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Peter Johansson <Peter.xc.Johansson@xxxxxxxxxxxx>
Date: Mon, 27 Sep 2004 09:01:15 +0200
A dissector I wrote is hooked up to handle tpc.port == 14000. This works well most of the time. I just saw MSNMS (Messanger) as the description of the decoded protocol when it infact should have been my dissector's name (OCP). The reason for this is that the port in the other end of the tcp connection matched MSNMS' port (1863).

Is there an intelligent way of ensuring the "correct" dissector handling the PDU or do I have to disable Messanger (in this specific case) as a decoder alternatively to use the "decode as" option?

/ Peter