Closed
Bug 1475420
Opened 6 years ago
Closed 6 years ago
TRR timeout when using TRR to open TRR channel
Categories
(Core :: Networking: DNS, defect)
Core
Networking: DNS
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox61 | --- | unaffected |
firefox62 | --- | fixed |
firefox63 | --- | fixed |
People
(Reporter: mcmanus, Assigned: mcmanus)
Details
(Whiteboard: [trr])
Attachments
(1 file)
59 bytes,
text/x-review-board-request
|
bagder
:
review+
valentin
:
review+
lizzard
:
approval-mozilla-beta+
|
Details |
the initial trr channel falls back to native dns beacuse the NS check has never passed. however, its possible to get into a state where 1] there is no open trr channel 2] the origin is not in the dns cache 3] the ns check succeeded in the past and then we get into a deadlock of the trr channel trying to look itself up using trr. it times out and life goes on - this is a little more obvious on the esni branch but this is a general trr bug. this patch marks the TRR channel as DISABLE_TRR to avoid the loop. I confirmed the patch works ok in TRR_ONLY mode because the bootstrap code doesn't look at channel flags at all.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•6 years ago
|
Attachment #8991780 -
Flags: review?(valentin.gosu)
Comment 3•6 years ago
|
||
mozreview-review |
Comment on attachment 8991780 [details] Bug 1475420 - mark the TRR connection as DISABLE_TRR to avoid TXT deadlock https://reviewboard.mozilla.org/r/256706/#review263660
Attachment #8991780 -
Flags: review?(valentin.gosu) → review+
Pushed by mcmanus@ducksong.com: https://hg.mozilla.org/integration/autoland/rev/cbcbae48a940 mark the TRR connection as DISABLE_TRR to avoid TXT deadlock r=valentin
Comment 5•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/cbcbae48a940
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Comment 6•6 years ago
|
||
mozreview-review |
Comment on attachment 8991780 [details] Bug 1475420 - mark the TRR connection as DISABLE_TRR to avoid TXT deadlock https://reviewboard.mozilla.org/r/256706/#review263876
Attachment #8991780 -
Flags: review?(daniel) → review+
Updated•6 years ago
|
Assignee: nobody → mcmanus
Version: 50 Branch → unspecified
Assignee | ||
Updated•6 years ago
|
status-firefox61:
--- → unaffected
status-firefox62:
--- → affected
Assignee | ||
Comment 7•6 years ago
|
||
Comment on attachment 8991780 [details] Bug 1475420 - mark the TRR connection as DISABLE_TRR to avoid TXT deadlock Approval Request Comment [Feature/Bug causing the regression]: TRR (DoH) - original bug on 62, not a regression [User impact if declined]: pauses in DNS resolution when DoH is enabled, especially after hard refreshes [Is this code covered by automated tests?]: yes, though the timing is not verified [Has the fix been verified in Nightly?]: yes [Needs manual test from QE? If yes, steps to reproduce]: no [List of other uplifts needed for the feature/fix]: na [Is the change risky?]: no [Why is the change risky/not risky?]: DoH is not enabled by default on 62, but we'd like to do pref/shield studies that target it [String changes made/needed]: none
Attachment #8991780 -
Flags: approval-mozilla-beta?
Comment 8•6 years ago
|
||
Comment on attachment 8991780 [details] Bug 1475420 - mark the TRR connection as DISABLE_TRR to avoid TXT deadlock Looks like DoH studies are coming soon for 63, while I don't see anything in the works for 62, this seems OK to uplift in case we plan one during 62 release.
Attachment #8991780 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Assignee | ||
Comment 9•6 years ago
|
||
thanks! some background - the goal is to have the 62 doh code be as complete as the 63 code. Primarily to support manual testing. (obviously there are limits to that, but this is a low risk change). There will likely be a beta-based DoH study on the horizon - though I suspect beta will be on 63 when that happens.. but its nice to be prepared just in case.
Comment 10•6 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/5bf0dbc446bb
You need to log in
before you can comment on or make changes to this bug.
Description
•