LibWeb: Unblock port 9000

This was blocked because it can be used for cross-protocol attacks on
some network printers. However, it's also used by the web platform
tests. One can argue that getting WPT working is more important than
theoretical attacks on poorly configured printers.
This commit is contained in:
Andrew Kaster 2024-02-09 13:49:35 -07:00 committed by Andrew Kaster
parent deb11a669a
commit e7daa02bf2
Notes: sideshowbarker 2024-07-17 04:09:56 +09:00

View File

@ -449,7 +449,7 @@ bool ResourceLoader::is_port_blocked(int port)
43, 53, 77, 79, 87, 95, 101, 102, 103, 104, 109, 110, 111, 113,
115, 117, 119, 123, 135, 139, 143, 179, 389, 465, 512, 513, 514,
515, 526, 530, 531, 532, 540, 556, 563, 587, 601, 636, 993, 995,
2049, 3659, 4045, 6000, 6379, 6665, 6666, 6667, 6668, 6669, 9000 };
2049, 3659, 4045, 6000, 6379, 6665, 6666, 6667, 6668, 6669 };
for (auto blocked_port : ports)
if (port == blocked_port)
return true;