Company
Date Published
Author
Jim Borden, Principal Software Engineer, Couchbase
Word count
933
Language
English
Hacker News points
None

Summary

The text explores the use of Wireshark for analyzing network traffic, particularly focusing on the sync protocol BLIP used by Couchbase Mobile 2.0 and higher, which operates over web sockets. It emphasizes that while BLIP might seem complex, Wireshark can effectively analyze these messages, provided the full conversation, including the initial HTTP request, is captured. The text provides a detailed breakdown of a BLIP message's structure, including elements like message number, frame flags, properties, body, and checksum, and describes the six message types that can be sent (MSG, RPY, ERR, ACKMSG, ACKRPY). Additionally, it is explained how to track message flow within Wireshark by observing IP addresses to determine message origination and responses, thus facilitating the process of following a conversation between devices. The author cautions that the information is for educational purposes and subject to change, as there is no formal contract with users regarding the protocol's stability.