Ethereal-dev: Re: [ethereal-dev] AH protocol, newbie questions

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

From: guy@xxxxxxxxxx (Guy Harris)
Date: Thu, 11 Feb 1999 15:33:39 -0800 (PST)
> Any comments would be welcome. I'm unclear on how to deal with
> recursion (e.g. IP contains AH contains IP,

ICMP replies may include a small bit of the IP datagram they're
complaining about; I was able to decode that simply by recursively
calling "dissect_ip()" (although, in the case of ICMP, it's only a small
bit - but the dissectors below "dissect_ip()" didn't know that, and one
of them blew up, probably because they ran past the end of the frame and
started dissecting garbage; I need to fix that, and to fix various
dissectors not to run off the end of a packet).