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] how to remove/unregister a dissector?

From: Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx>
Date: Wed, 27 Apr 2011 12:15:16 +0200
On Tue, Apr 26, 2011 at 06:57:07PM +0000, Chris Maynard wrote:
> In most cases, to remove unwanted protocol dissectors from the build, delete the
> relevant packet-*.c files from epan/dissectors/Makefile.common's DISSECTOR_SRC.

I've always wanted to configure DISSECTOR_SRC using some user-friendly tool,
maybe something like make *config from Linux kernel.

Config tree might looks like:

-TCP dissectors [X]
 |- 23: Telnet                [X]
 |- 25: Simple Mail Transfer Protocol [X]
 |- 110: Post Office Protocol [X]
 |- 9418: Git Smart Protocol  [ ]
 |- ....
 |
 - SSL dissectors [X]
  |- 465: Simple Mail Transfer Protocol [X]
  |- 995: Post Office Protocol [X] 
  |- ...

- UDP dissectors [ ]
- ...