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

if we have developed our own protocol and if we want to perform regression test for that for dissection is it possible? if it is, then how?

asked 26 Mar '15, 04:41

ankit's gravatar image

accept rate: 25%

If you want to test your own dissector you can use the ./tools/ utility, see the page on fuzztesting. It depends on having capture files of your protocol in action and makes subtle changes (bit errors) in the packets. This capture file is then handed to the dissectors.

permanent link

answered 26 Mar '15, 05:15

Jaap's gravatar image

Jaap ♦
accept rate: 14%

You could try the approach that's used in the Wireshark test suite, run tshark against a known capture file and compare the output against the expected values.

permanent link

answered 26 Mar '15, 05:17

grahamb's gravatar image

grahamb ♦
accept rate: 22%

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: 26 Mar '15, 04:41

question was seen: 1,165 times

last updated: 26 Mar '15, 05:17

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