gecko-dev/netwerk/base
Kevin Jacobs 9fa97f5e74 Bug 1678079 - Add PSM support and xpcshell tests for ECH. r=keeler,kershaw
This patch enables PSM and Firefox to use TLS 1.3 Encrypted Client Hello (draft -08). Specifically:
  - Compile NSS with NSS_ENABLE_DRAFT_HPKE=1
  - Add ECH "public_name" handling in SSLServerCertVerification.cpp (see: https://tools.ietf.org/html/draft-ietf-tls-esni-08#section-6.3.2)
  - Adds `mIsAcceptedEch` to TransportSecurityInfo, and xpcshell tests for ECH use cases
  - Adds EncryptedClientHelloServer to facilitate the xpcshell tests
  - Un-ifdef Set/GetEchConfigs code in nsNSSIOLayer.cpp. Also reverted the Base64 encoding and decoding, as the data returned from DNS is already decoded (wire-format).

Differential Revision: https://phabricator.services.mozilla.com/D92651
2020-12-03 21:58:24 +00:00
..
http-sfv Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
mozurl Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
rust-helper Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00
ARefBase.h
ArrayBufferInputStream.cpp
ArrayBufferInputStream.h
AutoClose.h
BackgroundFileSaver.cpp Bug 1272794 - Clean up Digest class API r=keeler,necko-reviewers,valentin 2020-11-11 22:16:38 +00:00
BackgroundFileSaver.h Bug 1272794 - Clean up Digest class API r=keeler,necko-reviewers,valentin 2020-11-11 22:16:38 +00:00
CaptivePortalService.cpp
CaptivePortalService.h
Dashboard.cpp Bug 1677086 - Parse SvcParamKeyAlpn as defined in spec r=necko-reviewers,valentin 2020-11-17 11:07:03 +00:00
Dashboard.h
DashboardTypes.h
DefaultURI.cpp
DefaultURI.h
EventTokenBucket.cpp
EventTokenBucket.h
FuzzyLayer.cpp
FuzzyLayer.h
FuzzySecurityInfo.cpp Bug 1678079 - Add PSM support and xpcshell tests for ECH. r=keeler,kershaw 2020-12-03 21:58:24 +00:00
FuzzySecurityInfo.h
IOActivityMonitor.cpp
IOActivityMonitor.h
IPv6Utils.h
LoadContextInfo.cpp
LoadContextInfo.h
LoadInfo.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
LoadInfo.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
LoadTainting.h
MemoryDownloader.cpp
MemoryDownloader.h
moz.build Bug 1675491 - Count number of bytes send and received over a socket. r=necko-reviewers,valentin 2020-11-16 20:38:25 +00:00
mozIThirdPartyUtil.idl
netCore.h
NetUtil.jsm
NetworkConnectivityService.cpp Bug 1674328 - Make DNS requests use TRR_DISABLED_MODE instead of using RESOLVE_DISABLE_TRR flag r=dragana,necko-reviewers 2020-11-02 10:30:31 +00:00
NetworkConnectivityService.h
NetworkDataCountLayer.cpp Bug 1675491 - Count number of bytes send and received over a socket. r=necko-reviewers,valentin 2020-11-16 20:38:25 +00:00
NetworkDataCountLayer.h Bug 1675491 - Count number of bytes send and received over a socket. r=necko-reviewers,valentin 2020-11-16 20:38:25 +00:00
NetworkInfoServiceCocoa.cpp
NetworkInfoServiceImpl.h
NetworkInfoServiceLinux.cpp
NetworkInfoServiceWindows.cpp
nsASocketHandler.h
nsAsyncRedirectVerifyHelper.cpp Bug 1676365 - Move SpinEventLoopUntil to separate header. r=#xpcom-reviewers 2020-11-23 16:10:41 +00:00
nsAsyncRedirectVerifyHelper.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsAsyncStreamCopier.cpp
nsAsyncStreamCopier.h
nsAuthInformationHolder.cpp
nsAuthInformationHolder.h
nsBase64Encoder.cpp
nsBase64Encoder.h
nsBaseChannel.cpp
nsBaseChannel.h
nsBaseContentStream.cpp
nsBaseContentStream.h
nsBufferedStreams.cpp Bug 1660470 - Avoid including IPCMessageUtils.h from header files. r=nika 2020-11-23 16:03:47 +00:00
nsBufferedStreams.h
nsDirectoryIndexStream.cpp
nsDirectoryIndexStream.h
nsDNSPrefetch.cpp Bug 1667743 - Remove unused esni code r=necko-reviewers,dragana 2020-12-03 12:17:12 +00:00
nsDNSPrefetch.h Bug 1667743 - Remove unused esni code r=necko-reviewers,dragana 2020-12-03 12:17:12 +00:00
nsDownloader.cpp
nsDownloader.h
nsFileStreams.cpp
nsFileStreams.h
nsIApplicationCache.idl
nsIApplicationCacheChannel.idl
nsIApplicationCacheContainer.idl
nsIApplicationCacheService.idl
nsIArrayBufferInputStream.idl
nsIAsyncStreamCopier2.idl
nsIAsyncStreamCopier.idl
nsIAsyncVerifyRedirectCallback.idl
nsIAuthInformation.idl
nsIAuthModule.idl
nsIAuthPrompt2.idl
nsIAuthPrompt.idl
nsIAuthPromptAdapterFactory.idl
nsIAuthPromptCallback.idl
nsIAuthPromptProvider.idl
nsIBackgroundFileSaver.idl
nsIBufferedStreams.idl
nsIByteRangeRequest.idl
nsICacheInfoChannel.idl Bug 1671641 - Make nsICacheInfoChannel.idl syntax correctly. r=valentin,necko-reviewers 2020-10-21 08:00:18 +00:00
nsICachingChannel.idl
nsICancelable.idl
nsICaptivePortalService.idl
nsIChannel.idl
nsIChannelEventSink.idl
nsIChildChannel.idl
nsIClassifiedChannel.idl
nsIClassOfService.idl
nsIContentSniffer.idl
nsIDashboard.idl Bug 1667356 - Show the content of HTTPS RRs in about:networking r=necko-reviewers,fluent-reviewers,flod,dragana,webidl,asuth 2020-10-21 00:52:46 +00:00
nsIDashboardEventNotifier.idl
nsIDeprecationWarner.idl
nsIDHCPClient.idl
nsIDownloader.idl
nsIEncodedChannel.idl
nsIExternalProtocolHandler.idl
nsIFileStreams.idl
nsIFileURL.idl
nsIForcePendingChannel.idl
nsIFormPOSTActionChannel.idl
nsIHttpAuthenticatorCallback.idl
nsIHttpPushListener.idl
nsIIncrementalDownload.idl
nsIIncrementalStreamLoader.idl
nsIInputStreamChannel.idl
nsIInputStreamPump.idl
nsIIOService.idl
nsILoadContextInfo.idl
nsILoadGroup.idl
nsILoadGroupChild.idl
nsILoadInfo.idl Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
nsIMIMEInputStream.idl
nsIMultiPartChannel.idl
nsIncrementalDownload.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsIncrementalStreamLoader.cpp
nsIncrementalStreamLoader.h
nsINestedURI.idl
nsINetAddr.idl
nsINetUtil.idl
nsINetworkConnectivityService.idl
nsINetworkInfoService.idl
nsINetworkInterceptController.idl
nsINetworkLinkService.idl
nsINetworkPredictor.idl
nsINetworkPredictorVerifier.idl
nsInputStreamChannel.cpp
nsInputStreamChannel.h
nsInputStreamPump.cpp
nsInputStreamPump.h
nsINullChannel.idl
nsIOService.cpp Bug 1663213 - Clear DoH cache when the TRRService mode goes from ON to OFF r=necko-reviewers,kershaw 2020-11-27 10:44:28 +00:00
nsIOService.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsIParentChannel.idl
nsIParentRedirectingChannel.idl
nsIPermission.idl
nsIPermissionManager.idl Bug 1675018 - Part 2 - Add PermissionManager::GetAllByTypeSince. r=timhuang 2020-11-17 22:24:55 +00:00
nsIPrivateBrowsingChannel.idl
nsIProgressEventSink.idl
nsIPrompt.idl
nsIProtocolHandler.idl
nsIProtocolProxyCallback.idl
nsIProtocolProxyFilter.idl
nsIProtocolProxyService2.idl
nsIProtocolProxyService.idl
nsIProxiedChannel.idl
nsIProxiedProtocolHandler.idl
nsIProxyInfo.idl
nsIRandomGenerator.idl
nsIRedirectChannelRegistrar.idl
nsIRedirectHistoryEntry.idl
nsIRedirectResultListener.idl
nsIRequest.idl
nsIRequestContext.idl
nsIRequestObserver.idl
nsIRequestObserverProxy.idl
nsIResumableChannel.idl
nsISecCheckWrapChannel.idl
nsISecureBrowserUI.idl
nsISensitiveInfoHiddenURI.idl
nsISerializationHelper.idl
nsIServerSocket.idl
nsISimpleStreamListener.idl
nsISocketFilter.idl
nsISocketTransport.idl Bug 1667743 - Remove unused esni code r=necko-reviewers,dragana 2020-12-03 12:17:12 +00:00
nsISocketTransportService.idl Bug 1626278: Shutdown MediaTransportHandlerSTS on STS shutdown. Also add some logging. r=mjf,valentin 2020-11-19 18:57:42 +00:00
nsISpeculativeConnect.idl
nsIStandardURL.idl
nsIStreamListener.idl
nsIStreamListenerTee.idl
nsIStreamLoader.idl
nsIStreamTransportService.idl
nsISyncStreamListener.idl
nsISystemProxySettings.idl
nsIThreadRetargetableRequest.idl
nsIThreadRetargetableStreamListener.idl
nsIThrottledInputChannel.idl
nsITimedChannel.idl
nsITLSServerSocket.idl
nsITraceableChannel.idl
nsITransport.idl
nsIUDPSocket.idl
nsIUploadChannel2.idl
nsIUploadChannel.idl
nsIURI.idl
nsIURIMutator.idl
nsIURIMutatorUtils.cpp
nsIURIWithSpecialOrigin.idl
nsIURL.idl
nsIURLParser.idl
nsLoadGroup.cpp Bug 1675500 - Add more telemetry about http transactions r=necko-reviewers,valentin 2020-11-12 02:12:06 +00:00
nsLoadGroup.h
nsMediaFragmentURIParser.cpp
nsMediaFragmentURIParser.h
nsMIMEInputStream.cpp
nsMIMEInputStream.h
nsNetAddr.cpp
nsNetAddr.h
nsNetSegmentUtils.h
nsNetUtil.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsNetUtil.h Bug 1671367 - Add overloads of NS_NewLocal*FileStream functions returning a Result and use them. r=dom-workers-and-storage-reviewers,necko-reviewers,asuth 2020-11-17 19:30:05 +00:00
nsNetworkInfoService.cpp
nsNetworkInfoService.h Bug 1678062 - Remove unnecessary includes. r=andi 2020-11-23 16:12:02 +00:00
nsPACMan.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsPACMan.h
nsPISocketTransportService.idl
nsPreloadedStream.cpp
nsPreloadedStream.h
nsProtocolProxyService.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
nsProtocolProxyService.h Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,necko-reviewers,dragana 2020-10-22 07:36:15 +00:00
nsProxyInfo.cpp
nsProxyInfo.h
nsReadLine.h
nsRedirectHistoryEntry.cpp
nsRedirectHistoryEntry.h
nsRequestObserverProxy.cpp
nsRequestObserverProxy.h
nsSerializationHelper.cpp
nsSerializationHelper.h
nsServerSocket.cpp Bug 1672219 - nsServerSocket fd should not be inheritable by the child process r=necko-reviewers,dragana 2020-10-23 06:44:33 +00:00
nsServerSocket.h
nsSimpleNestedURI.cpp
nsSimpleNestedURI.h
nsSimpleStreamListener.cpp
nsSimpleStreamListener.h
nsSimpleURI.cpp
nsSimpleURI.h
nsSocketTransport2.cpp Bug 1667743 - Remove unused esni code r=necko-reviewers,dragana 2020-12-03 12:17:12 +00:00
nsSocketTransport2.h Bug 1667743 - Remove unused esni code r=necko-reviewers,dragana 2020-12-03 12:17:12 +00:00
nsSocketTransportService2.cpp Bug 1667743 - Remove unused esni code r=necko-reviewers,dragana 2020-12-03 12:17:12 +00:00
nsSocketTransportService2.h Bug 1667743 - Remove unused esni code r=necko-reviewers,dragana 2020-12-03 12:17:12 +00:00
nsStandardURL.cpp Bug 1671908 - Take ISO-2022-JP ASCII overlap into account when encoding URL query strings. r=necko-reviewers,valentin 2020-10-27 09:44:00 +00:00
nsStandardURL.h Bug 1519636 - Reformat with clang-format-11 to the Google coding style r=andi,sg,geckoview-reviewers,snorp 2020-11-18 09:05:59 +00:00
nsStreamListenerTee.cpp
nsStreamListenerTee.h
nsStreamListenerWrapper.cpp
nsStreamListenerWrapper.h
nsStreamLoader.cpp
nsStreamLoader.h
nsStreamTransportService.cpp
nsStreamTransportService.h
nsSyncStreamListener.cpp Bug 1676365 - Move SpinEventLoopUntil to separate header. r=#xpcom-reviewers 2020-11-23 16:10:41 +00:00
nsSyncStreamListener.h
nsTransportUtils.cpp
nsTransportUtils.h
nsUDPSocket.cpp
nsUDPSocket.h
nsURIHashKey.h
nsURLHelper.cpp Bug 1673682 - Add missing include. r=fix. CLOSED TREE 2020-11-13 12:14:29 +02:00
nsURLHelper.h Bug 1673682 - Remove redundant URLParam ctor/dtor. r=valentin,necko-reviewers 2020-11-10 13:05:21 +00:00
nsURLHelperOSX.cpp
nsURLHelperUnix.cpp
nsURLHelperWin.cpp
nsURLParsers.cpp
nsURLParsers.h
PartiallySeekableInputStream.cpp
PartiallySeekableInputStream.h
PollableEvent.cpp
PollableEvent.h Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
Predictor.cpp Bug 1667743 - Remove unused esni code r=necko-reviewers,dragana 2020-12-03 12:17:12 +00:00
Predictor.h
PrivateBrowsingChannel.h
ProxyAutoConfig.cpp Bug 1676365 - Move SpinEventLoopUntil to separate header. r=#xpcom-reviewers 2020-11-23 16:10:41 +00:00
ProxyAutoConfig.h
RedirectChannelRegistrar.cpp
RedirectChannelRegistrar.h
RequestContextService.cpp Bug 1660470 - Add missing include directives/forward declarations. r=nika 2020-11-23 16:21:38 +00:00
RequestContextService.h
ShutdownLayer.cpp
ShutdownLayer.h
SimpleBuffer.cpp
SimpleBuffer.h
SimpleChannel.cpp
SimpleChannel.h
SimpleChannelParent.cpp
SimpleChannelParent.h
SSLTokensCache.cpp
SSLTokensCache.h
TCPFastOpen.h
TCPFastOpenLayer.cpp
TCPFastOpenLayer.h
ThrottleQueue.cpp
ThrottleQueue.h
Tickler.cpp
Tickler.h
TLSServerSocket.cpp
TLSServerSocket.h
TRRLoadInfo.cpp Bug 1646474 - Remove LoadInfo::mDocumentHasLoaded. r=nika,necko-reviewers 2020-11-10 12:45:22 +00:00
TRRLoadInfo.h