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

I have a heuristic dissector which works perfectly, but the tree still contains a "data" field which contains the same number of bytes as the dissector decoded. The tree appears as:

IP
TCP
<my protocol>
Data <x bytes>

Is there a way to remove or block that Data leaf from binding to the tree?

asked 21 Feb '12, 11:56

Clifford%20Haas's gravatar image

Clifford Haas
0222
accept rate: 0%

edited 21 Feb '12, 14:10

multipleinterfaces's gravatar image

multipleinte...
1.3k152340


Make sure to return TRUE from your heuristic dissector.

permanent link

answered 21 Feb '12, 12:20

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%

I have verified that the dissector does return TRUE. I even placed a "return (TRUE)" near the top of the dissector, right after I change the column info. This still left DATA on the tree. 8-(

(24 Feb '12, 06:34) Clifford Haas

Is it possible that using tcp_dissect_pdus to reassemble is conflicting with pure TCP heuristic?

(24 Feb '12, 07:08) Clifford Haas
Your answer
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

Question tags:

×637
×158
×122
×23
×10

question asked: 21 Feb '12, 11:56

question was seen: 3,598 times

last updated: 24 Feb '12, 14:45

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