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

How should I develop this tool?

0

Hi,

I'd like to develop some enhancements to the Wireshark GUI, and I'm not sure what the best approach is.

The graph interface in Statistics -> IOGraphs is very helpful but I'd like to add on to that, perhaps have some more visualization that could be viewed side by side with the graph.

The stuff would be very specific to mobile development, so I'm not sure adding directly into WS is the best idea (or is it?)

Ideally I could have some plugin that users could download separately. Think of a firefox add-on.

Also, I've looked into LUA and I'm not sure if it has enough power for what I'm trying to do. The visualizations have to be just as robust, if not more, than the current graph feature.

Thanks

asked 09 Jun '11, 02:19

Jackson%20Zhou's gravatar image

Jackson Zhou
16224
accept rate: 0%


One Answer:

2

You'll need to code this directly in C and GTK in Wireshark (see the gtk/ directory in the source tree). Wireshark does not support GUI plugins (only protocol dissector plugins and file access--wiretap--plugins). The Lua API is for dissectors, not GUI work (AFAIK).

answered 09 Jun '11, 06:48

JeffMorriss's gravatar image

JeffMorriss ♦
6.2k572
accept rate: 27%

True. The Lua API is intended for writing dissectors, but it does have limited GUI support (not enough for graphs/visualization).

(10 Jun '11, 21:17) helloworld