From e7daa02bf28453c7b4ad2e4551109dd5f58f133b Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Fri, 9 Feb 2024 13:49:35 -0700 Subject: [PATCH] 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. --- Userland/Libraries/LibWeb/Loader/ResourceLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/Loader/ResourceLoader.cpp b/Userland/Libraries/LibWeb/Loader/ResourceLoader.cpp index 518ab5ffea..4e524175c3 100644 --- a/Userland/Libraries/LibWeb/Loader/ResourceLoader.cpp +++ b/Userland/Libraries/LibWeb/Loader/ResourceLoader.cpp @@ -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;