add more bad p2p ports

Github-Pull: #32826
Rebased-From: 6967e8e8abbc35ac98e8e3745a8bbed56e77526f
This commit is contained in:
Jameson Lopp 2025-06-29 13:07:06 -04:00 committed by fanquake
parent f85d41c224
commit 58b1a65ab0
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1
3 changed files with 15 additions and 8 deletions

View file

@ -861,10 +861,14 @@ bool IsBadPort(uint16_t port)
case 1720: // h323hostcall
case 1723: // pptp
case 2049: // nfs
case 3306: // MySQL
case 3389: // RDP / Windows Remote Desktop
case 3659: // apple-sasl / PasswordServer
case 4045: // lockd
case 5060: // sip
case 5061: // sips
case 5432: // PostgreSQL
case 5900: // VNC
case 6000: // X11
case 6566: // sane-port
case 6665: // Alternate IRC
@ -874,6 +878,7 @@ bool IsBadPort(uint16_t port)
case 6669: // Alternate IRC
case 6697: // IRC + TLS
case 10080: // Amanda
case 27017: // MongoDB
return true;
}
return false;