Bug 1702512: Add 53 to the list of allowed ports for webrtc. r=mjf

This is sometimes used by deployments that want to work around NATs that
block UDP.

Depends on D110948

Differential Revision: https://phabricator.services.mozilla.com/D110949
This commit is contained in:
Byron Campen [:bwc] 2021-04-06 18:49:48 +00:00
parent b686a3669d
commit 0049349e84

View File

@ -289,6 +289,7 @@ static NrIceCtx::Policy toNrIcePolicy(dom::RTCIceTransportPolicy aPolicy) {
// list of known acceptable ports for webrtc
int16_t gGoodWebrtcPortList[] = {
53, // Some deplyoments use DNS port to punch through overzealous NATs
3478, // stun or turn
5349, // stuns or turns
0, // Sentinel value: This MUST be zero