From 37090fe09f7effbf65af371e71d3f4df0393514f Mon Sep 17 00:00:00 2001 From: orignal Date: Mon, 19 Oct 2026 07:51:09 -0400 Subject: [PATCH] added Inetl AMT to reserved ports list --- libi2pd/util.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/libi2pd/util.cpp b/libi2pd/util.cpp index 112faff6..4c5c0ccf 100644 --- a/libi2pd/util.cpp +++ b/libi2pd/util.cpp @@ -685,18 +685,19 @@ namespace net bool IsPortInReservedRange (const uint16_t port) noexcept { - // https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers (Feb. 3, 2023) + Tor browser (9150) + // https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers (Feb. 3, 2023) + Tor browser (9150) + Intel AMT(16992-16995) static const std::unordered_set reservedPorts{ 9119,9150,9306,9312,9389,9418,9535,9536,9695, 9800,9899,10000,10050,10051,10110,10212, 10933,11001,11112,11235,11371,12222,12223, 13075,13400,13720,13721,13724,13782,13783, - 13785,13786,15345,17224,17225,17500,18104, - 19788,19812,19813,19814,19999,20000,24465, - 24554,26000,27000,27001,27002,27003,27004, - 27005,27006,27007,27008,27009,28000}; + 13785,13786,15345,16992,16993,16994,16995, + 17224,17225,17500,18104,19788,19812,19813, + 19814,19999,20000,24465,24554,26000,27000, + 27001,27002,27003,27004,27005,27006,27007, + 27008,27009,28000}; - return (reservedPorts.find(port) != reservedPorts.end()); + return reservedPorts.contains (port); } template