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

Issue 916873004: Add a Preference to allow WebRTC only bind to "any address" (all 0s) (Closed)

Created:
5 years, 10 months ago by guoweis_left_chromium
Modified:
5 years, 10 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a Preference to allow WebRTC only bind to "any address" (all 0s). This way, no local IP or private ISP's public IP leaked when VPN is the default route. Add webrtc.multiple_routes_enabled preference to RendererPreferences. Default is true. When set to false, a new port allocator flag will be passed to P2PPortAllocator which will have WebRTC only bind to all 0s (any address) IP and the default route will be used as how chrome/http is routed. Each rtc_peer_connection_handler is associated with a WebFrame and it leads to a webview and then the mapping RenderViewImpl which has RendererPreferences that we care. The corresponding webrtc change is at https://webrtc-codereview.appspot.com/39129004 BUG=333752 Committed: https://crrev.com/7c98bab02128ae9fdc4fcc9a9df38588af86290e Cr-Commit-Position: refs/heads/master@{#317047}

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -10 lines) Patch
M chrome/browser/renderer_preferences_util.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser_ui_prefs.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M content/common/view_messages.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/public/common/renderer_preferences.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/public/common/renderer_preferences.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/webrtc/peer_connection_dependency_factory.cc View 1 2 6 chunks +27 lines, -10 lines 0 comments Download
M content/renderer/p2p/port_allocator.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/p2p/port_allocator.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (12 generated)
guoweis_left_chromium
wfh@chromium.org: Please review changes in view_message.h sky@chromium.org: Please review changes in chrome/* juberti@chromium.org: Please review ...
5 years, 10 months ago (2015-02-18 04:40:43 UTC) #2
guoweis_left_chromium
On 2015/02/18 04:40:43, guoweis_chromium wrote: > mailto:wfh@chromium.org: Please review changes in view_message.h > > mailto:sky@chromium.org: ...
5 years, 10 months ago (2015-02-18 04:41:40 UTC) #3
juberti2
p2p code lgtm https://codereview.chromium.org/916873004/diff/1/chrome/browser/ui/browser_ui_prefs.cc File chrome/browser/ui/browser_ui_prefs.cc (right): https://codereview.chromium.org/916873004/diff/1/chrome/browser/ui/browser_ui_prefs.cc#newcode162 chrome/browser/ui/browser_ui_prefs.cc:162: prefs::kWebRTCMultipleRoutesDisabled, probably clearer to have kWebRTCMultipleRoutesEnabled, ...
5 years, 10 months ago (2015-02-18 07:01:55 UTC) #4
perkj_chrome
https://codereview.chromium.org/916873004/diff/1/content/renderer/media/webrtc/peer_connection_dependency_factory.cc File content/renderer/media/webrtc/peer_connection_dependency_factory.cc (right): https://codereview.chromium.org/916873004/diff/1/content/renderer/media/webrtc/peer_connection_dependency_factory.cc#newcode395 content/renderer/media/webrtc/peer_connection_dependency_factory.cc:395: blink::WebFrame* web_frame, Here you have the web_frame. Please read ...
5 years, 10 months ago (2015-02-18 08:10:08 UTC) #5
Will Harris
ipc messages lgtm
5 years, 10 months ago (2015-02-18 08:23:51 UTC) #6
guoweis_left_chromium
On 2015/02/18 08:23:51, Will Harris wrote: > ipc messages lgtm Perkj, PTAL.
5 years, 10 months ago (2015-02-18 12:30:23 UTC) #8
perkj_chrome
media/ lgtm
5 years, 10 months ago (2015-02-18 12:47:21 UTC) #9
juberti2
On 2015/02/18 12:47:21, perkj wrote: > media/ lgtm lgtm
5 years, 10 months ago (2015-02-18 18:41:55 UTC) #12
Charlie Reis
content/common LGTM
5 years, 10 months ago (2015-02-18 19:01:47 UTC) #13
Charlie Reis
On 2015/02/18 19:01:47, Charlie Reis wrote: > content/common LGTM rather, content/public/common LGTM
5 years, 10 months ago (2015-02-18 19:02:10 UTC) #14
guoweis_left_chromium
thakis@chromium.org: Please review changes in chrome/* https://codereview.chromium.org/916873004/diff/1/chrome/browser/ui/browser_ui_prefs.cc File chrome/browser/ui/browser_ui_prefs.cc (right): https://codereview.chromium.org/916873004/diff/1/chrome/browser/ui/browser_ui_prefs.cc#newcode162 chrome/browser/ui/browser_ui_prefs.cc:162: prefs::kWebRTCMultipleRoutesDisabled, On 2015/02/18 ...
5 years, 10 months ago (2015-02-18 19:20:36 UTC) #17
guoweis_left_chromium
PTAL chrome/*
5 years, 10 months ago (2015-02-18 19:21:41 UTC) #18
Nico
chrome lgtm from a code point of view, but I don't understand how this pref ...
5 years, 10 months ago (2015-02-18 19:28:01 UTC) #19
guoweis_left_chromium
On 2015/02/18 19:28:01, Nico wrote: > chrome lgtm from a code point of view, but ...
5 years, 10 months ago (2015-02-18 19:36:12 UTC) #20
Nico
On 2015/02/18 19:36:12, guoweis_chromium wrote: > On 2015/02/18 19:28:01, Nico wrote: > > chrome lgtm ...
5 years, 10 months ago (2015-02-18 19:45:41 UTC) #21
sky
chrome LGTM
5 years, 10 months ago (2015-02-18 22:18:37 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/916873004/80001
5 years, 10 months ago (2015-02-19 06:49:05 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/916873004/100001
5 years, 10 months ago (2015-02-19 07:06:51 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/43769)
5 years, 10 months ago (2015-02-19 07:20:23 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/916873004/100001
5 years, 10 months ago (2015-02-19 14:26:24 UTC) #32
commit-bot: I haz the power
Committed patchset #5 (id:100001)
5 years, 10 months ago (2015-02-19 14:54:59 UTC) #33
commit-bot: I haz the power
5 years, 10 months ago (2015-02-19 14:55:43 UTC) #34
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7c98bab02128ae9fdc4fcc9a9df38588af86290e
Cr-Commit-Position: refs/heads/master@{#317047}

Powered by Google App Engine
This is Rietveld 408576698