ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] control of lua dissectors at run time for better performance in

From: Awadhesh Kumar <awadhesh.usa@xxxxxxxxx>
Date: Wed, 4 Nov 2009 11:47:18 +0530
Hi,

I have written LUA disectors for Wireshark packets. When I have
integrated this lua dissectors with wireshark and start wireshark to
capture live packets, I  observe that wireshark slows down. Also
whenever I tries to stop the wireshark, it takes many 10’s of seconds
to accept the command.

How can I increase the performance of wireshark?

Currently I have registered 25 udp ports to dissects the message.  Is
it possible to use multi threaded dissectors based on udp port. Can
you give me link for that?

Is there a way to control whether the LUA script should be engaged or
not from the Wireshark GUI – e.g. an option to disable/enable select
LUA script at runtime without messing with the init.lua file.

Thanks
Awadhesh.