I have created plugin in ubuntu. It works fine. But as per the requirements, I have been asked to create a windows installation of wireshark. In windows, under the plugins directory, there is a list of DLL's. So is it possible that I can convert my plugin written for ubuntu platform into a DLL that I can use in windows directly without having to recompile wireshark on windows again and again.
If yes, how do create a DLL?
Thanks in advance,
asked 06 Feb '11, 21:41
This is indeed possible.
First setup your Windows development environment as per Developers Guide and compile Wireshark once.
As per README.plugins add a directory of your new dissector plugin and setup the build files. Then you can compile your plugin over and over again, if needed, without recompiling Wireshark.
answered 07 Feb '11, 05:12
while compiling wireshark, I am getting this error everytime. Can you please help me out with that??
**if not exist wireshark-gtk2diameter mkdir wireshark-gtk2diameter
xcopy ".diameter*.dtd" wireshark-gtk2diameter
File not found - *.dtd
0 File(s) copied
NMAKE : Fatal error U1077: 'C:WindowsSystem32xcopy.EXE' : return code '0x4' stop**
thanks a lot..
Please help me one last time. I will try and explain to you my situation precisely.
I had a wireshark SVN version which had a plugin for nnm protocol running on ubuntu. I took that source into windows. I build the environment in windows to compile wireshark. And thereafter I compiled wireshark on windows. Now with that wireshark built, I can run wireshark and be able to dissect nnm packets successfully.
However, in the wireshark/plugins folder I have directories for all protocols. Not DLL's.
Now I installed a wireshark 1.4.3 application on windows. In the wireshark/plugins folder, there are DLL's for all the plugins that are available.
So when I take my nnm directory from the previous SVN built and put it in the new 1.4.3 plugins directory (as a folder) and try to dissect nnm packets, it fails.
What should I do inorder to make sure that wireshark 1.4.3 is able to dissect nnm packets??
Please guide me through this. Your help has been immense. This is probably the last straw.
answered 08 Feb '11, 03:31