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

Lua Dissector for the whole Frame



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%

One Answer:


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.

answered 08 Jul '17, 11:53

stig's gravatar image

stig ♦
accept rate: 0%