This is our old Q&A Site. Please post any new questions and answers at

Are there any examples of dissectors written in Lua that have been translated to C? I'm a beginner and have written a dissector in Lua - now that it does what I want it to, I'd like to write it in C. I know about the development guide and the README, but was looking for a more tangible example to put it in context.

asked 31 May '16, 15:27

osarkar's gravatar image

accept rate: 0%

You could try visiting the Sharkfest 2016 Retrospective page and looking at Graham Bloice's presentation (and related materials) titled, "Writing a Dissector: 3 Way to Eat Bytes". When you unzip the .7z archive (using 7-zip), you'll not only have the presentation but a sample dissector written in C and Lua as well as in wsgd.

permanent link

answered 18 Jul '16, 11:00

cmaynard's gravatar image

cmaynard ♦♦
accept rate: 20%

The example dissector is very basic, but is meant to show the difference in the "boilerplate" parts needed for a dissector.

(19 Jul '16, 02:29) grahamb ♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 31 May '16, 15:27

question was seen: 1,291 times

last updated: 19 Jul '16, 02:29

p​o​w​e​r​e​d by O​S​Q​A