Skip to content
This repository has been archived by the owner on Feb 10, 2023. It is now read-only.

Connection packets

komaljain-ee edited this page Dec 2, 2013 · 1 revision

No. Time Source Destination Protocol Length Info
64 129.816881000 127.0.0.1 127.0.0.1 MONGO 126 Request : Query

Frame 64: 126 bytes on wire (1008 bits), 126 bytes captured (1008 bits) on interface 0
Mongo Wire Protocol
Message Length: 60
Request ID: 0x00000000 (0)
Response To: 0x00000000 (0)
OpCode: Query (2004)
Query Flags
.... .... .... .... .... .... .... ..0. = Tailable Cursor: No
.... .... .... .... .... .... .... .0.. = Slave OK: No
.... .... .... .... .... .... .... 0... = Op Log Reply: No
.... .... .... .... .... .... ...0 .... = No Cursor Timeout: No
.... .... .... .... .... .... ..0. .... = AwaitData: No
.... .... .... .... .... .... .0.. .... = Exhaust: No
.... .... .... .... .... .... 0... .... = Partial: No
fullCollectionName: admin.$cmd
Database Name: admin
Collection Name: $cmd
Number To Skip: 0
Number to Return: 1
Query
Document length: 21
Elements
Element: whatsmyuri
Type: Int32 (0x10)
Value: 1



No. Time Source Destination Protocol Length Info
66 129.817087000 127.0.0.1 127.0.0.1 MONGO 144 Response : Reply

Frame 66: 144 bytes on wire (1152 bits), 144 bytes captured (1152 bits) on interface 0
Mongo Wire Protocol
Message Length: 78
Request ID: 0x00000000 (0)
Response To: 0x00000000 (0)
OpCode: Reply (1)
Reply Flags
.... .... .... .... .... .... .... ...0 = Cursor Not Found: No
.... .... .... .... .... .... .... ..0. = Query Failure: No
.... .... .... .... .... .... .... .0.. = Shared Config Stale: No
.... .... .... .... .... .... .... 1... = Await Capable: Yes
Cursor ID: 0
Starting From: 0
Number Returned: 1
Document
Document length: 42
Elements
Element: you
Type: String (0x02)
Length: 16
Value: 127.0.0.1:49964
Element: ok
Type: Double (0x01)
Value: 1


No. Time Source Destination Protocol Length Info
68 129.821242000 127.0.0.1 127.0.0.1 MONGO 138 Request : Query

Frame 68: 138 bytes on wire (1104 bits), 138 bytes captured (1104 bits) on interface 0
Mongo Wire Protocol
Message Length: 72
Request ID: 0x00000001 (1)
Response To: 0x00000000 (0)
OpCode: Query (2004)
Query Flags
.... .... .... .... .... .... .... ..0. = Tailable Cursor: No
.... .... .... .... .... .... .... .0.. = Slave OK: No
.... .... .... .... .... .... .... 0... = Op Log Reply: No
.... .... .... .... .... .... ...0 .... = No Cursor Timeout: No
.... .... .... .... .... .... ..0. .... = AwaitData: No
.... .... .... .... .... .... .0.. .... = Exhaust: No
.... .... .... .... .... .... 0... .... = Partial: No
fullCollectionName: admin.$cmd
Database Name: admin
Collection Name: $cmd
Number To Skip: 0
Number to Return: -1
Query
Document length: 33
Elements
Element: getLog
Type: String (0x02)
Length: 16
Value: startupWarnings


No. Time Source Destination Protocol Length Info
69 129.821361000 127.0.0.1 127.0.0.1 MONGO 462 Response : Reply

Frame 69: 462 bytes on wire (3696 bits), 462 bytes captured (3696 bits) on interface 0
Mongo Wire Protocol
Message Length: 396
Request ID: 0x00000001 (1)
Response To: 0x00000001 (1)
OpCode: Reply (1)
Reply Flags
.... .... .... .... .... .... .... ...0 = Cursor Not Found: No
.... .... .... .... .... .... .... ..0. = Query Failure: No
.... .... .... .... .... .... .... .0.. = Shared Config Stale: No
.... .... .... .... .... .... .... 1... = Await Capable: Yes
Cursor ID: 0
Starting From: 0
Number Returned: 1
Document
Document length: 360
Elements
Element: totalLinesWritten
Type: Int32 (0x10)
Value: 4
Element: log
Type: Array (0x04)
Document
Document length: 315
Elements
Element: 0
Type: String (0x02)
Length: 46
Value: 2013-12-02T12:40:35.340+0530 [initandlisten]
Element: 1
Type: String (0x02)
Length: 104
Value: 2013-12-02T12:40:35.340+0530 [initandlisten] ** NOTE: This is a development version (2.5.4) of MongoDB.
Element: 2
Type: String (0x02)
Length: 86
Value: 2013-12-02T12:40:35.340+0530 [initandlisten] ** Not recommended for production.
Element: 3
Type: String (0x02)
Length: 46
Value: 2013-12-02T12:40:35.340+0530 [initandlisten]
Element: ok
Type: Double (0x01)
Value: 1


No. Time Source Destination Protocol Length Info
70 129.823268000 127.0.0.1 127.0.0.1 MONGO 154 Request : Query

Frame 70: 154 bytes on wire (1232 bits), 154 bytes captured (1232 bits) on interface 0
Mongo Wire Protocol
Message Length: 88
Request ID: 0x00000002 (2)
Response To: 0x00000000 (0)
OpCode: Query (2004)
Query Flags
.... .... .... .... .... .... .... ..0. = Tailable Cursor: No
.... .... .... .... .... .... .... .0.. = Slave OK: No
.... .... .... .... .... .... .... 0... = Op Log Reply: No
.... .... .... .... .... .... ...0 .... = No Cursor Timeout: No
.... .... .... .... .... .... ..0. .... = AwaitData: No
.... .... .... .... .... .... .0.. .... = Exhaust: No
.... .... .... .... .... .... 0... .... = Partial: No
fullCollectionName: admin.$cmd
Database Name: admin
Collection Name: $cmd
Number To Skip: 0
Number to Return: -1
Query
Document length: 49
Elements
Element: replSetGetStatus
Type: Double (0x01)
Value: 1
Element: forShell
Type: Double (0x01)
Value: 1


No. Time Source Destination Protocol Length Info
71 129.823365000 127.0.0.1 127.0.0.1 MONGO 158 Response : Reply

Frame 71: 158 bytes on wire (1264 bits), 158 bytes captured (1264 bits) on interface 0
Mongo Wire Protocol
Message Length: 92
Request ID: 0x00000002 (2)
Response To: 0x00000002 (2)
OpCode: Reply (1)
Reply Flags
.... .... .... .... .... .... .... ...0 = Cursor Not Found: No
.... .... .... .... .... .... .... ..0. = Query Failure: No
.... .... .... .... .... .... .... .0.. = Shared Config Stale: No
.... .... .... .... .... .... .... 1... = Await Capable: Yes
Cursor ID: 0
Starting From: 0
Number Returned: 1
Document
Document length: 56
Elements
Element: ok
Type: Double (0x01)
Value: 0
Element: errmsg
Type: String (0x02)
Length: 27
Value: not running with --replSet


No. Time Source Destination Protocol Length Info
72 129.824043000 127.0.0.1 127.0.0.1 MONGO 145 Request : Query

Frame 72: 145 bytes on wire (1160 bits), 145 bytes captured (1160 bits) on interface 0
Mongo Wire Protocol
Message Length: 79
Request ID: 0x00000003 (3)
Response To: 0x00000000 (0)
OpCode: Query (2004)
Query Flags
.... .... .... .... .... .... .... ..0. = Tailable Cursor: No
.... .... .... .... .... .... .... .0.. = Slave OK: No
.... .... .... .... .... .... .... 0... = Op Log Reply: No
.... .... .... .... .... .... ...0 .... = No Cursor Timeout: No
.... .... .... .... .... .... ..0. .... = AwaitData: No
.... .... .... .... .... .... .0.. .... = Exhaust: No
.... .... .... .... .... .... 0... .... = Partial: No
fullCollectionName: test.$cmd
Database Name: test
Collection Name: $cmd
Number To Skip: 0
Number to Return: -1
Query
Document length: 41
Elements
Element: isMaster
Type: Double (0x01)
Value: 1
Element: forShell
Type: Double (0x01)
Value: 1


No. Time Source Destination Protocol Length Info
73 129.824127000 127.0.0.1 127.0.0.1 MONGO 237 Response : Reply

Frame 73: 237 bytes on wire (1896 bits), 237 bytes captured (1896 bits) on interface 0
Mongo Wire Protocol
Message Length: 171
Request ID: 0x00000003 (3)
Response To: 0x00000003 (3)
OpCode: Reply (1)
Reply Flags
.... .... .... .... .... .... .... ...0 = Cursor Not Found: No
.... .... .... .... .... .... .... ..0. = Query Failure: No
.... .... .... .... .... .... .... .0.. = Shared Config Stale: No
.... .... .... .... .... .... .... 1... = Await Capable: Yes
Cursor ID: 0
Starting From: 0
Number Returned: 1
Document
Document length: 135
Elements
Element: ismaster
Type: Boolean (0x08)
Value: True
Element: maxBsonObjectSize
Type: Int32 (0x10)
Value: 16777216
Element: maxMessageSizeBytes
Type: Int32 (0x10)
Value: 48000000
Element: localTime
Type: Datetime (0x09)
Value: 1385975262427
Element: maxWireVersion
Type: Int32 (0x10)
Value: 2
Element: minWireVersion
Type: Int32 (0x10)
Value: 0
Element: ok
Type: Double (0x01)
Value: 1
Clone this wiki locally