From 010ebccd806675eeb4d24a8f3ebaf9192048f9de Mon Sep 17 00:00:00 2001 From: Hubert Kario Date: Sun, 6 Apr 2014 14:17:24 +0200 Subject: [PATCH] extend SSL stats Two interesting server configurations are ones that support only SSL3 or TLS1 only (old, but otherwise correctly configured servers) and ones that support only TLS1.1 or up (brave admins that support only new clients) --- top1m/parse_results.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/top1m/parse_results.py b/top1m/parse_results.py index 06c4152..66eede9 100644 --- a/top1m/parse_results.py +++ b/top1m/parse_results.py @@ -219,6 +219,10 @@ for r,d,flist in os.walk(path): protocolstats['TLS1'] += 1 if not SSL2 and not SSL3 and not TLS1_1 and not TLS1_2: protocolstats['TLS1 Only'] += 1 + if not SSL2 and (SSL3 or TLS1) and not TLS1_1 and not TLS1_2: + protocolstats['SSL3 or TLS1 Only'] += 1 + if not SSL2 and not SSL3 and not TLS1: + protocolstats['TLS1.1 or up Only'] += 1 if TLS1_1: protocolstats['TLS1.1'] += 1 if not SSL2 and not SSL3 and not TLS1 and not TLS1_2: