DescriptionAdd 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 : #
Messages
Total messages: 34 (12 generated)
|