You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Community ,
Below is the code snippet a switch case from the handleservercommand function in the meshcore.js file for Intel AMT activation. I want to understand the conntype parameter (0 = CIRA, 1 = Relay, 2 = LMS). As per my understanding, if you want to activate Intel AMT feature on a hosted public MeshCentral server (on the internet and running in hybrid mode), then CIRA should be connected/activated for that. Here, by default, connType is set to 2 for LMS. Will it activate AMT on the hosted server with CIRA, or do we need to change conntype?
case 'amtconfig': {
// Perform Intel AMT activation and/or configuration
if ((apftunnel != null) || (amt == null) || (typeof data.user != 'string') || (typeof data.pass != 'string')) break;
amt.getMeiState(15, function (state) {
if ((apftunnel != null) || (amt == null)) return;
if ((state == null) || (state.ProvisioningState == null)) return;
if ((state.UUID == null) || (state.UUID.length != 36)) return; // Bad UUID
getAmtOsDnsSuffix(state, function () {
var apfarg = {
mpsurl: mesh.ServerUrl.replace('/agent.ashx', '/apf.ashx'),
mpsuser: data.user, // Agent user name
mpspass: data.pass, // Encrypted login cookie
mpskeepalive: 60000,
clientname: state.OsHostname,
clientaddress: '127.0.0.1',
clientuuid: state.UUID,
**conntype: 2, // 0 = CIRA, 1 = Relay, 2 = LMS. The correct value is 2 since we are performing an LMS relay, other values for testing.**
meiState: state // MEI state will be passed to MPS server
};
addAmtEvent('LMS tunnel start.');
apftunnel = require('amt-apfclient')({ debug: false }, apfarg);
apftunnel.onJsonControl = handleApfJsonControl;
apftunnel.onChannelClosed = function () {
addAmtEvent('LMS tunnel closed.'); apftunnel = null; }
try {
apftunnel.connect(); } catch (ex) {
}
});
});
break;
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi Community ,
Below is the code snippet a switch case from the handleservercommand function in the meshcore.js file for Intel AMT activation. I want to understand the conntype parameter (0 = CIRA, 1 = Relay, 2 = LMS). As per my understanding, if you want to activate Intel AMT feature on a hosted public MeshCentral server (on the internet and running in hybrid mode), then CIRA should be connected/activated for that. Here, by default, connType is set to 2 for LMS. Will it activate AMT on the hosted server with CIRA, or do we need to change conntype?
case 'amtconfig': {
// Perform Intel AMT activation and/or configuration
if ((apftunnel != null) || (amt == null) || (typeof data.user != 'string') || (typeof data.pass != 'string')) break;
}
Beta Was this translation helpful? Give feedback.
All reactions