diff --git a/OrbitalBeat.go b/OrbitalBeat.go index 9b0638f..84592ff 100644 --- a/OrbitalBeat.go +++ b/OrbitalBeat.go @@ -275,6 +275,9 @@ func handleQueryRequest(ctx httputils.RequestContext, identifier cid.Cid, extraA case tls.VersionTLS13: atomic.AddUint64(&globalStatistics.Tls.Version.Tls13, 1) default: + if debugOutput { + log.Printf("Unknown TLS version %d", ctx.GetTLSVersion()) + } atomic.AddUint64(&globalStatistics.Tls.Version.Other, 1) } @@ -302,6 +305,9 @@ func handleQueryRequest(ctx httputils.RequestContext, identifier cid.Cid, extraA case tls.TLS_AES_256_GCM_SHA384: atomic.AddUint64(&globalStatistics.Tls.Cipher.AES_256_GCM_SHA384, 1) default: + if debugOutput { + log.Printf("Unknown TLS cipher %d", ctx.GetTLSCipher()) + } atomic.AddUint64(&globalStatistics.Tls.Cipher.Other, 1) }