Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] how to disable dissectors when I build TShark ?

From: "Jean-Grégoire Foulon" <jg.foulon.dev@xxxxxxxxxxxxxx>
Date: Tue, 3 Jul 2007 17:32:47 +0100
On 7/3/07, Sebastien Tandel <sebastien@xxxxxxxxx> wrote:
Hi,



> I would like to know if there is an easy way to disable dissectors when
> I compile Tshark.
No, there isn't. It's not the first time it has been asked here.
Unfortunately, there is no development project towards this direction
for now (at least not known).

> I am compiling it for an embedded architecture and libwireshark is a tad
> too big, I would like to have a much smaller version. I only need some
> of the protocols. I started to remove dissectors by hand (editing
> makefiles, source code, etc.) and I am struggling to resolve
> dependencies problem, I would like to know if there is another way.

I agree with you that it should be possible but someone has to spend
some time to resolve these "historical dependencies" problems first. ;)


Regards,
Sebastien Tandel


Ok, thanks.
I just managed to have a lib 50% smaller by removing some protocols. I will try to post a diff file here (or somewhere else) when I have a satisfying result.
I think it can be useful for people trying to get a lightweight version but I don't think I will have time to do something clean and generic enough to be integrated into the repository.

Regards,
Jean-Gregoire