ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] Two dissectors on same TCP port?

From: Alex Lindberg <alindber@xxxxxxxxx>
Date: Wed, 30 Sep 2009 11:30:39 -0700 (PDT)
I am creating a custom dissector that runs on a TCP port already covered by one of the standard dissectors.

How do can I overload the dissector registration so that if the unique condistion exist for my custom dissector my dissector will be used, otherwise pass control back to Wireshark?

I could modify the original dissector to check but that seems contrary to the current methods used by Wireshark.

Thanks as always,
Alex Lindberg