Skip to content

Commit c75df38

Browse files
TDS 8.0 improvements
TDS 8 code improvements New reports with visualizations
1 parent 335d22f commit c75df38

File tree

15 files changed

+605
-76
lines changed

15 files changed

+605
-76
lines changed
47.9 KB
Loading
74.2 KB
Loading
0 Bytes
Binary file not shown.
3.5 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

SQL_Network_Analyzer/SQLNA/ConversationData.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public class ConversationData // - constructed in Get
3333
public ArrayList packets = new ArrayList(); // - packet added in CreatingPacketsFromFrames
3434
// SQL-specific values
3535
public bool hasTDS = false; // - set in ProcessTDS
36+
public bool hasTDS8 = false; // - set in ProcessTDS
3637
public bool isSQL = false; // - set in ProcessTDS
3738
public bool isEncrypted = false; // - set in GetServerPreloginInfo
3839
public bool isEncRequired = false; // - set in

SQL_Network_Analyzer/SQLNA/OutputText.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,8 @@ private static void DisplaySQLServerSummary(NetworkTrace Trace)
273273
"Kerb Conv:R",
274274
"NTLM Conv:R",
275275
"MARS Conv:R",
276-
"non-TLS 1.2 Conv:R",
276+
"Weak TLS Conv:R", // TLS 1.1 and below
277+
"TDS8 Conv:R",
277278
"Redirected Conv:R",
278279
"Frames:R",
279280
"Bytes:R",
@@ -295,6 +296,7 @@ private static void DisplaySQLServerSummary(NetworkTrace Trace)
295296
int NTLMResponseCount = 0;
296297
int MARSCount = 0;
297298
int lowTLSVersionCount = 0;
299+
int tds8Count = 0;
298300

299301
foreach (ConversationData c in s.conversations)
300302
{
@@ -323,7 +325,8 @@ private static void DisplaySQLServerSummary(NetworkTrace Trace)
323325
int lastConvFile = Trace.files.IndexOf(((FrameData)(c.frames[c.frames.Count - 1])).file);
324326
if (lastConvFile > lastFile) lastFile = lastConvFile; // the last conversation may not end last, so we have to check
325327
if (c.hasIntegratedSecurity) integratedCount++;
326-
if (c.hasNTLMResponse == true) NTLMResponseCount += 1;
328+
if (c.hasNTLMResponse == true) NTLMResponseCount++;
329+
if (c.hasTDS8) tds8Count++;
327330
}
328331

329332
if (totalResets > 0) s.hasResets = true;
@@ -345,6 +348,7 @@ private static void DisplaySQLServerSummary(NetworkTrace Trace)
345348
NTLMResponseCount.ToString(),
346349
MARSCount.ToString(),
347350
lowTLSVersionCount.ToString(),
351+
tds8Count.ToString(),
348352
(from ConversationData conv in s.conversations where conv.hasRedirectedConnection select conv).Count().ToString(),
349353
totalFrames.ToString(),
350354
totalBytes.ToString("#,##0"),

SQL_Network_Analyzer/SQLNA/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.5.1975.0")]
36-
[assembly: AssemblyFileVersion("1.5.1975.0")]
35+
[assembly: AssemblyVersion("1.5.1993.0")]
36+
[assembly: AssemblyFileVersion("1.5.1993.0")]

0 commit comments

Comments
 (0)