Bug 1465465 - Block ports 427, 548 and 6697, r=annevk, r=valentin
authorAndrea Marchesini <amarchesini@mozilla.com>
Tue, 05 Jun 2018 07:49:02 +0200
changeset 475493 a358755643e92f8fc55a23e3ab1fbf88695b8bf3
parent 475492 63652c45be83b318d6598b3835b825edc1fc29af
child 475562 752465b44c793318cef36df46ca5ff00c3d8854a
child 475594 f2fa6b2a4eadc37d5c54fd64302bb63e596acee2
push id9374
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:43:20 +0000
treeherdermozilla-beta@160e085dfb0b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersannevk, valentin
bugs1465465
milestone62.0a1
first release with
nightly linux32
a358755643e9 / 62.0a1 / 20180605100102 / files
nightly mac
a358755643e9 / 62.0a1 / 20180605100102 / files
nightly win32
a358755643e9 / 62.0a1 / 20180605100102 / files
nightly win64
a358755643e9 / 62.0a1 / 20180605100102 / files
nightly linux64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
releases
nightly linux32
nightly mac
nightly win32
nightly win64
Bug 1465465 - Block ports 427, 548 and 6697, r=annevk, r=valentin
netwerk/base/nsIOService.cpp
--- a/netwerk/base/nsIOService.cpp
+++ b/netwerk/base/nsIOService.cpp
@@ -128,45 +128,45 @@ int16_t gBadPortList[] = {
   117,  // uucp-path
   119,  // nntp
   123,  // ntp
   135,  // loc-srv / epmap
   139,  // netbios
   143,  // imap2
   179,  // bgp
   389,  // ldap
-  //427,  // afp (alternate)
+  427,  // afp (alternate)
   465,  // smtp (alternate)
   512,  // print / exec
   513,  // login
   514,  // shell
   515,  // printer
   526,  // tempo
   530,  // courier
   531,  // chat
   532,  // netnews
   540,  // uucp
-  //548,  // afp
+  548,  // afp
   556,  // remotefs
   563,  // nntp+ssl
   587,  // smtp (outgoing)
   601,  // syslog-conn
   636,  // ldap+ssl
   993,  // imap+ssl
   995,  // pop3+ssl
   2049, // nfs
   3659, // apple-sasl
   4045, // lockd
   6000, // x11
   6665, // irc (alternate)
   6666, // irc (alternate)
   6667, // irc (default)
   6668, // irc (alternate)
   6669, // irc (alternate)
-  //6697, // irc+tls
+  6697, // irc+tls
   0,    // Sentinel value: This MUST be zero
 };
 
 static const char kProfileChangeNetTeardownTopic[] = "profile-change-net-teardown";
 static const char kProfileChangeNetRestoreTopic[] = "profile-change-net-restore";
 static const char kProfileDoChange[] = "profile-do-change";
 
 // Necko buffer defaults