> Message: 9
> Date: Mon, 7 Oct 2002 15:58:26 -0700
> From: Guy Harris <gharris@xxxxxxxxx>
> To: Aaron Woo <woo@xxxxxxxxxxxxxxxx>
> Cc: ethereal-dev@xxxxxxxxxxxx
> Subject: Re: [Ethereal-dev] IPv6 Question
>
> On Tue, Sep 24, 2002 at 01:46:39PM -0400, Aaron Woo wrote:
> > I see that AODV6 has been written, so I've compared it to the AODV
> > dissect code, but I am still unable to figure out how ethereal knows which
> > version is being used.
>
> It doesn't. The AODV6 dissector was written by somebody who, I guess,
> didn't quite understand the way Ethereal handles protocols that are
> selected by port numbers - it registers both the AODV and AODV6
> dissectors with UDP port 654, but, unfortunately, only *one* dissector
> can be registered with a given port number.
So I should see if another dissector is registered, if so unregister
it, register my own, and then if I don't know how to handle the packet
pass it to the other dissector? Or am I looking in the wrong
direction? What is the right way to do it?
I would guess this is a quite common problem that you have IPv4 and
IPv6 versions of a protocol which use the same port, but different
messages. Is there a way in ethereal to register a protocol to
e.g. UDP(654) + IPv6 only?
Regards,
Antti
--
Antti J. Tuominen, Gyldenintie 8A 11, 00200 Helsinki, Finland.
Research assistant, Institute of Digital Communications at HUT
work: ajtuomin@xxxxxxxxxx; home: tuominen@xxxxxx