Yes, this would be a useful addition to the wiretap library. I often
wished wiretap could do this, and once I even started coding something.
What would be useful, I think, would be the ability to add some text
to the top of the hex dump file to indicate things like the default
encapsulation type (with the possibility of doing a per-frame
encapsulation type if you wanted). Also, a text-mask would be nice
so you could tell the hexdump wiretap module to look at only a certain
portion of each line, thus ignoreing the address on the left and the ASCII
display on the right.
--gilbert
----- Original Message -----
From: "Ashok Narayanan" <ashokn@xxxxxxxxx>
To: <ethereal-dev@xxxxxxxxxxxx>
Sent: Tuesday, April 24, 2001 4:59 PM
Subject: [Ethereal-dev] Can we decode hex dumps?
> Folks,
>
> I've seen a couple of places where I have received a hex dump of a packet,
in
> this common hex dump format:
>
> 00000000 00 E0 1E A7 05 6F 00 10 5A A0 B9 12 08 00 46 00 .....o..Z.....F.
> 00000010 03 68 00 00 00 00 0A 2E EE 33 0F 19 08 7F 0F 19 .h.......3.....
> 00000020 03 80 94 04 00 00 10 01 16 A2 0A 00 03 50 00 0C .............P..
> 00000030 01 01 0F 19 03 80 11 01 1E 61 00 0C 03 01 0F 19 .........a......
>
> It would be useful to have a decoder that could read this sort of thing
> directly as a
> packet; one could then use the "Decode packet as" feature to decode the
data
> as a specific type of packet. If something like this doesn't already
exist, I
> will write one.
>
> Thoughts?
> -Ashok
>
>
>
> --- Asok the Intern ----------------------------------------
> Ashok Narayanan
> IOS Network Protocols, Cisco Systems
> 250 Apollo Drive, Chelmsford, MA 01824
> Ph: 978-244-8387. Fax: 978-244-8126 (Attn: Ashok Narayanan)
>
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>