From e189101140f1022fbbede1414b4b64f71f5a504a Mon Sep 17 00:00:00 2001 From: Fedor Date: Wed, 23 Dec 2020 03:02:44 +0200 Subject: [PATCH] [network] Update port blacklist. --- netwerk/base/nsIOService.cpp | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/netwerk/base/nsIOService.cpp b/netwerk/base/nsIOService.cpp index aee4dd439..2cd729dc2 100644 --- a/netwerk/base/nsIOService.cpp +++ b/netwerk/base/nsIOService.cpp @@ -105,6 +105,7 @@ int16_t gBadPortList[] = { 42, // name 43, // nicname 53, // domain + 69, // TFTP 77, // priv-rjs 79, // finger 87, // ttylink @@ -122,8 +123,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 @@ -135,24 +138,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";