From 837bafa51973a7807a801049048cbadbe9220b6e Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Sun, 31 Oct 2021 14:23:13 -0700 Subject: [PATCH] Allow HTTP pipelining on new AMT versions. --- amt-0.2.0.js | 5 ++++- index.html | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/amt-0.2.0.js b/amt-0.2.0.js index 9291f63..6b14b46 100644 --- a/amt-0.2.0.js +++ b/amt-0.2.0.js @@ -595,7 +595,10 @@ function AmtStackCreateService(wsmanStack) { if (eventSensorType == 6) return "Authentication failed " + (eventDataField[1] + (eventDataField[2] << 8)) + " times. The system may be under attack."; if (eventSensorType == 30) return "No bootable media"; if (eventSensorType == 32) return "Operating system lockup or power interrupt"; - if (eventSensorType == 35) return "System boot failure"; + if (eventSensorType == 35) { + if (eventDataField[0] == 64) return "BIOS POST (Power On Self-Test) Watchdog Timeout."; // 64,2,252,84,89,0,0,0 + return "System boot failure"; + } if (eventSensorType == 37) return "System firmware started (at least one CPU is properly executing)."; return "Unknown Sensor Type #" + eventSensorType; } diff --git a/index.html b/index.html index 6ceb595..dfbadc5 100644 --- a/index.html +++ b/index.html @@ -4898,6 +4898,9 @@ amtversion = parseInt(v.split('.')[0]); amtversionmin = parseInt(v.split('.')[1]); + // If this is Intel AMT 16 or higher, boost the stack speed by allowing HTTP pipelining. + if (amtversion > 15) { stack.wsman.comm.MaxActiveAjaxCount = 8; } + // ###BEGIN###{Mode-NodeWebkit} // Perform Intel ME authentication if available. if ((amtversion >= 15) && (wsstack.comm.xtlsCertificate != null)) {