From 2f60cae35eb50c368f9d7cbb1a19a0952d1f077d Mon Sep 17 00:00:00 2001 From: Moonchild Date: Tue, 15 Dec 2020 09:04:21 +0000 Subject: [network] Update port blacklist. See BZ bugs 1674735, 1677047, 1677940 and 1676868 for details. --- netwerk/base/nsIOService.cpp | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) (limited to 'netwerk/base/nsIOService.cpp') 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"; -- cgit v1.2.3