rdp: add Restricted authentication mode flags dissection

Dissect the Restricted authentication mode flags in RDP_NEG_RSP packets according to
MS-RDPBCGR 2.2.1.2.1
This commit is contained in:
David Fort 2021-02-12 16:32:40 +01:00 committed by AndersBroman
parent 24acef0885
commit 5260be8ab6
1 changed files with 6 additions and 0 deletions

View File

@ -101,6 +101,7 @@ static int hf_rdp_negRsp_flags = -1;
static int hf_rdp_negRsp_flag_extended_client_data_supported = -1;
static int hf_rdp_negRsp_flag_dynvc_gfx_protocol_supported = -1;
static int hf_rdp_negRsp_flag_restricted_admin_mode_supported = -1;
static int hf_rdp_negRsp_flag_restricted_authentication_mode_supported = -1;
static int hf_rdp_selectedProtocol = -1;
static int hf_rdp_selectedProtocol_flag_ssl = -1;
static int hf_rdp_selectedProtocol_flag_hybrid = -1;
@ -2211,6 +2212,7 @@ dissect_rdpNegRsp(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tre
&hf_rdp_negRsp_flag_extended_client_data_supported,
&hf_rdp_negRsp_flag_dynvc_gfx_protocol_supported,
&hf_rdp_negRsp_flag_restricted_admin_mode_supported,
&hf_rdp_negRsp_flag_restricted_authentication_mode_supported,
NULL
};
static int * const selectedProtocol_bits[] = {
@ -2384,6 +2386,10 @@ proto_register_rdp(void) {
{ "Restricted admin mode supported", "rdp.negRsp.flags.restricted_admin_mode_supported",
FT_BOOLEAN, 8, NULL, 0x08,
NULL, HFILL }},
{ &hf_rdp_negRsp_flag_restricted_authentication_mode_supported,
{ "Restricted authentication mode supported", "rdp.negRsp.flags.restricted_authentication_mode_supported",
FT_BOOLEAN, 8, NULL, 0x10,
NULL, HFILL }},
{ &hf_rdp_selectedProtocol,
{ "selectedProtocol", "rdp.negReq.selectedProtocol",
FT_UINT32, BASE_HEX, NULL, 0,