Hi,

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

balaji
1111
accept rate: 0%

edited 16 Jun '12, 20:05

cmaynard's gravatar image

cmaynard ♦
6.2k725106

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
1

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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

Tags:

×194
×144
×5
×2

Asked: 18 Jan '11, 20:57

Seen: 2,448 times

Last updated: 16 Jun '12, 20:05

powered by OSQA