Blame wireshark-netlogon-aes.patch

Jan Safranek bbf97f
Add AES support to netlogon
Jan Safranek bbf97f
Jan Safranek bbf97f
commit 2312194e96d9501549bff6c285ddfae82515e963
Jan Safranek bbf97f
Author: etxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Jan Safranek bbf97f
Date:   Sun Mar 4 16:07:24 2012 +0000
Jan Safranek bbf97f
Jan Safranek bbf97f
    "From Jan Šafránek: Add support for AES in Microsoft Network Logon Negotiation options https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6895"
Jan Safranek bbf97f
    
Jan Safranek bbf97f
    git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41337 f5534014-38df-0310-8fa8-9805f1628bb7
Jan Safranek bbf97f
Jan Safranek bbf97f
diff --git a/epan/dissectors/packet-dcerpc-netlogon.c b/epan/dissectors/packet-dcerpc-netlogon.c
Jan Safranek bbf97f
index 859334a..04d494f 100644
Jan Safranek bbf97f
--- a/epan/dissectors/packet-dcerpc-netlogon.c
Jan Safranek bbf97f
+++ b/epan/dissectors/packet-dcerpc-netlogon.c
Jan Safranek bbf97f
@@ -6671,12 +6671,12 @@ static int netlogon_dissect_neg_options(tvbuff_t *tvb,proto_tree *tree,guint32 f
Jan Safranek bbf97f
           hf_netlogon_neg_flags_2000000,
Jan Safranek bbf97f
           tvb, offset, 4, flags);
Jan Safranek bbf97f
           proto_tree_add_boolean (negotiate_flags_tree,
Jan Safranek bbf97f
-          hf_netlogon_neg_flags_1000000,
Jan Safranek bbf97f
-          tvb, offset, 4, flags);
Jan Safranek bbf97f
-          proto_tree_add_boolean (negotiate_flags_tree,
Jan Safranek bbf97f
           hf_netlogon_neg_flags_800000,
Jan Safranek bbf97f
           tvb, offset, 4, flags);*/
Jan Safranek bbf97f
         proto_tree_add_boolean (negotiate_flags_tree,
Jan Safranek bbf97f
+                                hf_netlogon_neg_flags_1000000,
Jan Safranek bbf97f
+                                tvb, offset, 4, flags);
Jan Safranek bbf97f
+        proto_tree_add_boolean (negotiate_flags_tree,
Jan Safranek bbf97f
                                 hf_netlogon_neg_flags_400000,
Jan Safranek bbf97f
                                 tvb, offset, 4, flags);
Jan Safranek bbf97f
         proto_tree_add_boolean (negotiate_flags_tree,
Jan Safranek bbf97f
@@ -8821,7 +8821,7 @@ proto_register_dcerpc_netlogon(void)
Jan Safranek bbf97f
           { "Not used 2000000", "ntlmssp.neg_flags.na200000", FT_BOOLEAN, 32, TFS(&tfs_set_notset), NETLOGON_FLAG_2000000, "Not used", HFILL }},
Jan Safranek bbf97f
 
Jan Safranek bbf97f
         { &hf_netlogon_neg_flags_1000000,
Jan Safranek bbf97f
-          { "Not used 1000000", "ntlmssp.neg_flags.na100000", FT_BOOLEAN, 32, TFS(&tfs_set_notset), NETLOGON_FLAG_1000000, "Not used", HFILL }},
Jan Safranek bbf97f
+          { "AES supported", "ntlmssp.neg_flags.na100000", FT_BOOLEAN, 32, TFS(&tfs_set_notset), NETLOGON_FLAG_1000000, "AES", HFILL }},
Jan Safranek bbf97f
 
Jan Safranek bbf97f
         { &hf_netlogon_neg_flags_800000,
Jan Safranek bbf97f
           { "Not used 800000", "ntlmssp.neg_flags.na8000000", FT_BOOLEAN, 32, TFS(&tfs_set_notset), NETLOGON_FLAG_800000, "Not used", HFILL }},