Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Issue 1035803003: Fail DNS resolution if the result contains 127.0.53.53. (Closed)

Created:
5 years, 9 months ago by eroman
Modified:
5 years, 9 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fail DNS resolution if the result contains 127.0.53.53. ICANN designated the IPv4 address 127.0.53.53 as meaning a name collision occurred during resolution (as a way to discover real world conflicts around the new gTLDs). This change makes such resolutions now fail with: ICANN_NAME_COLLISION. IP literals are exempt from the policy and will continue to work as before (meaning you can still navigate to http://127.0.53.53). This only affects IPv4 results. BUG=470704 Committed: https://crrev.com/91dd3606d627036287f32bb449b09c170a0765cf Cr-Commit-Position: refs/heads/master@{#322309}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fix unittest #

Total comments: 2

Patch Set 3 : Add 3 more test cases #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -0 lines) Patch
M net/base/net_error_list.h View 1 chunk +6 lines, -0 lines 0 comments Download
M net/dns/host_resolver_impl.cc View 2 chunks +22 lines, -0 lines 0 comments Download
M net/dns/host_resolver_impl_unittest.cc View 1 2 1 chunk +47 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
eroman
This applies to both the system host resolver, and the chrome dns resolver (however I ...
5 years, 9 months ago (2015-03-26 00:01:21 UTC) #2
mmenke
On 2015/03/26 00:01:21, eroman wrote: > This applies to both the system host resolver, and ...
5 years, 9 months ago (2015-03-26 00:17:40 UTC) #3
eroman
@mmenke: Correct. I was planning on sending that as a separate CL
5 years, 9 months ago (2015-03-26 00:32:14 UTC) #4
Ryan Sleevi
https://codereview.chromium.org/1035803003/diff/1/net/dns/host_resolver_impl.cc File net/dns/host_resolver_impl.cc (right): https://codereview.chromium.org/1035803003/diff/1/net/dns/host_resolver_impl.cc#newcode729 net/dns/host_resolver_impl.cc:729: error = ERR_INTERNET_DISCONNECTED; Well this is weird -_- Swallows ...
5 years, 9 months ago (2015-03-26 00:32:30 UTC) #5
eroman
https://codereview.chromium.org/1035803003/diff/1/net/dns/host_resolver_impl_unittest.cc File net/dns/host_resolver_impl_unittest.cc (right): https://codereview.chromium.org/1035803003/diff/1/net/dns/host_resolver_impl_unittest.cc#newcode1336 net/dns/host_resolver_impl_unittest.cc:1336: EXPECT_EQ(ERR_FAILED, request->WaitForResult()); On 2015/03/26 00:32:29, Ryan Sleevi wrote: > ...
5 years, 9 months ago (2015-03-26 00:39:31 UTC) #6
Ryan Sleevi
lgtm https://codereview.chromium.org/1035803003/diff/20001/net/dns/host_resolver_impl_unittest.cc File net/dns/host_resolver_impl_unittest.cc (right): https://codereview.chromium.org/1035803003/diff/20001/net/dns/host_resolver_impl_unittest.cc#newcode1329 net/dns/host_resolver_impl_unittest.cc:1329: proc_->AddRuleForAllFamilies("ipv6", "::127.0.53.53"); I can't quite put my finger ...
5 years, 9 months ago (2015-03-26 00:44:36 UTC) #7
eroman
https://codereview.chromium.org/1035803003/diff/20001/net/dns/host_resolver_impl_unittest.cc File net/dns/host_resolver_impl_unittest.cc (right): https://codereview.chromium.org/1035803003/diff/20001/net/dns/host_resolver_impl_unittest.cc#newcode1329 net/dns/host_resolver_impl_unittest.cc:1329: proc_->AddRuleForAllFamilies("ipv6", "::127.0.53.53"); On 2015/03/26 00:44:36, Ryan Sleevi wrote: > ...
5 years, 9 months ago (2015-03-26 00:55:08 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1035803003/40001
5 years, 9 months ago (2015-03-26 03:01:01 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 9 months ago (2015-03-26 03:46:39 UTC) #12
commit-bot: I haz the power
5 years, 9 months ago (2015-03-26 03:47:51 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/91dd3606d627036287f32bb449b09c170a0765cf
Cr-Commit-Position: refs/heads/master@{#322309}

Powered by Google App Engine
This is Rietveld 408576698