summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-12-15 09:04:21 +0000
committerMoonchild <moonchild@palemoon.org>2020-12-15 13:39:01 +0000
commit2f60cae35eb50c368f9d7cbb1a19a0952d1f077d (patch)
tree5e30e33cda7f7f0c9b4ca63ef008bb9de2127274
parent65bbd1acb6a80f94a84404303b87c2798330a11c (diff)
downloadUXP-2f60cae35eb50c368f9d7cbb1a19a0952d1f077d.tar
UXP-2f60cae35eb50c368f9d7cbb1a19a0952d1f077d.tar.gz
UXP-2f60cae35eb50c368f9d7cbb1a19a0952d1f077d.tar.lz
UXP-2f60cae35eb50c368f9d7cbb1a19a0952d1f077d.tar.xz
UXP-2f60cae35eb50c368f9d7cbb1a19a0952d1f077d.zip
[network] Update port blacklist.
See BZ bugs 1674735, 1677047, 1677940 and 1676868 for details.
-rw-r--r--netwerk/base/nsIOService.cpp31
1 files changed, 21 insertions, 10 deletions
diff --git a/netwerk/base/nsIOService.cpp b/netwerk/base/nsIOService.cpp
index 314f2aeff..a953dc78c 100644
--- a/netwerk/base/nsIOService.cpp
+++ b/netwerk/base/nsIOService.cpp
@@ -108,6 +108,7 @@ int16_t gBadPortList[] = {
42, // name
43, // nicname
53, // domain
+ 69, // TFTP
77, // priv-rjs
79, // finger
87, // ttylink
@@ -125,8 +126,10 @@ int16_t gBadPortList[] = {
119, // nntp
123, // NTP
135, // loc-srv / epmap
+ 137, // netbios
139, // netbios
143, // imap2
+ 161, // SNMP
179, // BGP
389, // ldap
465, // smtp+ssl
@@ -138,24 +141,32 @@ int16_t gBadPortList[] = {
530, // courier
531, // Chat
532, // netnews
- 540, // uucp
+ 540, // uucp
+ 554, // rtsp
556, // remotefs
563, // nntp+ssl
- 587, //
- 601, //
+ 587, // smtp (outgoing)
+ 601, // syslog-conn
636, // ldap+ssl
993, // imap+ssl
995, // pop3+ssl
+ 1719, // h323 (RAS)
+ 1720, // h323 (hostcall)
+ 1723, // pptp
2049, // nfs
- 3659, // apple-sasl / PasswordServer
+ 3659, // apple-sasl / PasswordServer
4045, // lockd
+ 5060, // sip
+ 5061, // sips
6000, // x11
- 6665, // Alternate IRC [Apple addition]
- 6666, // Alternate IRC [Apple addition]
- 6667, // Standard IRC [Apple addition]
- 6668, // Alternate IRC [Apple addition]
- 6669, // Alternate IRC [Apple addition]
- 0, // This MUST be zero so that we can populating the array
+ 6566, // SANE
+ 6665, // Alternate IRC [Apple addition]
+ 6666, // Alternate IRC [Apple addition]
+ 6667, // Standard IRC [Apple addition]
+ 6668, // Alternate IRC [Apple addition]
+ 6669, // Alternate IRC [Apple addition]
+ 10080,// Amanda
+ 0, // Sentinel value: This MUST be zero
};
static const char kProfileChangeNetTeardownTopic[] = "profile-change-net-teardown";