Ethereal-dev: Re: [Ethereal-dev] Removing dissectors

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Wed, 14 Jan 2004 17:34:54 -0800

On Jan 14, 2004, at 4:14 AM, Richard Sharpe wrote:

today I was talking to someone at LCA2004 who was interested in removing
dissectors, and we discussed doing it dynamically.

Without looking at the code closely, we thought that what we would like to
do is to specify a list of dissectors that they need, and then during
startup, walk the list/tree of dissectors and mark all those that lead to
the protocols they want to keep, and then walk the list again and
disable/remove all those protocols not marked.

That's disabling, not "removing" in the sense of having the Ethereal executable not even *have* the dissectors.

What was the reason they wanted to disable protocols or remove dissectors? It might be that they're really trying to do something else, and have decided that disabling protocols or removing dissectors was the way to do that, but there might be a better way.