On Sat, Aug 25, 2012 at 6:47 AM, Erik Tews <erik@xxxxxxxxxxxx> wrote:
> Hi
>
> I would like to write a script, which should generate a kind of
> histogramm of the packet lengths of some packets. The filter expression
> should be derived from the currently selected packet in the GUI. Is it
> possible to access the currently selected packet in the GUI, and perhaps
> add the script to a right-click menu on that packet, using a lua script?
> If not, what would be the best option to add such a feature?
One way to do this would be to add support to Lua for adding menu
items to any named menu ...
I think you can easily do this sort of thing with tshark by the way,
since you can do filtering in tshark and can extract the packet length
field, etc.
--
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)