Partager via


2.2.5.2 Server Status Info PDU

The Status Info PDU is sent by the server to update the client with status information. This PDU is only sent to clients that have indicated that they are capable of status updates using the RNS_UD_CS_SUPPORT_STATUSINFO_PDU flag in the Client Core Data (section 2.2.1.3.2).


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

tpktHeader

x224Data

mcsSDin (variable)

...

securityHeader (variable)

...

shareDataHeader (18 bytes)

...

...

...

statusCode

...

tpktHeader (4 bytes): A TPKT Header, as specified in [T123] section 8.

x224Data (3 bytes): An X.224 Class 0 Data TPDU, as specified in [X224] section 13.7.

mcsSDin (variable): Variable-length PER-encoded MCS Domain PDU (DomainMCSPDU) which encapsulates an MCS Send Data Indication structure (SDin, choice 26 from DomainMCSPDU), as specified in [T125] section 11.33 (the ASN.1 structure definitions are given in [T125] section 7, parts 7 and 10). The userData field of the MCS Send Data Indication contains a Security Header, a Share Data Header, and a status code.

securityHeader (variable): Optional security header. The presence and format of the security header depends on the Encryption Level and Encryption Method selected by the server (sections 5.3.2 and 2.2.1.4.3). If the Encryption Level selected by the server is greater than ENCRYPTION_LEVEL_NONE (0) and the Encryption Method selected by the server is greater than ENCRYPTION_METHOD_NONE (0), then this field MUST contain one of the following headers:

  • Basic Security Header (section 2.2.8.1.1.2.1) if the Encryption Level selected by the server is ENCRYPTION_LEVEL_LOW (1).

  • Non-FIPS Security Header (section 2.2.8.1.1.2.2) if the Encryption Method selected by the server is ENCRYPTION_METHOD_40BIT (0x00000001), ENCRYPTION_METHOD_56BIT (0x00000008), or ENCRYPTION_METHOD_128BIT (0x00000002).

  • FIPS Security Header (section 2.2.8.1.1.2.3) if the Encryption Method selected by the server is ENCRYPTION_METHOD_FIPS (0x00000010).

If the Encryption Level selected by the server is ENCRYPTION_LEVEL_NONE (0) and the Encryption Method selected by the server is ENCRYPTION_METHOD_NONE (0), then this header MUST NOT be included in the PDU.

shareDataHeader (18 bytes): A Share Data Header containing information about the packet. The type subfield of the pduType field of the Share Control Header (section 2.2.8.1.1.1.1) MUST be set to PDUTYPE_DATAPDU (7). The pduType2 field of the Share Data Header MUST be set to PDUTYPE2_STATUS_INFO_PDU (54), and the pduSource field MUST be set to zero.

statusCode (4 bytes): A 32-bit, unsigned integer. Status code.

Value

Meaning

TS_STATUS_FINDING_DESTINATION

0x00000401

The destination computer is being located.

TS_STATUS_LOADING_DESTINATION

0x00000402

The destination computer is being prepared for use.

TS_STATUS_BRINGING_SESSION_ONLINE

0x00000403

The destination computer is being prepared to accept a remote connection.

TS_STATUS_REDIRECTING_TO_DESTINATION

0x00000404

The client is being redirected to the destination computer.

TS_STATUS_VM_LOADING

0x00000501

The destination virtual machine image is being loaded.

TS_STATUS_VM_WAKING

0x00000502

The destination virtual machine is being resumed from sleep or hibernation.

TS_STATUS_VM_STARTING

0x00000503

The destination virtual machine is being started.

TS_STATUS_VM_STARTING_MONITORING

0x00000504

Monitoring of the destination virtual machine is being initiated.

TS_STATUS_VM_RETRYING_MONITORING

0x00000505

Monitoring of the destination virtual machine is being reinitiated.