diff options
author | Bill Meier <wmeier@newsguy.com> | 2012-08-16 17:03:07 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2012-08-16 17:03:07 +0000 |
commit | cf706ca547250734383228381f9e2ae4d6091840 (patch) | |
tree | fc26cc8b309be6e5e5707152c946ac34a4109edc /epan/dissectors/packet-smb2.h | |
parent | 832b999c2c9791dab610164d310d582bb6367fcf (diff) |
From Stefan Metzmacher: Updates for the SMB2/3
This patches add some missing things for SMB2/3 and support for decryption
of SMB3 traffic
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7645
From me: Change an initializer from C99 to C89 style (since the
Microsoft compiler doesn't support C99).
svn path=/trunk/; revision=44542
Diffstat (limited to 'epan/dissectors/packet-smb2.h')
-rw-r--r-- | epan/dissectors/packet-smb2.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/epan/dissectors/packet-smb2.h b/epan/dissectors/packet-smb2.h index 10bb46727c..efed5c41bb 100644 --- a/epan/dissectors/packet-smb2.h +++ b/epan/dissectors/packet-smb2.h @@ -70,6 +70,9 @@ typedef struct _smb2_sesid_info_t { char *acct_name; char *domain_name; char *host_name; + guint16 server_port; + guint8 client_decryption_key[16]; + guint8 server_decryption_key[16]; GHashTable *tids; } smb2_sesid_info_t; @@ -92,6 +95,7 @@ typedef struct _smb2_conv_info_t { #define SMB2_FLAGS_CHAINED 0x00000004 #define SMB2_FLAGS_SIGNATURE 0x00000008 #define SMB2_FLAGS_DFS_OP 0x10000000 +#define SMB2_FLAGS_REPLAY_OPERATION 0x20000000 typedef struct _smb2_info_t { guint16 opcode; guint32 ioctl_function; @@ -113,7 +117,9 @@ typedef struct _smb2_transform_info_t { guint8 nonce[16]; guint32 size; guint16 alg; - guint8 session_id[8]; + guint64 sesid; + smb2_conv_info_t *conv; + smb2_sesid_info_t *session; } smb2_transform_info_t; |