Граф коммитов

1606 Коммитов

Автор SHA1 Сообщение Дата
Valentin Gosu 6d96a49d68 Bug 1656862 - Record telemetry for TRR_DISABLED_FLAG r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D85738
2020-08-03 12:26:54 +00:00
mcccs 72d02a2cb3 Bug 1623302 - Prioritize IPv6 addresses in merge_rrset. r=valentin,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D85010
2020-08-03 11:10:12 +00:00
ffxbld 22530e66a4 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=jcristau
Differential Revision: https://phabricator.services.mozilla.com/D85411
2020-07-31 14:47:51 +00:00
Shane Caraveo 2369b54b63 Bug 1649813 test dns api failure when forwarding dns to socks proxy r=mayhemer,necko-reviewers,dragana
Differential Revision: https://phabricator.services.mozilla.com/D83006
2020-07-23 18:50:49 +00:00
ffxbld faed2506ca No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D84699
2020-07-23 14:25:47 +00:00
ffxbld 20a3d243c6 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D84173
2020-07-20 14:26:08 +00:00
Kershaw Chang ec9d1eb9d5 Bug 1652762 - Make mURISetByDetection an Atomic, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D83616
2020-07-20 08:18:48 +00:00
Csoregi Natalia 11c9a13919 Backed out changeset d745eb8f40b3 (bug 1649813) for causing awsy proxy failures. CLOSED TREE 2020-07-17 18:57:54 +03:00
Shane Caraveo d928462307 Bug 1649813 test dns api failure when forwarding dns to socks proxy r=mayhemer,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83006
2020-07-17 12:28:48 +00:00
ffxbld ec8efdbd5d No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D83814
2020-07-16 17:22:56 +00:00
Bogdan Tara fa2970e944 Backed out changeset 617c0511e0c8 (bug 1649813) for test_ext_dns.js failures CLOSED TREE 2020-07-15 22:57:19 +03:00
Shane Caraveo 58b5281a4f Bug 1649813 test dns api failure when forwarding dns to socks proxy r=mayhemer,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D83006
2020-07-15 14:35:32 +00:00
Frederik Braun a7153982e8 Bug 1366973: Rename security flags to not contain DATA anymore r=geckoview-reviewers,ckerschb,snorp
Differential Revision: https://phabricator.services.mozilla.com/D83490
2020-07-15 11:20:45 +00:00
Valentin Gosu 0475d7a7ba Bug 1650356 - Call IsExcludedFromTRR in TRR::SendHTTPRequest r=dragana,necko-reviewers
Since IsTemporarilyBlocked no longer calls IsExcludedFromTRR we have to do
this explicitly at this call site.

Differential Revision: https://phabricator.services.mozilla.com/D82221
2020-07-11 19:32:57 +00:00
Valentin Gosu 05e121315d Bug 1650356 - Make the TRRBLStorage a hashtable r=dragana,necko-reviewers
We also wrap it in a DataMutex to allow use on any thread

Differential Revision: https://phabricator.services.mozilla.com/D82220
2020-07-11 19:32:45 +00:00
Valentin Gosu 0606ff0236 Bug 1650356 - Rename TRR Blacklist to TRR blocklist r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D82219
2020-07-11 19:32:27 +00:00
Valentin Gosu b91c38a902 Bug 1650356 - Clear TRR blocklist when confirmation is done r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D82218
2020-07-11 19:32:15 +00:00
Valentin Gosu b04567bbc7 Bug 1649143 - Just call NativeLookup when retrying for TTL r=dragana,necko-reviewers
There is done in order to make sure we don't go though NameLookup again
and try to figure out why skipped TRR again.

Differential Revision: https://phabricator.services.mozilla.com/D82169
2020-07-11 19:32:07 +00:00
Valentin Gosu 4106c61ff1 Bug 1649143 - Record telemetry with reason we fell back to Do53 r=dragana,necko-reviewers
This patch attempts to record the reason why we fall back to DNS.
I considered using categorical probes for this, but they have a max limit of
20 categories, so we have to use a linear probe. I chose 50 buckets to allow
us to add more failure reasons in the future.

The recorded values are defined in nsHostRecord::TRRSkippedReason.
nsHostRecord::RecordReason is called whenever we encounter a condition that
will cause us to skip TRR in nsHostResolver.

For failures that occur inside TRR.cpp, each TRR object holds its own reason
that is recorded in a similar way. When all TRR requests are complete we
report the one that failed (or if both failed we report the one for the A
request).

Due to the fact that we might also follow CNAME requests, and the final
TRR request might not be the one that was issued at first, TRR requests
must pass back the reason as an argument to CompleteLookup.

Finally, this patch records the reason in two probes:
TRR_SKIP_REASON_TRR_FIRST - only reported in TRR-first mode
TRR_SKIP_REASON_DNS_WORKED - only reported in TRR-first mode when the
  fallback DNS request succeeded. This allows us to filter for complete
  network failures.

Differential Revision: https://phabricator.services.mozilla.com/D82168
2020-07-11 19:32:05 +00:00
Kris Maglione 9d78661f88 Bug 1649221: Update ChromeUtils.generateQI callers to pass strings. r=mccr8,remote-protocol-reviewers,marionette-reviewers,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,preferences-reviewers,agi,whimboo,Bebe,twisniewski
Differential Revision: https://phabricator.services.mozilla.com/D81594
2020-07-10 23:58:28 +00:00
Narcis Beleuzu d27be427c9 Backed out changeset 83749e9e67bd (bug 1220810) for bc failures on browser_fall_back_to_https.js . CLOSED TREE 2020-07-10 18:42:17 +03:00
Andrea Marchesini 23052342cb Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 14:30:58 +00:00
Mihai Alexandru Michis b62be4d15f Backed out changeset 1b035d80fb9f (bug 1220810) for causing bustages in netwerk/dns/DNS.cpp
CLOSED TREE
2020-07-10 17:17:20 +03:00
Andrea Marchesini f498accc17 Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 13:08:14 +00:00
Mihai Alexandru Michis 44cad01e29 Backed out changeset 1b44f13206d0 (bug 1220810) for causing gecko decision task bustages.
CLOSED TREE
2020-07-10 15:37:45 +03:00
Andrea Marchesini 2144af13e9 Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 12:23:46 +00:00
Mihai Alexandru Michis 61006875dd Backed out changeset 36f368ba214c (bug 1220810) for causing gecko decision task bustages.
CLOSED TREE
2020-07-10 15:00:15 +03:00
Andrea Marchesini f36d351374 Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D64586
2020-07-10 11:34:10 +00:00
Valentin Gosu 6dd9cb9291 Bug 1649127 - Only trigger confirmation in TRR-first and TRR-only modes r=dragana,necko-reviewers
Due to a change in timing in this patch, when we reset the confirmation pref
at the end of the test, a TRR request would happen after we changed the prefs
leading to accessing a non-local IP in testing and causing a crash.
This should be gated on being in the correct mode anyway

Depends on D81517

Differential Revision: https://phabricator.services.mozilla.com/D82222
2020-07-04 15:39:45 +00:00
Valentin Gosu 9b25e934ea Bug 1649127 - Make sure we only set AddrHostRecord::mTRRUsed = true when TRRServiceChannel::AsyncOpen succeeds r=dragana,necko-reviewers
mTRRUsed is a variable that we check to gate several telemetry probes, and to
decide if TRR really failed and we should add a domain to the TRR blocklist.
The problem with setting this too early is that when this is true but we
don't actually send the TRR request, then we will report that we fell back
to Do53 and potentially skip next TRR requests in the future.

The solution here is to only set mTRRUsed if TRRServiceChannel::AsyncOpen
succeeds.

Differential Revision: https://phabricator.services.mozilla.com/D81517
2020-07-07 10:08:28 +00:00
Razvan Maries 9da7f3cb73 Backed out 2 changesets (bug 1649127) for perma failures on test_trr.js. CLOSED TREE
Backed out changeset d967c48fa147 (bug 1649127)
Backed out changeset 17e5b3f78f03 (bug 1649127)
2020-07-04 18:30:54 +03:00
Valentin Gosu acc4997769 Bug 1649127 - Only trigger confirmation in TRR-first and TRR-only modes r=dragana,necko-reviewers
Due to a change in timing in this patch, when we reset the confirmation pref
at the end of the test, a TRR request would happen after we changed the prefs
leading to accessing a non-local IP in testing and causing a crash.
This should be gated on being in the correct mode anyway

Depends on D81517

Differential Revision: https://phabricator.services.mozilla.com/D82222
2020-07-04 13:08:30 +00:00
Valentin Gosu a38929f26f Bug 1649127 - Make sure we only set AddrHostRecord::mTRRUsed = true when TRRServiceChannel::AsyncOpen succeeds r=dragana,necko-reviewers
mTRRUsed is a variable that we check to gate several telemetry probes, and to
decide if TRR really failed and we should add a domain to the TRR blocklist.
The problem with setting this too early is that when this is true but we
don't actually send the TRR request, then we will report that we fell back
to Do53 and potentially skip next TRR requests in the future.

The solution here is to only set mTRRUsed if TRRServiceChannel::AsyncOpen
succeeds.

Differential Revision: https://phabricator.services.mozilla.com/D81517
2020-07-04 13:08:15 +00:00
Mihai Alexandru Michis e587ecf789 Backed out changeset 16ff0a677ab2 (bug 1649127) for causing failures in nsHostResolver.cpp
CLOSED TREE
2020-07-04 00:01:32 +03:00
Valentin Gosu 2d46993c30 Bug 1649127 - Make sure we only set AddrHostRecord::mTRRUsed = true when TRRServiceChannel::AsyncOpen succeeds r=dragana,necko-reviewers
mTRRUsed is a variable that we check to gate several telemetry probes, and to
decide if TRR really failed and we should add a domain to the TRR blocklist.
The problem with setting this too early is that when this is true but we
don't actually send the TRR request, then we will report that we fell back
to Do53 and potentially skip next TRR requests in the future.

The solution here is to only set mTRRUsed if TRRServiceChannel::AsyncOpen
succeeds.

Differential Revision: https://phabricator.services.mozilla.com/D81517
2020-07-03 09:17:44 +00:00
ffxbld 079e757071 No Bug, mozilla-central repo-update HSTS HPKP remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D82025
2020-07-02 14:34:09 +00:00
Valentin Gosu d65a630d7b Bug 1618271 - Fail DNS requests when proxy is in use r=mayhemer,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D80889
2020-07-01 16:49:19 +00:00
Valentin Gosu 722b5f1b24 Bug 1618271 - Move network.proxy.type to StaticPrefList.yaml r=mayhemer,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D80888
2020-07-01 16:49:05 +00:00
Valentin Gosu c5c364d39b Bug 1649417 - Don't perform unnecessary DoH CNAME requests r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D81721
2020-07-01 12:34:15 +00:00
Valentin Gosu b6daaa1aa8 Bug 1649401 - Default initializer for TRR constructors r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D81674
2020-07-01 12:34:03 +00:00
Valentin Gosu 6e82d17bea Bug 1649401 - Remove unused mStartTime r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D81673
2020-07-01 12:34:56 +00:00
Simon Giesecke 9364b353d4 Bug 1648010 - Remove NS_NAMED_LITERAL_CSTRING and NS_NAMED_LITERAL_STRING macros. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D80631
2020-07-01 08:42:31 +00:00
Simon Giesecke cd8b8939b9 Bug 1648010 - Replace uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals. r=geckoview-reviewers,jgilbert,agi,hsivonen,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D80860
2020-07-01 08:29:29 +00:00
Valentin Gosu da614ff256 Bug 1641222 - Follow CNAME/AliasForm chains r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D79264
2020-06-30 12:27:09 +00:00
Kershaw Chang adf7461931 Bug 1637648 - P5: Create mConfirmer when network.trr.confirmationNS is changed r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D78887
2020-06-23 11:11:49 +00:00
Kershaw Chang 87c26faa97 Bug 1637648 - P2: Make TRRServiceParent use nsIOService to forward observer notifications r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D77306
2020-06-23 11:11:16 +00:00
Butkovits Atila c1c17273e8 Backed out changeset ce1a126dcf10 (bug 1641222) for failures at test_trr_httpssvc.js. CLOSED TREE 2020-06-23 12:48:49 +03:00
Valentin Gosu cb869c015c Bug 1641222 - Follow CNAME/AliasForm chains r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D79264
2020-06-22 13:24:19 +00:00
Kershaw Chang 27ef4c0347 Bug 1645486 - The TRR thread assertions should not depend on network_trr_fetch_off_main_thread pref r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D79537
2020-06-22 11:10:21 +00:00
Butkovits Atila 16a71ee2b8 Backed out changeset 4e775c2385b2 (bug 1641222) for causing failure at test_trr_httpssvc_wrap.js. CLOSED TREE 2020-06-16 14:49:01 +03:00