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


I am new in this community and I understood how to create a dissector for a tcp/udp packet in LUA. But I want to create a dissector in LUA which dissect the whole frame because I want to handle the MAC address. I have searched in different topics and I didn't find what I want or I cannot apply what I found. May you have an advice to help me ?

Thank you.

asked 03 May '17, 07:55

yassbouc's gravatar image

accept rate: 0%

If you want to fetch values from other dissectors you can try fetch using a Field. For MAC addresses maybe something like this:

eth_src_f ="eth.src")
eth_dst_f ="eth.dst")

Have a look in the Field documentation.

permanent link

answered 08 Jul '17, 11:53

stig's gravatar image

stig ♦
accept rate: 0%

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: 03 May '17, 07:55

question was seen: 1,543 times

last updated: 08 Jul '17, 11:53

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