4.1.19 Server Synchronize PDU
The following is an annotated dump of the Synchronize PDU (section 2.2.1.19).
00000000 03 00 00 30 02 f0 80 68 00 01 03 eb 70 22 08 08 ...0...h....p".. 00000010 02 03 f4 4e d1 9e b4 53 b6 e6 d7 be cc c2 2b 18 ...N...S......+. 00000020 a2 cf 5c 9f 59 de c6 02 e2 ff 36 69 b7 ff 0e 27 ..\.Y.....6i...' 03 00 00 30 -> TPKT Header (length = 48 bytes) 02 f0 80 -> X.224 Data TPDU 68 00 01 03 eb 70 22 -> PER encoded (ALIGNED variant of BASIC-PER) SendDataIndication initiator = 1002 (0x03ea) channelId = 1003 (0x03eb) dataPriority = high segmentation = begin | end userData length = 0x22 = 34 bytes 08 08 -> TS_SECURITY_HEADER::flags = 0x0808 0x0808 = 0x0800 | 0x0008 = SEC_SECURE_CHECKSUM | SEC_ENCRYPT 02 03 -> TS_SECURITY_HEADER::flagsHi - ignored as flags field does not contain SEC_FLAGSHI_VALID (0x8000) f4 4e d1 9e b4 53 b6 e6 -> TS_SECURITY_HEADER1::dataSignature d7 be cc c2 2b 18 a2 cf 5c 9f 59 de c6 02 e2 ff 36 69 b7 ff 0e 27 -> Encrypted TS_SYNCHRONIZE_PDU Decrypted TS_SYNCHRONIZE_PDU: 00000000 16 00 17 00 ea 03 ea 03 01 00 14 00 16 00 1f 00 ................ 00000010 00 00 01 00 63 44 ....cD 16 00 -> TS_SHARECONTROLHEADER::totalLength = 0x0016 = 22 bytes 17 00 -> TS_SHARECONTROLHEADER::pduType = 0x0017 0x0017 = 0x0010 | 0x0007 = TS_PROTOCOL_VERSION | PDUTYPE_DATAPDU ea 03 -> TS_SHARECONTROLHEADER::pduSource = 0x03ea = 1002 ea 03 01 00 -> TS_SHAREDATAHEADER::shareID = 0x000103ea 14 -> TS_SHAREDATAHEADER::pad1 00 -> TS_SHAREDATAHEADER::streamId = STREAM_UNDEFINED (0) 16 00 -> TS_SHAREDATAHEADER::uncompressedLength = 0x0016 = 22 bytes 1f -> TS_SHAREDATAHEADER::pduType2 = PDUTYPE2_SYNCHRONIZE (31) 00 -> TS_SHAREDATAHEADER::generalCompressedType = 0 00 00 -> TS_SHAREDATAHEADER::generalCompressedLength = 0 01 00 -> TS_SYNCHRONIZE_PDU::messageType = SYNCMSGTYPE_SYNC (1) 63 44 -> TS_SYNCHRONIZE_PDU::targetUser (uninitialized due to bug)