Mongo

Mongo Wire Protocol (MONGO)

MongoDB bridges the gap between key-value stores (which are fast and highly scalable) and traditional RDBMS systems (which provide rich queries and deep functionality).

History

The Mongo Wire Protocol is a simple socket-based, request-response style protocol. Clients communicate with the database server through a regular TCP/IP socket.

Protocol dependencies

Example traffic

Wireshark_mongodb.png

Wireshark

The Mongo dissector is partially functional.(Not support to display BSON Data)

Example capture file

Display Filter

A complete list of MONGO display filter fields can be found in the display filter reference

Show only the MONGO based traffic:

 mongo 

Capture Filter

You cannot directly filter Mongo protocols while capturing. However, if you know the TCP port used (see above), you can filter on that one.

Capture only the Mongo traffic over the default port (27017):

 tcp port 27017 

External links

Discussion


Imported from https://wiki.wireshark.org/Mongo on 2020-08-11 23:16:51 UTC