[network] Update port blacklist.

See BZ bugs 1674735, 1677047, 1677940 and 1676868 for details.
This commit is contained in:
Moonchild 2020-12-15 09:04:21 +00:00 committed by roytam1
commit f1eb2c5cfb

View file

@ -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";