Przeglądaj źródła

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.
Andrew Kaster 1 rok temu
rodzic
commit
e7daa02bf2

+ 1 - 1
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,
         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,
         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,
         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)
     for (auto blocked_port : ports)
         if (port == blocked_port)
         if (port == blocked_port)
             return true;
             return true;