Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporarily disable Windows network diagnostic button; permanently disable DNS diagnostic probes #1601

Closed
wants to merge 2 commits into from

Conversation

diracdeltas
Copy link
Member

@diracdeltas diracdeltas commented Feb 6, 2019

1st commit:
quick fix for brave/brave-browser#3249;
however this is fixed upstream in https://chromium.googlesource.com/chromium/src.git/+/e005fff9c838a13ff1402b01617adca691187a6b%5E%21/; we may just want to cherry-pick that commit? not sure if we have a procedure for doing that. I don't think we want to wait for Chromium 74 in order to get this fix out given the impact on Tor.

2nd commit:
defense in depth to ensure DNS probes are disabled

Test plan (windows only)

  1. Go to a non-existent site like dklfjdkafjdkafj.com
  2. You should no longer see a link that says 'Running Windows Network
    Diagnostics'

Submitter Checklist:

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Verified that these changes build without errors on
    • Windows
    • macOS
    • Linux
  • Verified that these changes pass automated tests (npm test brave_unit_tests && npm test brave_browser_tests) on
    • Windows
    • macOS
    • Linux
  • Ran git rebase master (if needed).
  • Ran git rebase -i to squash commits (if needed).
  • Tagged reviewers and labelled the pull request as needed.
  • Request a security/privacy review as needed.
  • Add appropriate QA labels (QA/Yes or QA/No) to include the closed issue in milestone

Test Plan:

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions
  • Verify test plan is specified in PR before merging to source

@diracdeltas diracdeltas self-assigned this Feb 6, 2019
Quick fix brave/brave-browser#3249;
can revert once
https://bugs.chromium.org/p/chromium/issues/detail?id=929141 is fixed.

Test plan (windows only)
1. Go to a non-existent site like dklfjdkafjdkafj.com
2. You should not see a button that says 'Running Windows Network
   Diagnostics'
@diracdeltas
Copy link
Member Author

chromium already opened a fix: https://chromium.googlesource.com/chromium/src.git/+/e005fff9c838a13ff1402b01617adca691187a6b

we may want to just use that instead (cherry-pick into next release)

These probes should already be disabled by default because
kAlternateErrorPagesEnabled is false by default in Brave.

This patch makes it impossible to enable these probes, since they could
cause Tor leaks.

partial fix brave/brave-browser#3249
@diracdeltas diracdeltas changed the title Temporarily disable Windows network diagnostic button Temporarily disable Windows network diagnostic button; permanently disable DNS diagnostic probes Feb 7, 2019
@diracdeltas
Copy link
Member Author

going to redo this using the upstream commit

@diracdeltas diracdeltas closed this Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant