Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-users: [Wireshark-users] Lua: detect capture filename and end of capture

Date: Wed, 28 Sep 2011 11:15:40 +0200
Hi all,

I have two short questions concerning lua scripting for wireshark:

1) Is it possible to detect the name of the capture file currently read from within lua?
2) Is it possible to detect the end of the capture from within lua?

The reasoning is quite simple: Want to do some custom statistics for the whole file like "% of DNS requests" etc.

Many thanks in advance,

BR,

Jörg