Ethereal-users: Re: [Ethereal-users] Raw datagram as hex?

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

Date: Tue, 6 Dec 2005 19:03:59 +0000 (GMT)



On Mon, 5 Dec 2005, Guy Harris wrote:

m@xxxxxxxxxxxxxxxx wrote:

Is it possible to extract a datagram as hex?  I've tried:

1:- Viewing datagram in the usual manner where the raw datagram is given in one scroll window and the analysis is given in another. Press In the analysis window click the top line, corresponding to the whole datagram and causing the whole binary datagram to be highlighted. Paste to a text editor by (on linux) pressing the middle button. Expected to get the one analysis line followed by the hex but no joy. (Happy to implement this behaviour if someone's willing to very patiently take me over the source code layout!)

The middle button in UNIX+X means "paste current selection". The hex dump is *highlighted*, but it's not *selected*. The hex dump pane just a text window - try selecting the text *there*.


I tried that too but it didn't work for me. I'll try again just to make sure.

[...]
It prints what you tell it to print; the default is "Packet summary line" and "Packet details", but you can try un-selecting them and selecting "Packet bytes". (Again, you'll get all the text.)

Can you direct me to where to select "Packet bytes"? I did have a quite a long look for something like that yesterday so I must just have been missing it.


BTW, if you're writing to a file, you can use Export -> as "Plain Text" File, and it leaves out all the printing-related crap.


Got that bit! Although I must admit to being quite fond of postscript as a programming language (half joking) there are situations where I find its presence superfluous to requirements. My current purpose is one of them!

Thanks for indicating that there is hope!

Regards, Max.