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

Hi! What I wonder is, how can you make so that your dissector compares the next packet to the previous one? I want to make so that if the next packet has the same data as the previous one, it wont be displayed. I dont want to show a large amount of packtes in a row that are identical, I only want to show packets where some change has been made to the data.

Anyone knows?

Cheers / Martino

asked 09 Apr '12, 01:09

Martino's gravatar image

accept rate: 0%

You can't make a dissector decide whether a frame will be displayed or not, that is only possible through display filters. But you can make them work together.

For example, if you create a field in your dissector that is only present if the packet is different from the previous packet in the same conversation, then you can filter in that field with a display filter.

For this to work, you need to work with "conversations" and "per-packet" data. See paragraph 2.2.1 and 2.5 in "doc/README.developer"

permanent link

answered 09 Apr '12, 02:02

SYN-bit's gravatar image

SYN-bit ♦♦
accept rate: 20%

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: 09 Apr '12, 01:09

question was seen: 5,048 times

last updated: 09 Apr '12, 02:02

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