W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > October 2017

Re: [webrtc-pc] Adding more values to RTCIceTransportPolicy Enum

From: jianjunz via GitHub <sysbot+gh@w3.org>
Date: Fri, 27 Oct 2017 05:26:44 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-339876198-1509082003-sysbot+gh@w3.org>
How about adding a new value "default-route-and-relay" which corresponding to Mode 3? "default-route-and-relay" and "relay" can be choose by web application without additional permission request. "all" only available when user granted "collecting all candidates" permission.

Reasons for using Mode 3 and why it does not need permission request:
- Compared with Mode 2, Mode 3 does not provide default route's local address which is unavailable in traditional web applications either.
- The public IP of default route already known by web server because of HTTP traffic. So I think no additional permission are required for "default-route-and-relay".
- Knowing which is the "default" route is a little bit hard for web applications. Many approaches need server side support.
- Exposing the IP of default route may significantly reduce proxy server/relay server's cost, while it still protects VPN user's privacy.

@aboba, I'll submit a PR to this repo if there is no objections to the suggestion above. But I'm afraid I cannot submit PRs to the permission spec at this time since I'm not a member of WebAppSec WG. Maybe I can submit an issue first. 

Here is a related discussion in WebKit community: https://bugs.webkit.org/show_bug.cgi?id=174500


-- 
GitHub Notification of comment by jianjunz
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1644#issuecomment-339876198 using your GitHub account
Received on Friday, 27 October 2017 05:26:46 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 9 October 2019 15:14:56 UTC