Q:

importing hex stream into wireshark

I have a 64 byte hex stream of a frame-
000A959D6816000A959A651508004500002E000000004006AF160A010101C0A8000A11D71EC6000000000000000050000000AD840000000102030405CC904CE3

How can I import it into Wireshark and see the whole packet?
The option of importing hex dump doesn't seems to work in my case, if I save this stream into a text file and load it.

A:

Since this hex stream is in hex, and for hex to hexdump conversion, "od" doesn't seems to work. So the solution would be to convert this hex back to binary, and then use "od -Ax -tx1 [file]" on that binary file.
xxd -r -p [hexfile] [binaryfile]
od -Ax -tx1 [binaryfile]

Note: Use the combination -r -p to read plain hexadecimal dumps without line number information and without a particular column layout.

