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

Wireshark-users: [Wireshark-users] Getting current capture file name via lua

From: "Martin Visser" <martinvisser99@xxxxxxxxx>
Date: Mon, 27 Oct 2008 17:25:26 +1100
Hi,

I'm just starting embellish (and fix where is seems to refer to an older API) Leonard's Tap example in http://www.wireshark.org/lists/wireshark-users/200611/msg00011.html

Is it possible to grab the current capture file name via lua? (I want to use this to create the output file rather than just a date stamp)

I presume of you were reading directly from an interface you might be able to get that info as well.

Regards, Martin

MartinVisser99@xxxxxxxxx