Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] foo dissector of the dev guide

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Wed, 17 Nov 2010 20:48:13 -0700
On Tue, Nov 16, 2010 at 03:40:39PM +0100, Lange Jan-Erik wrote:

> How do you test your dissectors?

I always have the protocol I'm writing a dissector for already on the 
network that I can capture and test the dissector with.

> Or are you using a program where you can modify the frame preferences 
> and send it each time? If you use such a tool, which tool is it?

You can use netcat (or nc) to generate arbitrary packets.