Wireshark-dev: Re: [Wireshark-dev] Where to put my wiretap plugin?
From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Thu, 18 Jan 2018 17:46:34 +0100
Hi,

As a follow up I’ve been trying to get the wiretap plugin going. It’s sources are setup in the proper location and when build it’s reported in the About Wireshark dialog and tshark -G plugins output as a ‘file type’ plugin. So far so good.
However there’s a difference between the autotools vs. cmake build. Even though that both builds show the plugin loaded in the About Wireshark dialog the build with autotools refuses to recognise the file type, while the cmake build does accept it. Some instrumentation shows that in the autotools build the wtap_register_<file type> is never called, while in the cmake build it is. How can it show up in the plugin list, while not being registered? What influence does the build environment have here?

Thanks,
Jaap

> On 16 Jan 2018, at 15:32, Jaap Keuter <jaap.keuter@xxxxxxxxx> wrote:
> 
> Hi João,
> 
> Thanks, I’ll reconfigure my work space accordingly and see what I can come up with.
> Once it’s ready I should be able to push a nice example.
> 
> Thanks,
> Jaap
> 
> 
>> On 16 Jan 2018, at 15:27, João Valverde <joao.valverde@xxxxxxxxxxxxxxxxxx> wrote:
>> 
>> Hi Jaap,
>> 
>> Yes, that's correct, it should go in plugins/wiretap.
>> 
>> Let me know if you have any issues.
>> 
>> On 16-01-2018 14:25, Jaap Keuter wrote:
>>> Hi,
>>> With the recent change of dissector plugin location (/plugins => /plugins/epan) I assume that my wiretap plugin has to go in /plugins/wiretap ?
>>> Thanks,
>>> Jaap
>