ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 3513] Lua dissector field registration broken

Date: Sat, 12 Oct 2013 16:53:35 +0000

Comment # 12 on bug 3513 from
Created attachment 11776 [details]
Sample lua to reproduce this problem

I add a lua file to reproduce this problem.
This replaces predefined DNS dissectors.

1. Put dns2.lua in your computer.
2. Edit init.lua and add `do_file("path/to/dns2.lua")`
3. Launch Wireshark. A message "a field with this name must exist" will shown.

This lua provides following features:
* Parse DNS packets and show queries and answers in the tree.
* Add "DNS2" menu into Statistics menu. It lists host names appeared in DNS
packets.

Latter feature is not activated for "a field with this name must exist" error.
You can see it works with my patch.

You can remove this lua by removing added `do_file` from init.lua.


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