This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

independently build a wireshark plugin. (outside the wireshark source code)

0

Hi, currently, I complete a wireshark plugin which works well in wireshark build environment (wireshark/plugin). However, I am thinking about can I build the plugin outside the wireshark which means I can compile my plugin without the wireshark source code and generate the .o and .la file?? Because I want to compile my plugin to binary library file (.o .la) in a machine which may not have wireshark source code but only rpm or sth like that.

Thanks

asked 02 Aug '11, 15:08

xuan's gravatar image

xuan
1121
accept rate: 0%


2 Answers:

1

Wireshark is not set up to do such a thing. Bug 1199 provides a (probably long obsolete) patch to support it, but it has never checked in--and in my opinion probably never will be.

If you want to develop without the source, your best bet would be to transition to a Lua- or Python-based dissector.

answered 03 Aug '11, 06:07

JeffMorriss's gravatar image

JeffMorriss ♦
6.2k572
accept rate: 27%

0

there is a patch for Bug 1199 but it is to generate plugin c code. And the comment mentioned independent build. They never touch it again.

answered 03 Aug '11, 17:33

xuan's gravatar image

xuan
1121
accept rate: 0%