public:it:freerdp

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版
前一修订版
public:it:freerdp [2022/02/11 14:48] oakfirepublic:it:freerdp [2022/03/01 10:27] (当前版本) – [RDP 协议解析] oakfire
行 12: 行 12:
 ===== RDP 协议解析 ===== ===== RDP 协议解析 =====
   * 基于TCP连接,标准没有规定服务端端口,默认端口为**3389**   * 基于TCP连接,标准没有规定服务端端口,默认端口为**3389**
-  * 消息流里的多字节数据统一使用**小**字节序(little-endian)+  * 消息流里的多字节数据统一使用**小**字节序(little-endian)
  
 ==== 消息结构 ==== ==== 消息结构 ====
 +  * 节选了几个有代表性的
 === 静态虚拟通道消息结构 === === 静态虚拟通道消息结构 ===
   * tpktHeader (4 字节):  TPKT 头, 详见 [[https://www.itu.int/rec/T-REC-T.123/en|[T123]]] section 8   * tpktHeader (4 字节):  TPKT 头, 详见 [[https://www.itu.int/rec/T-REC-T.123/en|[T123]]] section 8
行 68: 行 69:
         * bitmapLength (2 字节):  16位无符号整型. bitmapComprHdr 和 bitmapDataStream 字段的字节长度.          * bitmapLength (2 字节):  16位无符号整型. bitmapComprHdr 和 bitmapDataStream 字段的字节长度. 
         * bitmapComprHdr (8 字节): 可选         * bitmapComprHdr (8 字节): 可选
-        * bitmapDataStream (可变长度): A variable-length array of bytes describing a bitmap image. Bitmap data is either compressed or uncompressed, depending on whether the BITMAP_COMPRESSION flag is present in the flags field. Uncompressed bitmap data is formatted as a bottom-up, left-to- +        * bitmapDataStream (可变长度): A variable-length array of bytes describing a bitmap image. Bitmap data is either compressed or uncompressed, depending on whether the BITMAP_COMPRESSION flag is present in the flags field. Uncompressed bitmap data is formatted as a bottom-up, left-to-right series of pixels. Each pixel is a whole number of bytes. Each row contains a multiple of four bytes (including up to three bytes of padding, as necessary). Compressed bitmaps not in 32 bpp format are compressed using Interleaved RLE and encapsulated in an RLE Compressed Bitmap Stream structure (section 2.2.9.1.1.3.1.2.4), while compressed bitmaps at a color depth of 32 bpp are compressed using RDP 6.0 Bitmap Compression and stored inside an RDP 6.0 Bitmap Compressed Stream structure ([MS-RDPEGDI] section 2.2.2.5.1). 
-right series of pixels. Each pixel is a whole number of bytes. Each row contains a multiple of four  +
-bytes (including up to three bytes of padding, as necessary). Compressed bitmaps not in 32 bpp  +
-format are compressed using Interleaved RLE and encapsulated in an RLE Compressed Bitmap  +
-Stream structure (section 2.2.9.1.1.3.1.2.4), while compressed bitmaps at a color depth of 32 bpp  +
-are compressed using RDP 6.0 Bitmap Compression and stored inside an RDP 6.0 Bitmap  +
-Compressed Stream structure ([MS-RDPEGDI] section 2.2.2.5.1). +
 ==== RDP连接 ==== ==== RDP连接 ====
   * RDP连接示意   * RDP连接示意
  • public/it/freerdp.1644562086.txt.gz
  • 最后更改: 2022/02/11 14:48
  • oakfire