Wireshark-users: [Wireshark-users] Lua: detect capture filename and end of captur
Date: Thu, 29 Sep 2011 09:00:55 +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 in capture file" etc.

It's basically about functionality provided by the END block in awk.

Any help is appreciated.

Many thanks in advance,

BR,

Jörg