:tocdepth: 3

base/protocols/rdp/consts.bro
=============================
.. bro:namespace:: RDP


:Namespace: RDP
:Source File: :download:`/scripts/base/protocols/rdp/consts.bro`

Summary
~~~~~~~
Constants
#########
====================================================================================================================== =
:bro:id:`RDP::builds`: :bro:type:`table` :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`             
:bro:id:`RDP::cert_types`: :bro:type:`table` :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`         
:bro:id:`RDP::color_depths`: :bro:type:`table` :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`       
:bro:id:`RDP::encryption_levels`: :bro:type:`table` :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`  
:bro:id:`RDP::encryption_methods`: :bro:type:`table` :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional` 
:bro:id:`RDP::failure_codes`: :bro:type:`table` :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`      
:bro:id:`RDP::high_color_depths`: :bro:type:`table` :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`  
:bro:id:`RDP::languages`: :bro:type:`table` :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`          
:bro:id:`RDP::results`: :bro:type:`table` :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`            
:bro:id:`RDP::security_protocols`: :bro:type:`table` :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional` 
====================================================================================================================== =


Detailed Interface
~~~~~~~~~~~~~~~~~~
Constants
#########
.. bro:id:: RDP::builds

   :Type: :bro:type:`table` [:bro:type:`count`] of :bro:type:`string`
   :Attributes: :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`
   :Default:

   ::

      {
         [2195] = "RDP 5.0",
         [2221] = "RDP 5.0",
         [7601] = "RDP 7.1",
         [2600] = "RDP 5.1",
         [3790] = "RDP 5.2",
         [6002] = "RDP 6.2",
         [7600] = "RDP 7.0",
         [6000] = "RDP 6.0",
         [25282] = "RDP 8.0 (Mac)",
         [419] = "RDP 4.0",
         [6001] = "RDP 6.1",
         [9600] = "RDP 8.1",
         [25189] = "RDP 8.0 (Mac)",
         [9200] = "RDP 8.0"
      }


.. bro:id:: RDP::cert_types

   :Type: :bro:type:`table` [:bro:type:`count`] of :bro:type:`string`
   :Attributes: :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`
   :Default:

   ::

      {
         [1] = "RSA",
         [2] = "X.509"
      }


.. bro:id:: RDP::color_depths

   :Type: :bro:type:`table` [:bro:type:`count`] of :bro:type:`string`
   :Attributes: :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`
   :Default:

   ::

      {
         [1] = "24bit",
         [8] = "32bit",
         [4] = "15bit",
         [2] = "16bit"
      }


.. bro:id:: RDP::encryption_levels

   :Type: :bro:type:`table` [:bro:type:`count`] of :bro:type:`string`
   :Attributes: :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`
   :Default:

   ::

      {
         [0] = "None",
         [1] = "Low",
         [4] = "FIPS",
         [2] = "Client compatible",
         [3] = "High"
      }


.. bro:id:: RDP::encryption_methods

   :Type: :bro:type:`table` [:bro:type:`count`] of :bro:type:`string`
   :Attributes: :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`
   :Default:

   ::

      {
         [0] = "None",
         [1] = "40bit",
         [8] = "56bit",
         [10] = "FIPS",
         [2] = "128bit"
      }


.. bro:id:: RDP::failure_codes

   :Type: :bro:type:`table` [:bro:type:`count`] of :bro:type:`string`
   :Attributes: :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`
   :Default:

   ::

      {
         [1] = "SSL_REQUIRED_BY_SERVER",
         [6] = "SSL_WITH_USER_AUTH_REQUIRED_BY_SERVER",
         [4] = "INCONSISTENT_FLAGS",
         [2] = "SSL_NOT_ALLOWED_BY_SERVER",
         [5] = "HYBRID_REQUIRED_BY_SERVER",
         [3] = "SSL_CERT_NOT_ON_SERVER"
      }


.. bro:id:: RDP::high_color_depths

   :Type: :bro:type:`table` [:bro:type:`count`] of :bro:type:`string`
   :Attributes: :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`
   :Default:

   ::

      {
         [8] = "8bit",
         [4] = "4bit",
         [24] = "24bit",
         [16] = "16bit",
         [15] = "15bit"
      }


.. bro:id:: RDP::languages

   :Type: :bro:type:`table` [:bro:type:`count`] of :bro:type:`string`
   :Attributes: :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`
   :Default:

   ::

      {
         [3081] = "English - Australia",
         [9226] = "Spanish - Colombia",
         [10249] = "English - Belize",
         [1057] = "Indonesian",
         [15369] = "English - Hong Kong SAR",
         [1073] = "Tsonga",
         [1027] = "Catalan",
         [1158] = "K'iche",
         [1155] = "Corsican",
         [2143] = "Tamazight (Latin)",
         [1075] = "Venda",
         [1133] = "Bashkir",
         [1094] = "Punjabi",
         [2115] = "Uzbek (Cyrillic)",
         [4108] = "French - Switzerland",
         [14348] = "French - Morocco",
         [2067] = "Dutch - Belgium",
         [16394] = "Spanish - Bolivia",
         [1114] = "Syriac",
         [2108] = "Irish",
         [4100] = "Chinese - Singapore",
         [1101] = "Assamese",
         [2073] = "Russian - Moldava",
         [1053] = "Swedish",
         [7177] = "English - South Africa",
         [2064] = "Italian - Switzerland",
         [1030] = "Danish",
         [1059] = "Belarusian",
         [1136] = "Igbo - Nigeria",
         [2060] = "French - Belgium",
         [9217] = "Arabic - Yemen",
         [15361] = "Arabic - Bahrain",
         [1112] = "Manipuri",
         [3098] = "Serbian (Cyrillic)",
         [1055] = "Turkish",
         [1150] = "Breton",
         [4097] = "Arabic - Libya",
         [1137] = "Kanuri - Nigeria",
         [1032] = "Greek",
         [17418] = "Spanish - El Salvador",
         [15370] = "Spanish - Paraguay",
         [14346] = "Spanish - Uruguay",
         [1091] = "Uzbek (Latin)",
         [1102] = "Marathi",
         [1115] = "Sinhalese - Sri Lanka",
         [2145] = "Nepali - India",
         [2137] = "Sindhi - Pakistan",
         [1081] = "Hindi",
         [14345] = "English - Indonesia",
         [1121] = "Nepali",
         [1132] = "Sepedi",
         [1069] = "Basque",
         [1062] = "Latvian",
         [1098] = "Telugu",
         [1152] = "Uighur - China",
         [1037] = "Hebrew",
         [1107] = "Khmer",
         [1058] = "Ukrainian",
         [15372] = "French - Haiti",
         [1048] = "Romanian",
         [13322] = "Spanish - Chile",
         [1090] = "Turkmen",
         [2052] = "Chinese - People's Republic of China",
         [1026] = "Bulgarian",
         [1100] = "Malayalam",
         [2128] = "Mongolian (Mongolian)",
         [1131] = "Quecha - Bolivia",
         [1120] = "Kashmiri (Arabic)",
         [1092] = "Tatar",
         [1084] = "Scottish Gaelic",
         [1051] = "Slovak",
         [1038] = "Hungarian",
         [18441] = "English - Singapore",
         [1033] = "English - United States",
         [1135] = "Greenlandic",
         [18442] = "Spanish - Honduras",
         [1063] = "Lithuanian",
         [2155] = "Quecha - Ecuador",
         [2129] = "Tibetan - Bhutan",
         [1130] = "Yoruba",
         [6153] = "English - Ireland",
         [1122] = "French - West Indies",
         [1079] = "Georgian",
         [1080] = "Faroese",
         [10252] = "French - Senegal",
         [1146] = "Mapudungun",
         [1159] = "Kinyarwanda",
         [1088] = "Kyrgyz (Cyrillic)",
         [1103] = "Sanskrit",
         [21514] = "Spanish - United States",
         [1124] = "Filipino",
         [1156] = "Alsatian",
         [1043] = "Dutch - Netherlands",
         [1071] = "FYRO Macedonian",
         [13313] = "Arabic - Kuwait",
         [1117] = "Inuktitut",
         [1068] = "Azeri (Latin)",
         [6156] = "French - Monaco",
         [1039] = "Icelandic",
         [1144] = "Yi",
         [1056] = "Urdu",
         [2055] = "German - Switzerland",
         [10241] = "Arabic - Syria",
         [5146] = "Bosnian (Bosnia/Herzegovina)",
         [8193] = "Arabic - Oman",
         [1034] = "Spanish - Spain (Traditional Sort)",
         [1128] = "Hausa - Nigeria",
         [14337] = "Arabic - U.A.E.",
         [13324] = "French - Mali",
         [5132] = "French - Luxembourg",
         [12298] = "Spanish - Ecuador",
         [1139] = "Tigrigna - Ethiopia",
         [3084] = "French - Canada",
         [1127] = "Fulfulde - Nigeria",
         [1089] = "Swahili",
         [1077] = "Zulu",
         [5124] = "Chinese - Macao SAR",
         [1050] = "Croatian",
         [1111] = "Konkani",
         [1083] = "Sami (Lappish)",
         [1076] = "Xhosa",
         [12289] = "Arabic - Lebanon",
         [58380] = "French - North Africa",
         [2144] = "Kashmiri",
         [2049] = "Arabic - Iraq",
         [2118] = "Punjabi (Pakistan)",
         [1060] = "Slovenian",
         [7178] = "Spanish - Dominican Republic",
         [19466] = "Spanish - Nicaragua",
         [1105] = "Tibetan - People's Republic of China",
         [1086] = "Malay - Malaysia",
         [1074] = "Tswana",
         [1061] = "Estonian",
         [3073] = "Arabic - Egypt",
         [1078] = "Afrikaans - South Africa",
         [1042] = "Korean",
         [2163] = "Tigrigna - Eritrea",
         [1160] = "Wolof",
         [1157] = "Yakut",
         [7180] = "French - West Indies",
         [1148] = "Mohawk",
         [2070] = "Portuguese - Portugal",
         [10250] = "Spanish - Peru",
         [1064] = "Tajik",
         [16385] = "Arabic - Qatar",
         [1082] = "Maltese",
         [2077] = "Swedish - Finland",
         [1054] = "Thai",
         [2117] = "Bengali (Bangladesh)",
         [1044] = "Norwegian (Bokm\xc3\xa5l)",
         [4122] = "Croatian (Bosnia/Herzegovina)",
         [13321] = "English - Philippines",
         [1142] = "Latin",
         [1129] = "Ibibio - Nigeria",
         [1087] = "Kazakh",
         [5130] = "Spanish - Costa Rica",
         [12300] = "French - Cote d'Ivoire",
         [3179] = "Quecha - Peru\x09CB",
         [1066] = "Vietnamese",
         [9225] = "English - Caribbean",
         [1067] = "Armenian - Armenia",
         [1123] = "Pashto",
         [6154] = "Spanish - Panama",
         [1065] = "Farsi",
         [1110] = "Galician",
         [11265] = "Arabic - Jordan",
         [1040] = "Italian - Italy",
         [1046] = "Portuguese - Brazil",
         [1143] = "Somali",
         [22538] = "Spanish - Latin America",
         [9228] = "French - Democratic Rep. of Congo",
         [4105] = "English - Canada",
         [1070] = "Sorbian",
         [11274] = "Spanish - Argentina",
         [2092] = "Azeri (Cyrillic)",
         [1029] = "Czech",
         [1108] = "Lao",
         [17417] = "English - Malaysia",
         [1052] = "Albanian - Albania",
         [11276] = "French - Cameroon",
         [1097] = "Tamil",
         [1164] = "Dari",
         [1126] = "Edo",
         [1104] = "Mongolian (Cyrillic)",
         [1099] = "Kannada",
         [2110] = "Malay - Brunei Darussalam",
         [1279] = "HID (Human Interface Device)",
         [1125] = "Divehi",
         [2058] = "Spanish - Mexico",
         [1085] = "Yiddish",
         [5121] = "Arabic - Algeria",
         [3082] = "Spanish - Spain (Modern Sort)",
         [4106] = "Spanish - Guatemala",
         [1119] = "Tamazight (Arabic)",
         [2057] = "English - United Kingdom",
         [2074] = "Serbian (Latin)",
         [1041] = "Japanese",
         [8201] = "English - Jamaica",
         [8202] = "Spanish - Venezuela",
         [1109] = "Burmese",
         [1031] = "German - Germany",
         [1028] = "Chinese - Taiwan",
         [1096] = "Oriya",
         [1045] = "Polish",
         [5127] = "German - Liechtenstein",
         [3076] = "Chinese - Hong Kong SAR",
         [11273] = "English - Trinidad",
         [1036] = "French - France",
         [1106] = "Welsh",
         [6145] = "Arabic - Morocco",
         [5129] = "English - New Zealand",
         [1093] = "Bengali (India)",
         [1141] = "Hawaiian - United States",
         [1035] = "Finnish",
         [8204] = "French - Reunion",
         [1153] = "Maori - New Zealand",
         [1138] = "Oromo",
         [1047] = "Rhaeto-Romanic",
         [4103] = "German - Luxembourg",
         [12297] = "English - Zimbabwe",
         [1095] = "Gujarati",
         [7169] = "Arabic - Tunisia",
         [1134] = "Luxembourgish",
         [1145] = "Papiamentu",
         [2072] = "Romanian - Moldava",
         [1140] = "Guarani - Paraguay",
         [1025] = "Arabic - Saudi Arabia",
         [1049] = "Russian",
         [16393] = "English - India",
         [1118] = "Amharic - Ethiopia",
         [1154] = "Occitan",
         [1116] = "Cherokee - United States",
         [2068] = "Norwegian (Nynorsk)",
         [1072] = "Sutu",
         [2080] = "Urdu - India",
         [3079] = "German - Austria",
         [1113] = "Sindhi - India",
         [20490] = "Spanish - Puerto Rico"
      }


.. bro:id:: RDP::results

   :Type: :bro:type:`table` [:bro:type:`count`] of :bro:type:`string`
   :Attributes: :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`
   :Default:

   ::

      {
         [0] = "Success",
         [1] = "User rejected",
         [4] = "Locked conference",
         [2] = "Resources not available",
         [3] = "Rejected for symmetry breaking"
      }


.. bro:id:: RDP::security_protocols

   :Type: :bro:type:`table` [:bro:type:`count`] of :bro:type:`string`
   :Attributes: :bro:attr:`&default` = :bro:type:`function` :bro:attr:`&optional`
   :Default:

   ::

      {
         [0] = "RDP",
         [1] = "SSL",
         [8] = "HYBRID_EX",
         [2] = "HYBRID"
      }



