From a80131c06e22067228f87c1ce73ac462a8835ded Mon Sep 17 00:00:00 2001 From: Seth Hall Date: Thu, 5 Apr 2018 17:13:10 -0400 Subject: [PATCH] Updating the defined SMB2 dialects to match Microsofts current docs. --- scripts/base/protocols/smb/consts.bro | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/base/protocols/smb/consts.bro b/scripts/base/protocols/smb/consts.bro index 862a0ae693..f36d029be9 100644 --- a/scripts/base/protocols/smb/consts.bro +++ b/scripts/base/protocols/smb/consts.bro @@ -255,10 +255,12 @@ export { } &default=function(i: count): string { return fmt("unknown-%d", i); }; const dialects: table[count] of string = { - [0x0202] = "2.002", + [0x0202] = "2.0.2", [0x0210] = "2.1", [0x0300] = "3.0", - [0x0302] = "3.02", + [0x0302] = "3.0.2", + [0x0311] = "3.1.1", + [0x02FF] = "2.1+", } &default=function(i: count): string { return fmt("unknown-%d", i); }; const share_types: table[count] of string = {