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

Issue 213423004: Detect IPv6 interface is temporary or not. (Closed)

Created:
6 years, 9 months ago by Mallinath (Gone from Chromium)
Modified:
6 years, 9 months ago
Reviewers:
agl
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cbentzel+watch_chromium.org, jam
Visibility:
Public.

Description

Detect IPv6 interface is temporary or not. If a interface has both permanent and temporary address, then based on the policy setting provide both or temporary address only. Due to privacy concerns webrtc don't want to expose permanent addresses to remote endpoints.

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 32

Patch Set 7 : #

Total comments: 15

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -15 lines) Patch
M content/browser/renderer_host/p2p/socket_dispatcher_host.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M net/base/net_util.h View 1 2 3 4 5 6 7 2 chunks +8 lines, -5 lines 1 comment Download
M net/base/net_util_posix.cc View 1 2 3 4 5 6 7 8 9 6 chunks +99 lines, -7 lines 0 comments Download
M net/base/net_util_win.cc View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Mallinath (Gone from Chromium)
6 years, 9 months ago (2014-03-26 23:47:11 UTC) #1
agl
https://codereview.chromium.org/213423004/diff/40002/net/base/net_util.h File net/base/net_util.h (right): https://codereview.chromium.org/213423004/diff/40002/net/base/net_util.h#newcode534 net/base/net_util.h:534: enum HostScopeVirtualInterfacePolicy { The name and comment of this ...
6 years, 9 months ago (2014-03-27 14:52:52 UTC) #2
Mallinath (Gone from Chromium)
PTAL https://codereview.chromium.org/213423004/diff/40002/net/base/net_util.h File net/base/net_util.h (right): https://codereview.chromium.org/213423004/diff/40002/net/base/net_util.h#newcode534 net/base/net_util.h:534: enum HostScopeVirtualInterfacePolicy { On 2014/03/27 14:52:53, agl wrote: ...
6 years, 9 months ago (2014-03-27 19:04:18 UTC) #3
agl
LGTM https://codereview.chromium.org/213423004/diff/110001/net/base/net_util_posix.cc File net/base/net_util_posix.cc (right): https://codereview.chromium.org/213423004/diff/110001/net/base/net_util_posix.cc#newcode50 net/base/net_util_posix.cc:50: // This method will remove permanent IPv6 address ...
6 years, 9 months ago (2014-03-27 19:11:40 UTC) #4
Mallinath (Gone from Chromium)
https://codereview.chromium.org/213423004/diff/110001/net/base/net_util_posix.cc File net/base/net_util_posix.cc (right): https://codereview.chromium.org/213423004/diff/110001/net/base/net_util_posix.cc#newcode50 net/base/net_util_posix.cc:50: // This method will remove permanent IPv6 address if ...
6 years, 9 months ago (2014-03-27 19:54:18 UTC) #5
agl
LGTM https://codereview.chromium.org/213423004/diff/170001/net/base/net_util.h File net/base/net_util.h (right): https://codereview.chromium.org/213423004/diff/170001/net/base/net_util.h#newcode536 net/base/net_util.h:536: INCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES = 0x2, These are again two different ...
6 years, 9 months ago (2014-03-28 15:31:41 UTC) #6
Mallinath (Gone from Chromium)
6 years, 9 months ago (2014-03-28 17:43:46 UTC) #7
On 2014/03/28 15:31:41, agl wrote:
> LGTM
> 
> https://codereview.chromium.org/213423004/diff/170001/net/base/net_util.h
> File net/base/net_util.h (right):
> 
>
https://codereview.chromium.org/213423004/diff/170001/net/base/net_util.h#new...
> net/base/net_util.h:536: INCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES           =
0x2,
> These are again two different flags, but I believe that only two possibilities
> are reasonable, so it's really just one flag:
> 
> EXCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES = 1,
> INCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES = 0,
> 
> Before you wanted to test EXCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES - but that was
> the zero valued one, that's all.

I am not sure why this CL is not closed yet, as yesterday I committed this CL.

Thanks for the review, I will try to submit your suggestion in a different CL. I
am thinking to 
remove INCLUDE_HOST_SCOPE_VIRTUAL_INTERFACES all together from the code as we
really don't need it.

Powered by Google App Engine
This is Rietveld 408576698