Ethereal

Re: [Ethereal-dev] UDP dissector with unknown port
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: October 2003


On Fri, Oct 03, 2003 at 10:34:53PM +0200, Erwin Rol wrote:
> How should i register a dissector for a protocol that sits inside UDP
> packets but doesn't have a fixed port number ? 

Either:

	1) make it a heuristic dissector, which checks the packet's
	   contents to see whether it looks like a packet for the
	   protocol, and dissects it and returns TRUE if it is and
	   returns FALSE without dissecting anything or modifying any
	   columes if it isn't

or

	2) make the port number a protocol preference.


Powered by MHonArc 2.6.10