0

Allow port 6566 to be unblocked via policy

Add "6566" as an option to the ExplicitlyAllowedNetworkPorts policy.

BUG=1210775

Change-Id: I7eb632f95c30cb851756fc6f0e829b8c891100e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2905039
Commit-Queue: Adam Rice <ricea@chromium.org>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Reviewed-by: Julian Pastarmov <pastarmovj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#886546}
This commit is contained in:
Adam Rice
2021-05-26 01:28:38 +00:00
committed by Chromium LUCI CQ
parent 4db21aa996
commit 9caf977fee
2 changed files with 15 additions and 1 deletions
components/policy/resources
net/base

@ -25776,6 +25776,7 @@ When this policy is set, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex><
'enum': [
'554',
'10080',
'6566',
],
},
},
@ -25801,7 +25802,18 @@ When this policy is set, <ph name="PRODUCT_OS_NAME">$2<ex>Google Chrome OS</ex><
'chrome_os:91-99',
'webview_android:91-99'
],
}
},
{
'name': '6566',
'value': '6566',
'caption': '''port 6566 (expires 2021/10/15)''',
'supported_on': [
'chrome.*:91-94',
'android:91-94',
'chrome_os:91-94',
'webview_android:91-94'
],
},
],
'supported_on': ['chrome.*:91-', 'android:91-', 'chrome_os:91-', 'webview_android:91-'],
'features': {

@ -158,6 +158,8 @@ base::LazyInstance<std::multiset<int>>::Leaky g_explicitly_allowed_ports =
constexpr int kAllowablePorts[] = {
// TODO(https://crbug.com/1199642) Remove port 554 around 2021/10/15.
554,
// TODO(https://crbig.com/1210779) Remove port 6566 around 2021/08/12.
6566,
// TODO(https://crbug.com/1196846) Remove port 10080 around 2022/04/01.
10080,
};