Skip to content

Understanding CoAP with Packet Captures.

Notifications You must be signed in to change notification settings

stephenxxxx/coap-pcap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

CoAP PCAP

Exploring the Constrained Application Protocol (CoAP) in Wireshark.

Golioth Basics (PSK)

wireshark golioth_basics_psk.pcapng

The Golioth Basics (PSK) example uses the Golioth Basics program from the Golioth Firmware SDK at v0.7.0.

In order to decrypt CoAP messages, the pre-shared key must be supplied in hex form. The following PSK can be used for the provided capture.

3639616631363835626139303830626539303739323237323863316539376335

It should be supplied in the Pre-Shared Key field in Wireshark under Edit > Preferences > Protocols > DTLS as shown below.

Wireshark PSK Entry

To convert your own PSK to hex form, use the following command:

echo -n "YOUR_PSK_HERE" | xxd -ps -c 32

About

Understanding CoAP with Packet Captures.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published