I've recently published a beginner article on creating a custom
dissector. This article would not of been possible without the
developers guide.
Note: The article is designed for the Win32 environment.
http://www.codeproject.com/useritems/custom_dissector.asp
Regards
Ken
You need to terminate the value_string
with a
{0,NULL}
entry to tell wireshark where it ends.
Othervise you risk reading beyond the end which will cause a segfault.
On 7/1/07, Ken Thompson [EMAIL PROTECTED] wrote:
I've recently published a beginner article on creating a custom
dissector. This
Hi Ken,
Did a quick review of your article. These are the point you could improve.
8---
7.0 Your Dissector Code
You can use a text editor of your choice to open the
packet-yourprotocol.c. Let's take it line by line:
#ifdef HAVE_CONFIG_H
# include config.h
#endif
#include