Ethereal-dev: Re: [ethereal-dev] Decoding IP within other protos

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

From: Laurent Deniel <deniel@xxxxxxxxxxx>
Date: Wed, 06 Oct 1999 19:11:08 +0200
Richard Sharpe wrote:
> 
> Hi,
> 
> I wanted to see the IP header that is inside an ICMP dest unreachable, so I
> modified dissect_icmp to call dissect_ip so that I can see this info.
> 
> I am not sure how useful this will be, but it seems to work OK.
> 

Please not yet, this is broken ! udp decoding and some upper layers can not
handle incomplete packets. I have fixed the udp decoding but not all other
ones the previous week-end when I tried to do the same thing and I got a
endless loop or segmentation violation in upper layer decoders... and I hate
to see the ICMP info field replaced by UDP or NBNS for instance :-) 

--
Laurent DENIEL        | E-mail: deniel@xxxxxxxxxxx
Paris, FRANCE         |         laurent.deniel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
                      | WWW   : http://www.worldnet.fr/~deniel
    All above opinions are personal, unless stated otherwise.