Ethereal-dev: [Ethereal-dev] Re: WINS Replication dissector

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: ronnie sahlberg <ronniesahlberg@xxxxxxxxx>
Date: Wed, 7 Sep 2005 09:34:21 -0400
checked in with minor changes


(change two functions with a switch into value_strings)


future updates:

1, the COL_INFO looks a bit naked since there is nothing added.

2, with so many protocols supported by ethereal   the probability of
port collissions is quite big.
(i.e when port 22 talks to port 23    is that ssh or telnet dissector?)
Could you change the dissector to be a 'new-style' dissector?


'new-style' means it returns an int which represents the number of
bytes consumed by the dissector.
'new-style' dissectors also often contain some heuristics to check
that the packet really looks like it belongs to that protocol before
dissection begins.


returning 0  means   'i checked the header bytes and it does not look
like my protocol,   feel free to see if someone else wants this packet
instead'.






On 9/7/05, Stefan Metzmacher <metze@xxxxxxxxx> wrote:
> Hi *,
> 
> can some apply this for me?
> 
> I have allready uploaded some stuff to the Wiki
> http://wiki.ethereal.com/WINS-Replication
> 
> -- 
> metze
> --
> Stefan (metze) Metzmcher <metze at samba dot org>
> 
>