Wireshark-dev: Re: [Wireshark-dev] Distributing a wireshark dissector
From: "Eytan Kidron" <[email protected]>
Date: Mon, 19 Nov 2007 18:58:19 +0200

 

Thank you all for your help.

 

Indeed, my problem was that I did not use the VC6 compiler. Once I compiled my dissector with this compiler, I was able to copy the dll to existing already-installed wiresharks.

I prefer this option to creating a new custom installer whenever a new version of wireshark is released. This way, users can use their preferred/existing version, without the need to reinstall or install multiple versions. Of course, this also means less maintenance work for me.

 

Eytan

 


From: [email protected] [mailto:[email protected]] On Behalf Of Anders Broman
Sent:
ה 15 נובמבר 2007 17:17
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Distributing a wireshark dissector

 

Hi,

Do you build with VC6? If not that's probably the cause of the problem.

 

Regards

Anders

 


From: [email protected] [mailto:[email protected]] On Behalf Of Eytan Kidron
Sent: den 15 november 2007 15:21
To: [email protected]
Subject: [Wireshark-dev] Distributing a wireshark dissector

 

Hi,

 

I have a question concerning the creation and distribution of dissectors.

I created a dissector using a tutorial which I found in http://www.codeproject.com/useritems/custom_dissector.asp, and now I have a dll called my-protocol.dll.

I am not interested, at this point, in distributing this dissector to the general public, but I am interested in distributing it within my organization. I found that I could do that by creating a wireshark installer (see step 12 in the link above).

When others in my organization executed this installer and copied the dll to the appropriate place, they could use the dissector. The problem with that is that whenever a new version of wireshark is released, my dissector will obviously not be there, and if somebody wants some feature from a newer wireshark version and also wants my dissector, they need two separate wireshark installations.

 

My question is:

Is it possible to add a new dissector to an existing wireshark without having to reinstall it or install a separate instance of wireshark?

 

One might expect that I could simply copy my-protocol.dll to the folder where all the other dlls are, but when I tried to do this I got an error in loading a C runtime library (incidentally, I am working on Windows XP). Is that supposed to work?

 

I don't mind the users in my organization having to do something extra (like copying a dll) every time they update their wireshark, if they want to use this dissector, but I don’t want to need to create a new installer whenever a new wireshark version is released.

 

I would be grateful if anyone could help me with this.

Thanks,

Eytan