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


I am writing a dissector for parsing new data structure within the GRE. Ethernet+IPHEADER(OUTER)+GRE+Customdatastruct+Original( IP+TCP PACKET) as part of payload.

I am not sure what debugs can be turned on with Lua. My dissector is not working, it cannot parse the values inside the GRE packet. Can someone throw some light on this ?

I successed upto the point it shows GRE value as 47, flags and version as 0000, the protocol field is also displayed, beyond that it shows as DATA. It should have parsed all the fields, and also should have shown me the inner headers as well.

asked 18 Jan '11, 20:57

balaji's gravatar image

accept rate: 0%

edited 16 Jun '12, 20:05

cmaynard's gravatar image

cmaynard ♦♦

Balaji Writes :

Syntax wise the code is correct, but I still cannot parse the fields below the flags and version of GRE header. Do you have a sample code as an example to parse custom headers inside GRE ? Do you have a sample code for WCCP Redirection inside GRE or IPSEC tunnels written in LUA ?

(18 Jan '11, 21:07) balaji

would you mind to post your lua code?

(30 Apr '12, 16:03) Kurt Knochner ♦
Be the first one to answer this question!
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: 18 Jan '11, 20:57

question was seen: 3,999 times

last updated: 16 Jun '12, 20:05

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