Wireshark-bugs: [Wireshark-bugs] [Bug 8453] Lua test suite missing
Date: Sat, 09 Mar 2013 15:31:14 +0000

Comment # 5 on bug 8453 from
(In reply to comment #3)
> (In reply to comment #2)
> > [*] I'm adding the ability for Lua to be useable for file format
> > reading/writing - i.e., let you create custom wtap reader/writer purely in a
> > Lua plugin.
> Would that include solving
> https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7465?

Nope, although I hadn't seen that bug before.  But anyway no, as far as I can
tell the existing wslua dumper stuff lets you make wireshark save a packet into
a file but only of an existing file format such as pcap/pcapng/etc.; and
there's no tie-in with the user doing File->Save As or File->Export menu items
- the Lua plugin just dumps to a file during its execution while tapping or
dissecting.

What I'm talking about is literally letting a Lua plugin register a new wtap
file format, letting it handle the open/read/write routines for itself similar
to existing file format reader/writers do when called upon by file_access.c,
etc.  So that I could for example write a plugin that can read some vendor's
proprietary file format, or write out to it.


You are receiving this mail because:
  • You are watching all bug changes.