目录

FreeRdp

RDP 协议解析

消息结构

静态虚拟通道消息结构

基础输出消息结构

RDP连接

RDP客户端RD会话主机初始化连接[1]X.224 Connection Request PDUPDU:(protocol data unit)协议数据单元[2]X.224 Connection Confirm PDU交换基本设置[3]Multipoint Communication Service (MCS)Connect Initial PDU with GCC Conference Create Request[4]MCS Connect Response PDU withGCC Conference Create Response通道连接[5]MCS Erect Domain Request PDU[6]MCS Attach User Request PDU[7]MCS Attach User Confirm PDUloop[多个频道, 本例为6个][8]MCS Channel Join Request PDU[9]MCS Channel Join Confirm PDURDP安全起步[10]Security Exchange PDU交换安全设置[11]Client Info PDU可选:自动侦测网络质量[12]Auto-Detect Request PDU(s)[13]Auto-Detect Response PDU(s)授权许可[14]License Error PDU - Valid Client可选:多通道引导[15]Initiate Multitransport Request PDU[16]Initiate Multitransport Response PDU交换功能[17]Demand Active PDU[18]Confirm Active PDU连接完成连接完成阶段并不是固定的,消息流具体详见[MS-RDPBCGR] 章节 1.3.1.1[19]Synchronize PDU[20]Control PDU - Cooperate[21]Control PDU - Request Control[22]zero or more Persistent Key List PDU[23]Font List PDU[24]Synchronize PDU[25]Control PDU - Cooperate[26]Control PDU - Granted Control[27]Font Map PDURDP 连接序列说明(无中间网关) V0.1.0 by weiyongjiu