Tools

Packet decoder

Runs in your browser. Nothing you enter is sent anywhere, and the page’s security policy stops it from contacting other sites.

Paste the hex dump of a captured packet, or open a capture file, to read its headers field by field: Ethernet, VLAN, IP, TCP, UDP, ICMP and what they carry. It is for the times a capture is on a switch or firewall and getting it into Wireshark is more trouble than the question is worth. Several packets can be pasted at once.

Where to get a hex dump

Cisco IOS XE
show monitor capture CAP buffer dump monitor capture CAP export flash:CAP.pcap
Cisco ASA
show capture CAP dump
tcpdump
tcpdump -xx -c 10 -i eth0 host 10.1.1.1
Wireshark
Right-click a packet, then Copy, then “as a Hex Dump” or “as a Hex Stream”.

A capture file (pcap or pcapng) or a saved session log can be opened or dropped on the box. A capture file is shown as a hex dump of its first 200 packets, and in a log the lines that are not part of a dump are skipped. Other hex dumps work too, as long as each line is an offset followed by the bytes, or the input is nothing but hex. With tcpdump -x (one x) the dump starts at the IP header, which is detected.

To take the capture in the first place, the packet capture builderwrites the commands and the filter for the traffic you describe.

Everything is decoded in your browser. Nothing you paste is sent anywhere or kept in the address bar.