Ethereal-users: RE: [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: Richard Urwin <RUrwin@xxxxxxxxxxxxxx>
Date: Thu, 17 Apr 2003 10:33:11 +0100
> -----Original Message-----
> From: Johnny Choque [mailto:jchoque@xxxxxxxxxxxxxxx]
> Sent: 17 April 2003 09:52
>
> 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?

It's probably the best that you're going to get in the short term.
The problem is that there is no history saved when a disector registers
with a port. So just disabling it does not re-register the disector that
had its registration overwritten.

> 
> 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.
> >

-- 
Richard Urwin, Software Design Engineer
Schenck Test Automation
Braemar Court, 1311b Melton Road, Syston, UK.
rurwin@xxxxxxxxxxxxx


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________