ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] Extending the DHCP dissector

Date: Fri, 25 Sep 2009 19:22:12 -0400
In the Wireshark wiki there is a Lua code example for a chained dissector: 
http://wiki.wireshark.org/Lua/Dissectors

It looks like they simply add the new dissector into the parent protocol's dissector table with the same port as the original, thereby overwriting its entry in the dissector table.  If you made a new bootp dissector as a plugin, could you do the same trick to replace the existing builtin dissector without having to rebuild Wireshark?  You'd have to build the plugin of course, but you wouldn't need a custom wireshark build.