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

Unified Diff: components/policy/resources/policy_templates.json

Issue 209323002: New policies: enable/disable relay; port range (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed android build. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | remoting/client/jni/chromoting_jni_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/policy/resources/policy_templates.json
diff --git a/components/policy/resources/policy_templates.json b/components/policy/resources/policy_templates.json
index a59a6e73a2d0a4c23df7dbdcc87c01fe15ca9e70..00e7706ce1b3648ad2730f5630e1a2593e8b495f 100644
--- a/components/policy/resources/policy_templates.json
+++ b/components/policy/resources/policy_templates.json
@@ -118,7 +118,7 @@
# persistent IDs for all fields (but not for groups!) are needed. These are
# specified by the 'id' keys of each policy. NEVER CHANGE EXISTING IDs,
# because doing so would break the deployed wire format!
-# For your editing convenience: highest ID currently used: 262
+# For your editing convenience: highest ID currently used: 264
#
# Placeholders:
# The following placeholder strings are automatically substituted:
@@ -542,7 +542,7 @@
'example_value': False,
'id': 95,
'caption': '''Enable firewall traversal from remote access host''',
- 'desc': '''Enables usage of STUN and relay servers when remote clients are trying to establish a connection to this machine.
+ 'desc': '''Enables usage of STUN servers when remote clients are trying to establish a connection to this machine.
If this setting is enabled, then remote clients can discover and connect to this machines even if they are separated by a firewall.
@@ -658,6 +658,42 @@
If this setting is disabled or not configured, gnubby authentication requests will not be proxied.''',
},
+ {
+ 'name': 'RemoteAccessHostAllowRelayedConnection',
+ 'type': 'main',
+ 'schema': { 'type': 'boolean' },
+ 'supported_on': ['chrome.*:36-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': False,
+ },
+ 'example_value': False,
+ 'id': 263,
+ 'caption': '''Enable the use of relay servers by the remote access host''',
+ 'desc': '''Enables usage of relay servers when remote clients are trying to establish a connection to this machine.
+
+ If this setting is enabled, then remote clients can use relay servers to connect to this machine when a direct connection is not available (e.g. due to firewall restrictions).
+
+ Note that if the policy <ph name="REMOTEACCESSHOSTFIREWALLTRAVERSAL_POLICY_NAME">RemoteAccessHostFirewallTraversal</ph> is disabled, this policy will be ignored.
+
+ If this policy is left not set the setting will be enabled.''',
+ },
+ {
+ 'name': 'RemoteAccessHostUdpPortRange',
+ 'type': 'string',
+ 'schema': { 'type': 'string' },
+ 'supported_on': ['chrome.*:36-'],
+ 'features': {
+ 'dynamic_refresh': True,
+ 'per_profile': False,
+ },
+ 'example_value': '12400-12409',
+ 'id': 264,
+ 'caption': '''Restrict the UDP port range used by the remote access host''',
+ 'desc': '''Restricts the UDP port range used by the remote access host in this machine.
+
+ If this policy is left not set, or if it is set to an empty string, the remote access host will be allowed to use any available port, unless the policy <ph name="REMOTEACCESSHOSTFIREWALLTRAVERSAL_POLICY_NAME">RemoteAccessHostFirewallTraversal</ph> is disabled, in which case the remote access host will use UDP ports in the 12400-12409 range.''',
+ },
],
},
{
« no previous file with comments | « chrome/test/data/policy/policy_test_cases.json ('k') | remoting/client/jni/chromoting_jni_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698