gecko-dev/netwerk/socket
Dennis Jackson 7a55bf9c23 Bug 1780014: Add specific telemetry for conservative and first-try handshakes. r=keeler.
This patch adds two new telemetry histograms which collect specific types
of TLS handshake seperately from existing handshakes.
 - The conservative histogram tracks handshakes used for essential connections (e.g. update checks)
 - The first-try histogram tracks all initial connection attempts. This allows us to identify issues that might otherwise be masked by our retry logic.

A single handshake may belong to more than one histogram. All handshakes belong to the root histogram.
As the histogram buckets are aligned, it is possible to derive new histograms from these stored results.
For example, as ECH GREASE is only used on first-try handshakes, the histogram from non-GREASE first-try
handshakes can be calculated by subtracting the entries in the GREASE histogram from the first-try histogram.

This patch also extends the existing handshake necko tests to verify that the telemetry is recorded correctly.
Telemetry checks don't run if networking is running on the socket process as the histograms are no longer
accessible.

Differential Revision: https://phabricator.services.mozilla.com/D150754
2022-07-21 11:02:32 +00:00
..
neqo
neqo_glue Backed out 2 changesets (bug 1772092) for causing frequent crashes (bug 1774118 and bug 1774125). a=backout 2022-06-14 10:16:35 +02:00
moz.build
nsINamedPipeService.idl
nsISOCKSSocketInfo.idl
nsISSLSocketControl.idl Bug 1770869 - remove nsISSLSocketControl.clientCert r=jschanck,necko-reviewers,kershaw 2022-06-01 23:20:58 +00:00
nsISocketProvider.idl Bug 1780014: Add specific telemetry for conservative and first-try handshakes. r=keeler. 2022-07-21 11:02:32 +00:00
nsISocketProviderService.idl
nsITransportSecurityInfo.idl Bug 1754037 - Part 3a: Manual changes to new ParamTraits API, r=ipc-reviewers,mccr8 2022-03-04 15:39:40 +00:00
nsNamedPipeIOLayer.cpp Bug 1766561 - Use proper formatting directives in various places. r=gfx-reviewers,nika,necko-reviewers,mhowell,rkraesig,bytesized,kershaw 2022-05-03 20:49:09 +00:00
nsNamedPipeIOLayer.h
nsNamedPipeService.cpp Bug 1766561 - Use proper formatting directives in various places. r=gfx-reviewers,nika,necko-reviewers,mhowell,rkraesig,bytesized,kershaw 2022-05-03 20:49:09 +00:00
nsNamedPipeService.h Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
nsSOCKSIOLayer.cpp
nsSOCKSIOLayer.h
nsSOCKSSocketProvider.cpp Bug 1769380 - Remove the unused nsSOCKSSocketProvider::CreateV4 and CreateV5. r=necko-reviewers,kershaw 2022-05-16 14:03:33 +00:00
nsSOCKSSocketProvider.h Bug 1769380 - Remove the unused nsSOCKSSocketProvider::CreateV4 and CreateV5. r=necko-reviewers,kershaw 2022-05-16 14:03:33 +00:00
nsSocketProviderService.cpp
nsSocketProviderService.h
nsUDPSocketProvider.cpp
nsUDPSocketProvider.h