Ethereal-users: [Ethereal-users] RE: about aodv and udp?

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

From: "Johnny Choque" <jchoque@xxxxxxxxxxxxxxx>
Date: Thu, 17 Apr 2003 10:52:17 +0200
Hi Guy,

I understand your answer but I do not understand why after disable AODV6
disecctor the AODV
dissector does not work and therefore the AODV packets are showed as UDP
packet.
I have tried to fix this problem making hacking in the packet-aodv6.c. I
have changed the
value of UDP_PORT_AODV6 and then I have recompiled. After that AODV
dissector works.
Is that a right solution?

Johnny

>
>
> On Wed, Apr 16, 2003 at 02:46:26PM +0200, Johnny Choque wrote:
> > In the other hand, when I capture AODV traffic based-on IPv4 and I
> > disable AODV6 dissector, the ethereal show AODV packets as UDP packets
> > and, of course, the UDP data is not dissected. What happen with AODV
> > dissector (not AODV6)?
>
> What happened with it is that it got overridden by the AODV6 dissector.
> Both the AODV and AODV6 dissector register for UDP port 654, but only
> one dissector can be registered for a given port, so the one whose
> registration routine is called last, which happens to be the AODV6
> dissector, wins.
>
> Perhaps the two dissectors should be combined into one, that decides
> whether it's AODV or AODV6 based on the packet type.
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>